What did I miss?

From: Robert L. Harris (Robert.L.Harris@rdlg.net)
Date: Mon Jun 30 2003 - 11:11:12 EST


2.4.21-ac3 kernel. Compiling it without module support and alot of
devices. I'm getting this:

gcc -D__KERNEL__
-I/exp/src1/kernels/2.4.21/Server/General/linux-2.4.21-ac3-general-SMP/include
-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
-fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2
-march=i586 -nostdinc -iwithprefix include -DKBUILD_BASENAME=socket
-c -o socket.o socket.c
gcc -D__KERNEL__
-I/exp/src1/kernels/2.4.21/Server/General/linux-2.4.21-ac3-general-SMP/include
-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
-fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2
-march=i586 -nostdinc -iwithprefix include
-DKBUILD_BASENAME=sysctl_net -c -o sysctl_net.o sysctl_net.c
rm -f network.o
ld -m elf_i386 -r -o network.o socket.o core/core.o ethernet/ethernet.o
802/802.o sched/sched.o netlink/netlink.o ipv4/ipv4.o
ipv4/netfilter/netfilter.o unix/unix.o packet/packet.o bridge/bridge.o
sunrpc/sunrpc.o 8021q/8021q.o sysctl_net.o
make[2]: Leaving directory
`/exp/src1/kernels/2.4.21/Server/General/linux-2.4.21-ac3-general-SMP/net'
make[1]: Leaving directory
`/exp/src1/kernels/2.4.21/Server/General/linux-2.4.21-ac3-general-SMP/net'
ld -m elf_i386 -T
/exp/src1/kernels/2.4.21/Server/General/linux-2.4.21-ac3-general-SMP/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/parport/driver.o drivers/char/char.o
drivers/block/block.o drivers/misc/misc.o drivers/net/net.o
drivers/ide/idedriver.o drivers/scsi/scsidrv.o drivers/cdrom/driver.o
drivers/pci/driver.o drivers/pnp/pnp.o drivers/video/video.o
drivers/usb/usbdrv.o drivers/media/media.o drivers/input/inputdrv.o
drivers/message/i2o/i2o.o drivers/md/mddev.o \
        net/network.o \
        /exp/src1/kernels/2.4.21/Server/General/linux-2.4.21-ac3-general-SMP/arch/i386/lib/lib.a
/exp/src1/kernels/2.4.21/Server/General/linux-2.4.21-ac3-general-SMP/lib/lib.a
/exp/src1/kernels/2.4.21/Server/General/linux-2.4.21-ac3-general-SMP/arch/i386/lib/lib.a
\
        --end-group \
        -o vmlinux
drivers/net/net.o(.data+0x854): undefined reference to `local symbols in
discarded section .text.exit'
make: *** [vmlinux] Error 1

(Please ignore CR wrapping by VI).

WTF is broken? No obvious error messages outside a reference to net.o.
I've tried enabling and removing different options but this doesn't seem
to go away. Any idea what option/driver is horked up?

Robert

:wq!
---------------------------------------------------------------------------
Robert L. Harris | GPG Key ID: E344DA3B
                                         @ x-hkp://pgp.mit.edu
DISCLAIMER:
      These are MY OPINIONS ALONE. I speak for no-one else.

Diagnosis: witzelsucht

IPv6 = robert@ipv6.rdlg.net http://ipv6.rdlg.net
IPv4 = robert@mail.rdlg.net http://www.rdlg.net



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



This archive was generated by hypermail 2b29 : Mon Jun 30 2003 - 22:00:34 EST