[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
undefined reference compiling kernel with binutils-2.11.92.0.12.3
From: |
rwhron |
Subject: |
undefined reference compiling kernel with binutils-2.11.92.0.12.3 |
Date: |
Fri, 30 Nov 2001 20:45:49 -0500 |
User-agent: |
Mutt/1.2.5i |
Summary
-------
make bzImage with binutils-2.11.92.0.12.3 ends "undefined reference" error.
I tried compile with 2.4.17-pre2 and 2.4.16. Both compiles ended with the
same ld command.
binutils-2.11.2 compiles these kernels without a problem.
platform
--------
Athlon 1333
Error
-----
ar rcs lib.a checksum.o old-checksum.o delay.o usercopy.o getuser.o memcpy.o
strstr.o mmx.o
make[2]: Leaving directory `/usr/src/linux-2.4.16/arch/i386/lib'
make[1]: Leaving directory `/usr/src/linux-2.4.16/arch/i386/lib'
ld -m elf_i386 -T /usr/src/linux-2.4.16/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/video/video.o \
net/network.o \
/usr/src/linux-2.4.16/arch/i386/lib/lib.a
/usr/src/linux-2.4.16/lib/lib.a /usr/src/linux-2.4.16/arch/i386/lib/lib.a \
--end-group \
-o vmlinux
drivers/char/char.o(.data+0x46b4): undefined reference to `local symbols in
discarded section .text.exit'
drivers/net/net.o(.data+0x1294): undefined reference to `local symbols in
discarded section .text.exit'
make: *** [vmlinux] Error 1
binutils compile
----------------
unset CFLAGS CPPFLAGS &&
/configure --prefix=/usr --enable-shared &&
make tooldir=/usr && make check && make install tooldir=/usr
make check (with dejagnu cvs from 11-29-2001)
----------
=== binutils Summary ===
# of expected passes 31
# of expected failures 1
=== gas Summary ===
# of expected passes 90
./as-new 20011121
=== ld Summary ===
# of expected passes 126
# of expected failures 13
ver_linux
---------
Linux rushmore 2.5.1-pre3 #2 Thu Nov 29 10:10:45 EST 2001 i686 unknown
Gnu C 2.95.3
Gnu make 3.79.1
binutils 2.11.2 (reinstalled 2.11.2 to verify kernel compiles).
util-linux 2.11m
mount 2.11m
modutils 2.4.12
e2fsprogs 1.25
reiserfsprogs 3.x.0j
PPP 2.4.1
Linux C Library 2.2.4
Dynamic linker (ldd) 2.2.4
Procps 2.0.7
Net-tools 1.60
Kbd 1.06
Sh-utils 2.0
Modules Loaded
If more details are helpful or there is a patch to test, let me know.
--
Randy Hron
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- undefined reference compiling kernel with binutils-2.11.92.0.12.3,
rwhron <=