PDA

View Full Version : HELP compiling kernel 2.6.15


elapointe
February 21st, 2006, 05:40 PM
Get this error when compiling kernel 2.6.15

[...]
/usr/bin/make EXTRAVERSION=.1-ubuntu1-picollus ARCH=i386 \
bzImage
make[1]: Entering directory `/usr/src/linux-headers-2.6.15-15'
CHK include/linux/version.h
make[2]: *** No rule to make target `init/main.o', needed by `init/built-in.o'. Stop.
make[1]: *** [init] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.15-15'
make: *** [stamp-build] Error 2


I have the same error by doing "sudo make"

uopjohnson
February 21st, 2006, 06:40 PM
are you configuring the kernel first?
where did you get your kernel source from?

elapointe
February 21st, 2006, 07:14 PM
Source :

apt-get install linux-sources-2.6.15
apt-get install linux-headers-2.6.1515-k7

i did

sudo make xconfig
sudo make clean
"sudo make-kpdp.." OR :sudo make" == this error

ispmarin
March 22nd, 2006, 10:30 PM
Same problem here... any light?