I'm thinking one of two things. Either you have the wrong version of the
kernel headers installed, or you need to make clean and make dep again. I
like to make /usr/include/linux a symlink to /usr/src/linux/include/linux,
then make /usr/src/linux a symlink to whichever directory the kernel I'm
trying to compile is in.
Kevin
-----Original Message-----
From: Tommy [mailto:tommyr@agora.rdrop.com]
Sent: Thursday, May 29, 2003 7:01 PM
To: debian-user
Subject: KernelCompileFailure
I have unstable on a laptop and desktop. Laptop unstable compiles the
kernel without a problem
On the desktop
make-kpkg --initrd kernel_image
fails with the following
make[3]: Leaving directory `/usr/src/kernel-source-2.4.20/arch/i386/lib'
make[2]: Leaving directory `/usr/src/kernel-source-2.4.20/arch/i386/lib'
ld -m elf_i386 -T /usr/src/kernel-source-2.4.20/arch/i386/vmlinux.lds -e
stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o
init/version.o init/do_mounts.o \
--start-group \
arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o
mm/mm.o fs/fs.o ipc/ipc.o \
drivers/char/char.o drivers/block/block.o drivers/misc/misc.o
drivers/net/net.o drivers/media/media.o drivers/char/drm/drm.o
drivers/net/fc/fc.o drivers/net/tokenring/tr.o drivers/net/wan/wan.o
drivers/atm/atm.o drivers/ide/idedriver.o drivers/cdrom/driver.o
drivers/pci/driver.o drivers/net/pcmcia/pcmcia_net.o
drivers/net/wireless/wireless_net.o drivers/video/video.o
drivers/net/hamradio/hamradio.o drivers/md/mddev.o
drivers/isdn/vmlinux-obj.o \
net/network.o \
/usr/src/kernel-source-2.4.20/arch/i386/lib/lib.a
/usr/src/kernel-source-2.4.20/lib/lib.a
/usr/src/kernel-source-2.4.20/arch/i386/lib/lib.a \
--end-group \
-o vmlinux
net/network.o(.text+0xcac0): In function `rtnetlink_rcv':
: undefined reference to `rtnetlink_rcv_skb'
make[1]: *** [vmlinux] Error 1
make[1]: Leaving directory `/usr/src/kernel-source-2.4.20'
make: *** [stamp-build] Error 2
I can compile a kernel on the laptop. Both are synced about the same
time. I'm thinking I'm missing some package on the desktop.
Any thoughts?
thanks
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
<<attachment: winmail.dat>>