Link time problem, 2.0.35, 2.0.38

Kai Henningsen (kai@cats.ms)
Fri, 3 Sep 1999 11:09:45 +0200


--Message-Boundary-31455
Content-type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: Quoted-printable
Content-description: Mail message body

In compiling an "etherprobe" kernel (all ethernet cards, minimal
other stuff), I came about this bug:

gcc -D__KERNEL__ -I/mnt/hdb2/local/src/linux-2_0_38/include -D__ASSEMBLY__=
-DPARANOID -c mul_Xsig.S
gcc -D__KERNEL__ -I/mnt/hdb2/local/src/linux-2_0_38/include -Wall -Wstrict=
-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m
386 -DCPU=3D386 -DPARANOID -fno-builtin -DPARANOID -fno-builtin -c -o=
fpu_debug.o fpu_debug.c
rm -f math.a
ar rcs math.a fpu_entry.o div_small.o errors.o fpu_arith.o fpu_aux.o fpu=
_etc.o fpu_trig.o load_store.o get_address.o poly_atan.o poly_l2.o
poly_2xm1.o poly_sin.o poly_tan.o reg_add_sub.o reg_compare.o reg_constan=
t.o reg_ld_str.o reg_div.o reg_mul.o reg_norm.o reg_u_add.o reg_u_
div.o reg_u_mul.o reg_u_sub.o reg_round.o wm_shrx.o wm_sqrt.o div_Xsig.o p=
olynom_Xsig.o round_Xsig.o shr_Xsig.o mul_Xsig.o fpu_debug.o
make[3]: Leaving directory `/mnt/hdb2/local/src/linux-2_0_38/arch/i386/mat=
h-emu'
make[2]: Leaving directory `/mnt/hdb2/local/src/linux-2_0_38/arch/i386/mat=
h-emu'
ld -m elf_i386 -Ttext 0x100000 -e stext arch/i386/kernel/head.o init/main.=
o init/version.o \
arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.=
o fs/fs.o ipc/ipc.o net/network.a \
fs/filesystems.a \
drivers/block/block.a drivers/char/char.a drivers/net/net.a driver=
s/pci/pci.a arch/i386/math-emu/math.a \
/mnt/hdb2/local/src/linux-2_0_38/arch/i386/lib/lib.a /mnt/hdb2/loc=
al/src/linux-2_0_38/lib/lib.a /mnt/hdb2/local/src/linux-2_0_38/arc
h/i386/lib/lib.a -o vmlinux
net/network.a(802.o): In function `tr_rebuild_header':
802.o(.text+0x1e9): undefined reference to `arp_find'
net/network.a(802.o): In function `fddi_rebuild_header':
802.o(.text+0x7f3): undefined reference to `arp_find'
drivers/net/net.a(net_init.o): In function `ether_setup':
net_init.o(.text+0x38c): undefined reference to `eth_header_cache_bind'
net_init.o(.text+0x396): undefined reference to `eth_header_cache_update'
make[1]: *** [vmlinux] Error 1
make[1]: Leaving directory `/mnt/hdb2/local/src/linux-2_0_38'
make: *** [build] Error 2
root@charlotte ttyp4 /usr/local/src/linux-2_0_38 #

Regards - Kai Henningsen

-- 
http://www.cats.ms
Spuentrup CTI       Fon: +49 251 322311 0  
Windbreede 12       Fax: +49 251 322311 99
D-48157 M=FCnster     Mob: +49 161 3223111
Germany             GSM: +49 171 7755060

--Message-Boundary-31455 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Text from file '.config'

# # Automatically generated make config: don't edit #

# # Code maturity level options # CONFIG_EXPERIMENTAL=y

# # Loadable module support # # CONFIG_MODULES is not set

# # General setup # CONFIG_MATH_EMULATION=y CONFIG_MEM_STD=y # CONFIG_MEM_ENT is not set # CONFIG_MEM_SPECIAL is not set CONFIG_MAX_MEMSIZE=1024 CONFIG_NET=y # CONFIG_MAX_16M is not set CONFIG_PCI=y # CONFIG_PCI_OPTIMIZE is not set # CONFIG_SYSVIPC is not set # CONFIG_BINFMT_AOUT is not set CONFIG_BINFMT_ELF=y # CONFIG_BINFMT_JAVA is not set CONFIG_KERNEL_ELF=y CONFIG_M386=y # CONFIG_M486 is not set # CONFIG_M586 is not set # CONFIG_M686 is not set # CONFIG_APM is not set

# # Floppy, IDE, and other block devices # # CONFIG_BLK_DEV_FD is not set # CONFIG_BLK_DEV_IDE is not set

# # Please see Documentation/ide.txt for help/info on IDE drives # # CONFIG_BLK_DEV_HD_ONLY is not set

