[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problem compiling kernel 2.4.16 with woody



Hello,



I have debian woody running on a Sun netra t1 with stock kernel 2.4.16.
After keeping the system updated the kernel fails to compile with the
following error:

[..]
ld -m elf64_sparc -T arch/sparc64/vmlinux.lds arch/sparc64/kernel/head.o
 arch/sparc64/kernel/init_task.o init/main.o init/version.o \
         --start-group \
         arch/sparc64/kernel/kernel.o arch/sparc64/mm/mm.o
kernel/kernel.o
 mm/mm.o fs/fs.o ipc/ipc.o arch/sparc64/math-emu/math-emu.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/scsi/scsidrv.o drivers/cdrom/driver.o drivers/pci/driver.o
 drivers/sbus/sbus_all.o drivers/video/video.o drivers/input/inputdrv.o
 drivers/md/mddev.o \
         net/network.o \
         /usr/src/linux/lib/lib.a /usr/src/linux/lib/lib.a
 /usr/src/linux/arch/sparc64/prom/promlib.a
/usr/src/linux/arch/sparc64/lib/lib.a
 \
         --end-group \
         -o vmlinux
drivers/net/net.o(.data+0x138): undefined reference to `local symbols in
discarded section .text.exit'
make: *** [vmlinux] Error 1

Installed is the following:
ii  binutils       2.11.92.0.12.3 The GNU assembler, linker and binary
utiliti
ii  egcs64         19980921.1-1   C Cross-Compiler for 64 bit UltraSPARC
kerne
ii  gcc            2.95.4-9       The GNU C compiler.
ii  gcc-2.95       2.95.4-0.01100 The GNU C compiler.
ii  libgcc1        3.0.2-4        GCC support library.

After downgrading binutils to 2.11.92.0.10-4, compilation was fine
again. 
Is there a problem with the newer binutils package? Or need any other
packages upgrading?

 Jochen



Reply to: