[ltp] make bzImage error
Tod Harter
linux-thinkpad@www.bm-soft.com
Mon, 29 Apr 2002 10:10:25 -0400
I didn't see the original post of this for some reason, but my first question
is "where did you get this kernel, and what patches are applied"? Its a MDK
kernel, which probably means its fairly heavily patched already. I haven't
worked with this one yet, but usually the reason for problems like this is
something like you have the wrong kernel headers or something interesting
like that. Make sure you have all the proper SRPMS installed, that would be
the kernel, kernel-source, and kernel-headers rpms should all be the same
versions (but with MDK the patch levels will vary, for instance 8.2 shipped
with kernel-2.4.18.6mdk-1-1mdk.i586.rpm and the curresponing headers file was
kernel-headers-2.4.18-25mdk.i586.rpm).
And as Tino says, maybe just loosing IPSec will do it, you probably don't
need that anyway, not unless you plan on building some VPNs...
On Monday 29 April 2002 03:01, you wrote:
> 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
----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html