# # Additional Block Devices # # CONFIG_BLK_DEV_LOOP is not set # CONFIG_BLK_DEV_MD is not set CONFIG_BLK_DEV_RAM=y CONFIG_BLK_DEV_INITRD=y # CONFIG_BLK_DEV_XD is not set # CONFIG_BLK_DEV_DAC960 is not set # CONFIG_BLK_CPQ_DA is not set # CONFIG_PARIDE is not set # CONFIG_BLK_DEV_HD is not set

# # Networking options # # CONFIG_FIREWALL is not set # CONFIG_NET_ALIAS is not set # CONFIG_INET is not set

# # # # CONFIG_IPX is not set # CONFIG_ATALK is not set # CONFIG_AX25 is not set # CONFIG_BRIDGE is not set # CONFIG_NETLINK is not set

# # SCSI support # # CONFIG_SCSI is not set

# # Network device support # CONFIG_NETDEVICES=y # CONFIG_DUMMY is not set # CONFIG_EQUALIZER is not set # CONFIG_DLCI is not set # CONFIG_PLIP is not set # CONFIG_PPP is not set # CONFIG_SLIP is not set # CONFIG_NET_RADIO is not set CONFIG_NET_ETHERNET=y CONFIG_NET_VENDOR_3COM=y CONFIG_EL1=y CONFIG_EL2=y CONFIG_ELPLUS=y CONFIG_EL16=y CONFIG_EL3=y CONFIG_3C515=y CONFIG_VORTEX=y CONFIG_NET_VENDOR_SMC=y CONFIG_WD80x3=y CONFIG_ULTRA=y CONFIG_ULTRA32=y CONFIG_SMC9194=y CONFIG_NET_PCI=y CONFIG_PCNET32=y CONFIG_EEXPRESS_PRO100B=y CONFIG_DE4X5=y CONFIG_DEC_ELCP=y CONFIG_DGRS=y CONFIG_NE2K_PCI=y CONFIG_YELLOWFIN=y CONFIG_RTL8139=y CONFIG_EPIC=y CONFIG_TLAN=y CONFIG_VIA_RHINE=y CONFIG_NET_ISA=y CONFIG_LANCE=y CONFIG_AT1700=y CONFIG_E2100=y CONFIG_DEPCA=y CONFIG_EWRK3=y CONFIG_EEXPRESS=y CONFIG_EEXPRESS_PRO=y CONFIG_FMV18X=y CONFIG_HPLAN_PLUS=y CONFIG_HPLAN=y CONFIG_HP100=y CONFIG_ETH16I=y CONFIG_NE2000=y CONFIG_NI52=y CONFIG_NI65=y CONFIG_SEEQ8005=y CONFIG_SK_G16=y CONFIG_NET_EISA=y CONFIG_AC3200=y CONFIG_APRICOT=y CONFIG_ZNET=y CONFIG_NET_POCKET=y CONFIG_ATP=y CONFIG_DE600=y CONFIG_DE620=y CONFIG_TR=y CONFIG_IBMTR=y CONFIG_OLTR=y CONFIG_FDDI=y CONFIG_DEFXX=y CONFIG_ARCNET=y CONFIG_ARCNET_ETH=y CONFIG_ARCNET_1051=y # CONFIG_SHAPER is not set # CONFIG_RCPCI is not set

# # ISDN subsystem # # CONFIG_ISDN is not set

# # CD-ROM drivers (not for SCSI or IDE/ATAPI drives) # # CONFIG_CD_NO_IDESCSI is not set

# # Filesystems # # CONFIG_QUOTA is not set CONFIG_MINIX_FS=y # CONFIG_EXT_FS is not set CONFIG_EXT2_FS=y # CONFIG_XIA_FS is not set # CONFIG_NLS is not set CONFIG_PROC_FS=y # CONFIG_HPFS_FS is not set # CONFIG_SYSV_FS is not set # CONFIG_AUTOFS_FS is not set # CONFIG_AFFS_FS is not set # CONFIG_UFS_FS is not set

# # Character devices # # CONFIG_SERIAL is not set # CONFIG_DIGI is not set # CONFIG_CYCLADES is not set # CONFIG_STALDRV is not set # CONFIG_RISCOM8 is not set # CONFIG_PRINTER is not set # CONFIG_SPECIALIX is not set # CONFIG_MOUSE is not set # CONFIG_UMISC is not set # CONFIG_QIC02_TAPE is not set # CONFIG_FTAPE is not set # CONFIG_WATCHDOG is not set # CONFIG_RTC is not set

# # Sound # # CONFIG_SOUND is not set

# # Kernel hacking # # CONFIG_PROFILE is not set

--Message-Boundary-31455--

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/