[Techtalk] Trouble with Custom Kernel

Zohar, Itai Itai.Zohar at comverse.com
Tue Apr 23 09:31:01 EST 2002


Hi.

As you probably know, the make sequence is:
make config; make dep; make clean; make bzImage
Make sure you indeed ran the make clean before make bzImage, and go into the
/usr/src/linux-2.4.9-31/drivers/net/tulip directory to make sure the are no
*.o files left. The errors suggest incompatibility between the partially
compiled tulip file and other object files.

If the compilation still gives you the same problems, you can try removing
support for tulip & tulip_old from the kernel during the make config (I use
make xconfig and reconfigure takes a couple of clicks) process. This will
tell us if there is something specifically wrong in the tulip code or
perhaps something more general in network support.

I hope this helps,

Itai.

-----Original Message-----
From: Beth Johnson [mailto:linux.chick at verizon.net]
Sent: Monday, April 22, 2002 4:23 PM
To: TechTalk List
Subject: [Techtalk] Trouble with Custom Kernel


I'm trying to install a custom kernel and am running into a problem with
the install.  When I get to the make bzImage or bzlilo step I'm getting
errors referencing my ethernet card.  The tail end of the messages with
the errors is here:

make[3]: Entering directory `/usr/src/linux-2.4.9-31/drivers/net'
rm -f net.o
ld -m elf_i386  -r -o net.o tulip/tulip.o tulip_old/tulip_old.o Space.o
setup.o net_init.o loopback.o auto_irq.o
tulip_old/tulip_old.o: In function `tulip_refill_rx':
tulip_old/tulip_old.o(.text+0x630): multiple definition of
`tulip_refill_rx'
tulip/tulip.o(.text+0x640): first defined here
# (22 more message groups like this)
tulip_old/tulip_old.o: In function `tulip_select_media':
tulip_old/tulip_old.o(.text+0x1480): multiple definition of
`tulip_select_media'
tulip/tulip.o(.text+0x14f0): first defined here
ld: Warning: size of symbol `tulip_select_media' changed from 2411 to
2363 in tulip_old/tulip_old.o
tulip_old/tulip_old.o:(.data+0x268): multiple definition of `tulip_tbl'
tulip/tulip.o(.data+0x268): first defined here
tulip_old/tulip_old.o: In function `mxic_timer':
tulip_old/tulip_old.o(.text+0x2460):multiple definition of `mxic_timer'
tulip/tulip.o(.text+0x27a0): first defined here
make[3]: *** [net.o] Error 1
make[3]: Leaving directory`/usr/src/linux-2.4.9-31/drivers/net'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory`/usr/src/linux-2.4.9-31/drivers/net'
make[1]: *** [_subdir_net] Error 2
make[1]: Leaving directory`/usr/src/linux-2.4.9-31/drivers'
make: *** [_dir_drivers] Error 2

This is a newly-installed kernel source so it's not like I've been
mucking around in these directories before the first try at make.

Any pointers would be appreciated, & let me know if I need to send more
of the output.

TIA,
Beth
-- 
  /\/\    Beth Johnson
 / o o\   Cosmic Wonderer
( / ^^\)  Springfield, MA USA
 \ M_M/   "Ruling a country is like cooking a small fish--
           you have to handle it with care."--Lao Tzu
	

_______________________________________________
Techtalk mailing list
Techtalk at linuxchix.org
http://mailman.linuxchix.org/mailman/listinfo/techtalk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://linuxchix.org/pipermail/techtalk/attachments/20020423/71f821e3/attachment.xhtml


More information about the Techtalk mailing list