[ltp] make bzImage error

Tino Keitel linux-thinkpad@www.bm-soft.com
Mon, 29 Apr 2002 09:01:14 +0200


On Fri, Apr 26, 2002 at 07:50:15 -0400, Phil R Lawrence wrote:
> I reconfigured my kernel config to lose the error msg I had been getting
> on startup...  Also removed a lot of dead weight.
> 
> Now I'm getting "Multiple definition of `[subroutine]'" errors when I
> make bzImage.  The tail of the output follows...  any ideas?
> 
> make[1]: Entering directory `/usr/src/linux-2.4.18-6mdk'
> ld -m elf_i386 -T /usr/src/linux-2.4.18-6mdk/arch/i386/vmlinux.lds -e
> stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o
> init/version.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/agp/agp.o drivers/char/drm/drm.o
> drivers/net/tokenring/tr.o drivers/atm/atm.o drivers/ide/idedriver.o
> drivers/scsi/scsidrv.o drivers/cdrom/driver.o
> drivers/sound/sounddrivers.o drivers/pci/driver.o
> drivers/pcmcia/pcmcia.o drivers/net/wireless/wireless_net.o
> drivers/video/video.o drivers/usb/usbdrv.o drivers/input/inputdrv.o
> 3rdparty/3rdparty.o  net/network.o
> /usr/src/linux-2.4.18-6mdk/arch/i386/lib/lib.a
> /usr/src/linux-2.4.18-6mdk/lib/lib.a
> /usr/src/linux-2.4.18-6mdk/arch/i386/lib/lib.a --end-group  -o vmlinux
> net/network.o: In function `SHA1Update':
> net/network.o(.text+0x6f1a0): multiple definition of `SHA1Update'
> kernel/kernel.o(.text+0x14fd0): first defined here
> ld: Warning: size of symbol `SHA1Update' changed from 202 to 218 in
> net/network.o
> net/network.o: In function `SHA1Init':
> net/network.o(.text+0x6f160): multiple definition of `SHA1Init'
> kernel/kernel.o(.text+0x14f90): first defined here
> net/network.o: In function `SHA1Final':
> net/network.o(.text+0x6f280): multiple definition of `SHA1Final'
> kernel/kernel.o(.text+0x150a0): first defined here
> net/network.o: In function `SHA1Transform':
> net/network.o(.text+0x6d400): multiple definition of `SHA1Transform'
> kernel/kernel.o(.text+0x13230): first defined here
> make[1]: *** [kallsyms] Error 1
> make[1]: Leaving directory `/usr/src/linux-2.4.18-6mdk'
> make: *** [vmlinux] Error 2

As far as I can see, this are symbols that belong to the IPsec section of the
kernel. This is not a part of the standard kernel and is not really needed if
you don't use a VPN based on IPsec. If IPsec is a part of every mandrake
kernel, try to disable it in your kernel config (network options), or look for
a kernel that doesn't support IPsec at all.

Regards,
Tino

-- 
tino.keitel@innominate.com
dipl.-inf.                        Innominate Security Technologies AG
software engineer                                   networking people
tel: +49.30.6392-3308                      http://www.innominate.com/

----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html