Skip to contentSkip to conversation

undefined reference to `local symbols in discarded section .text.exit

DISCUSSION CaT 3 participants 3 messages Jan 9, 2002

lore
Share & tools
lore

CaT

author
#0 lore raw

I have modules and hotplug turned on (but nothing turned on in the hotplug suboptions) but I get this error anyway:

        /usr/src/linux/arch/i386/lib/lib.a /usr/src/linux/lib/lib.a
/usr/src/linux/arch/i386/lib/lib.a \
        --end-group \
        -o vmlinux

net/network.o(.text.lock+0x1730): undefined reference to `local symbols in discarded section .text.exit'
make: *** [vmlinux] Error 1

I've tried to track it down but I can't find what is triggering it. This is with 2.4.18-pre2 with the following net related config options in:

CONFIG_NETDEVICES=y
CONFIG_DUMMY=y
CONFIG_NET_ETHERNET=y
CONFIG_NET_PCI=y
CONFIG_TULIP=y
CONFIG_TULIP_MWI=y
CONFIG_PPP=y
CONFIG_PPP_ASYNC=y
CONFIG_PPP_DEFLATE=y
CONFIG_PPP_BSDCOMP=y
CONFIG_PPPOE=y
CONFIG_PACKET=y
CONFIG_PACKET_MMAP=y
CONFIG_NETLINK_DEV=y
CONFIG_NETFILTER=y
CONFIG_NETFILTER_DEBUG=y
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
CONFIG_SYN_COOKIES=y

Help? I can't compile 2 kernels cos of this now and I need to with one of them to try and track down a netfilter bug (this isn't the config section for that kernel though).

Signature · 5 lines
SOCCER PLAYER IN GENITAL-BITING SCANDAL  ---  "It was something between
friends that I thought would have no importance until this morning when
I got up and saw all  the commotion in the news,"  Gallardo told a news
conference. "It stunned me."
Reyes told Marca that he had "felt a slight pinch."
#1 lore raw
Quoted 11 lines · CaT

I have modules and hotplug turned on (but nothing turned on in the hotplug suboptions) but I get this error anyway:

        /usr/src/linux/arch/i386/lib/lib.a /usr/src/linux/lib/lib.a
/usr/src/linux/arch/i386/lib/lib.a \
        --end-group \
        -o vmlinux

net/network.o(.text.lock+0x1730): undefined reference to `local symbols in discarded section .text.exit'
make: *** [vmlinux] Error 1

If you have CONFIG_IP_NF_NAT_SNMP_BASIC=y, see:

http://groups.google.com/groups?selm=18061.1009501031%40ocs3.intra.ocs.com.au

- James

Signature · 2 lines
James Morris
<[email protected]>
#2 lore raw
In reply to CaT

--- CaT <[email protected]> a écrit : > I have modules
and hotplug turned on (but nothing

Quoted 8 lines

turned on in the
hotplug suboptions) but I get this error anyway:

        /usr/src/linux/arch/i386/lib/lib.a
/usr/src/linux/lib/lib.a
/usr/src/linux/arch/i386/lib/lib.a \
        --end-group \
        -o vmlinux
Quoted 4 lines

net/network.o(.text.lock+0x1730): undefined
reference to `local symbols
in discarded section .text.exit'
make: *** [vmlinux] Error 1

your binutils needs an upgrade
had the same problem and now i'm using binutils 2.11.2 without problems

hope it helps

=====
--------------------------------------------

                         ,-----.
                       ," ^   ^ ",
                       |  @   @  |
             ----OOOO---------------OOOO----

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Courrier : http://courrier.yahoo.fr