2002-07-25 03:31:06

by jeff millar

[permalink] [raw]
Subject: Linux-2.5.28 link problem

...need help getting a compile to complete. This problem exists with
2.5.27-28.
Here's the last lines from make...

ld -m elf_i386 -T arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o
arch/i386/kernel/init
_task.o init/init.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 security/built-in.o
/usr/src/v2.5.28/arch/i386/lib/lib.a lib/lib.a /usr/
src/v2.5.28/arch/i386/lib/lib.a drivers/built-in.o sound/sound.o
arch/i386/pci/pci.o net/network
.o --end-group -o vmlinux
drivers/built-in.o: In function `md_run_setup':
/usr/src/v2.5.28/drivers/md/md.c(.data+0xee34): undefined reference to
`local symbols in discard
ed section .text.exit'
make: *** [vmlinux] Error 1

All the programs are better than specified in "Changes"...
Gcc = 2.96-110 (RH7.3)
binutils: ld = 2.11

thanks in advance, jeff


2002-07-26 05:20:48

by Adrian Bunk

[permalink] [raw]
Subject: Re: Linux-2.5.28 link problem

On Wed, 24 Jul 2002, jeff millar wrote:

> ...need help getting a compile to complete. This problem exists with
> 2.5.27-28.
> Here's the last lines from make...
>...
> drivers/built-in.o: In function `md_run_setup':
> /usr/src/v2.5.28/drivers/md/md.c(.data+0xee34): undefined reference to
> `local symbols in discard
> ed section .text.exit'
> make: *** [vmlinux] Error 1
>...

Could you send your .config?

> thanks in advance, jeff

TIA
Adrian

--

You only think this is a free country. Like the US the UK spends a lot of
time explaining its a free country because its a police state.
Alan Cox