[klibc] klibc-1.5.17 build failure on mips

Lei Sun leisun124 at gmail.com
Fri Apr 16 13:38:27 PDT 2010


On Fri, Apr 16, 2010 at 1:15 PM, maximilian attems <max at stro.at> wrote:

> On Fri, Apr 16, 2010 at 11:57:46AM -0700, Lei Sun wrote:
> > 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?
>
> try to build with ARCH=mips, that's how it builds natively fine:
>
> https://buildd.debian.org/fetch.cgi?pkg=klibc;ver=1.5.17-4;arch=mips;stamp=1270318769
>

Thanks for the reply
make CROSS_COMPILE=mipsel-linux- ARCH=mips KBUILD_VERBOSE=1
Gave me the same error.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.zytor.com/pipermail/klibc/attachments/20100416/b648d9ef/attachment.htm>


More information about the klibc mailing list