[klibc] klibc-1.5.17 build failure on mips

Lei Sun leisun124 at gmail.com
Fri Apr 16 11:57:46 PDT 2010


Hi:
  I downloaded klibc-1.5.17 and try to cross-compiled it for MIPS.  Got
following errors:

usr/klibc/exit.o: In function `exit':
exit.c:(.text+0x40): undefined reference to `_exit'
usr/klibc/execl.o: In function `execl':
execl.c:(.text+0x80): undefined reference to `execve'
usr/klibc/execle.o: In function `execle':
execle.c:(.text+0x84): undefined reference to `execve

........

I am using gcc-4.4.3 toolchain. for kernel 2.6.31. My build command is:

make CROSS_COMPILE=mipsel-linux- KLIBCARCH=mips KBUILD_VERBOSE=1

Googled around and saying that it might work if i disable distcc.
So i added

make CROSS_COMPILE=mipsel-linux- KLIBCARCH=mips KBUILD_VERBOSE=1
FEATURES="-distcc". But no difference.

Any idea what caused this?

Thanks
chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.zytor.com/pipermail/klibc/attachments/20100416/a0f86c63/attachment.htm>


More information about the klibc mailing list