can't get 2.4.19 to compile

steven james pyro at linuxlabs.com
Tue Apr 29 12:57:00 CEST 2003


Greetings,

I'm not certain, but this is the sort of thing that can come up when you
don't make mrproper after patching.

copy your .config somewhere safe since mrproper will wipe it out, then 
make mrproper
now copy .config back into kernel tree and
make oldconfig
build kernel as usual.

G'day,
sjames



On Tue, 29 Apr 2003, demian sinclair wrote:

> I am trying to get linux bios to work on my m758lmr+ for my carputer.
> Unfortunately I am stuck at the first stage. When I try make bzImage
> after patching with the 2.4.19-sis patch, I get this:
> 
> ld -m elf_i386 -T /usr/src/linux-2.4.19/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/char/char.o
> drivers/block/block.o drivers/misc/misc.o drivers/net/net.o
> drivers/media/media.o drivers/ide/idedriver.o drivers/cdrom/driver.o
> drivers/sound/sounddrivers.o drivers/pci/driver.o drivers/video/video.o
> \        net/network.o \
>         /usr/src/linux-2.4.19/arch/i386/lib/lib.a
> /usr/src/linux-2.4.19/lib/lib.a
> /usr/src/linux-2.4.19/arch/i386/lib/lib.a \        --end-group \
>         -o vmlinux
> drivers/video/video.o(.data+0x1bd4): undefined reference to `local
> symbols in discarded section .text.exit' make: *** [vmlinux] Error 1
> 
> This is on debian woddy with gcc 2.95. I have also tried 2.4.17 and I
> get this:
> 
> ld -m elf_i386 -T /usr/src/linux/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/ide/idedriver.o drivers/cdrom/driver.o
> drivers/sound/sounddrivers.o drivers/pci/driver.o drivers/mtd/mtdlink.o
> drivers/video/video.o drivers/usb/usbdrv.o \        net/network.o \
>         /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
> drivers/sound/sounddrivers.o(.data+0x1d4): undefined reference to `local
> symbols in discarded section .text.exit'
> drivers/mtd/mtdlink.o(.text.lock+0xf6): undefined reference to `local
> symbols in discarded section .text.exit'
> drivers/video/video.o(.data+0x1bd4): undefined reference to `local
> symbols in discarded section .text.exit' make: *** [vmlinux] Error 1
> 
> 
> Would someone plz point me in the right direction. 
> 
> Thanks,
> DS
> _______________________________________________
> Linuxbios mailing list
> Linuxbios at clustermatic.org
> http://www.clustermatic.org/mailman/listinfo/linuxbios
> 

-- 
-------------------------steven james, director of research, linux labs
... ........ ..... ....                    230 peachtree st nw ste 2701
the original linux labs                             atlanta.ga.us 30303
      -since 1995                              http://www.linuxlabs.com
                                   office 404.577.7747 fax 404.577.7743
-----------------------------------------------------------------------





More information about the coreboot mailing list