2002-01-01 09:17:59

by Tim Keating

[permalink] [raw]
Subject: Another .text.exit error. 2.4.18pre1


ld -m elf_i386 -T /usr/src/linux-pre/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/ide/idedriver.o drivers/cdrom/driver.o
drivers/pci/driver.o drivers/video/video.o drivers/input/inputdrv.o \
net/network.o \
/usr/src/linux-pre/arch/i386/lib/lib.a
/usr/src/linux-pre/lib/lib.a /usr/src/linux-pre/arch/i386/lib/lib.a \
--end-group \
-o vmlinux
net/network.o(.text.lock+0x16f0): undefined reference to `local symbols in
discarded section .text.exit'
make: *** [vmlinux] Error 1


Using Keith Owens perl script I found in message;

http://www.uwsg.indiana.edu/hypermail/linux/kernel/0112.3/0700.html

I get ...


Finding objects, 438 objects, ignoring 0 module(s)
Finding conglomerates, ignoring 35 conglomerate(s)
Scanning objects
Error: ./net/ipv4/netfilter/ip_nat_snmp_basic.o .text.lock refers to
0000003c R_386_PC32 .text.exit
Done

I'm sorry .. not on the list. Please cc me if you require more info.

Tim

--
If you want to speak to someone knowledgeable about computers and who
knows what's going on in "the local computer store", then you are forced
to talk to yourself... (;-))


2002-01-01 10:32:28

by Keith Owens

[permalink] [raw]
Subject: Re: Another .text.exit error. 2.4.18pre1

On Tue, 01 Jan 2002 02:17:32 -0700 (MST),
Tim Keating <[email protected]> wrote:
>Using Keith Owens perl script I found in message;
>http://www.uwsg.indiana.edu/hypermail/linux/kernel/0112.3/0700.html
>Error: ./net/ipv4/netfilter/ip_nat_snmp_basic.o .text.lock refers to
>0000003c R_386_PC32 .text.exit

If you can do without nat for snmp then CONFIG_IP_NF_NAT_SNMP_BASIC=n.
Otherwise look for a patch with subject
[patch] 2.4.18-pre1 replace .text.lock with .subsection
With any luck that patch will be in 2.4.18-pre2.

2002-01-01 17:16:50

by Tim Keating

[permalink] [raw]
Subject: Re: Another .text.exit error. 2.4.18pre1

On Tue, 1 Jan 2002, Keith Owens wrote:

>
> If you can do without nat for snmp then CONFIG_IP_NF_NAT_SNMP_BASIC=n.
> Otherwise look for a patch with subject
> [patch] 2.4.18-pre1 replace .text.lock with .subsection
> With any luck that patch will be in 2.4.18-pre2.
>

Sure. Just doing some testing here, so I can live without it.

Thanks for taking a few moments to reply to my report.

Tim

--
If you want to speak to someone knowledgeable about computers and who
knows what's going on in "the local computer store", then you are forced
to talk to yourself... (;-))