LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Fedora2 kernel 2.6 compile. cant even make config (fixdep.c full of errors) (https://www.linuxquestions.org/questions/linux-software-2/fedora2-kernel-2-6-compile-cant-even-make-config-fixdep-c-full-of-errors-183307/)

qwijibow 05-19-2004 10:46 AM

Fedora2 kernel 2.6 compile. cant even make config (fixdep.c full of errors)
 
Hey.

im not new to compiling kernels.
ive compiled loads of 2.4 and 2.6 kernels under redhat9 and fedora core 1.
(infact i was running a 2.6.6 under fedora core 1)

fedora core 2 comes with a stange kernel that makes nvidia graphics card driver un-happy.
so, i did the obviouse...

install kernel compile utilities, and development tools using the Add / Remove applications.

decompress the source.
cd into it.

make mrproper (not usually needed, but the read-me's say do it anyway)

then make config
make menuconfig
make xconfig
make gconfig.

NONE of them worked.
seems the scripts/basic/fixdep.c is full of compile errors.

whats going on !!!!!!!

am i missing xome dependency's ???

this is very strange !

qwijibow 05-19-2004 02:18 PM

seems my kernel tree is incomplete ???

the first few errors are about missing includes. like sys/types.h

what am i doing wrong ?

FreakboY 06-19-2004 09:09 PM

i have the same problem... did you get it to work!??


make menuconfig
make[1]: scripts/Makefile.build: No such file or directory
make[1]: *** No rule to make target `scripts/Makefile.build'. Stop.
make: *** [scripts_basic] Error 2

make gconfig
make[1]: scripts/Makefile.build: No such file or directory
make[1]: *** No rule to make target `scripts/Makefile.build'. Stop.
make: *** [scripts_basic] Error 2

qwijibow 06-20-2004 07:34 AM

no rule to make target...
thats a different error to what i got.

what did you do to get the ekrnel source ?
Code:

tar -xjf kernel-source
cd kernel-source
make mrproper

i fixed my rpoblem, it seemed i had missed a vital dependency from the install... glibc-devel i think.

un-install all your developemnt and kernel development programs, and re-install them,
this fixed it for me.

FreakboY 06-20-2004 01:20 PM

my problem got fixed... I used a cd instead of a DVD the download I had
was corrupted.... i got the new kernel installed... with no problems...

thanks!


All times are GMT -5. The time now is 02:49 PM.