2009-03-25 10:40:52     Compiling uClinux

Document created by Aaronwu Employee on Aug 14, 2013
Version 1Show Document
  • View in full screen mode

2009-03-25 10:40:52     Compiling uClinux

Igor Leikakh (ISRAEL)

Message: 71533   

 

I have problems compiling uClinux under linux.

 

Here is a piece of the make output:

    install -m0644 zconf.h zlib.h /home/igor/uClinux-dist/trunk/staging/usr/include

    /usr/bin/ld: cannot find -lc

    collect2: ld returned 1 exit status

Seems that I haven't installed some library.

 

Installed blackfin packets are:

    blackfin-toolchain

    blackfin-toolchain-uclibc-full

 

uClinux make configuration (make menuconfig) says, that "Libc is   None"

 

make_output.txt

QuoteReplyEditDelete

 

 

2009-03-25 11:43:54     Re: Compiling uClinux

Robin Getz (UNITED STATES)

Message: 71534   

 

Igor:

 

Did you install both the compiler and the uClibc? like the install directions say to:

 

https://docs.blackfin.uclinux.org/doku.php?id=toolchain:installing

 

?

QuoteReplyEditDelete

 

 

2009-03-25 11:58:35     Re: Compiling uClinux

Igor Leikakh (ISRAEL)

Message: 71537   

 

Yes, I have installed

 

blackfin-toolchain-08r1.5-14.i386.rpm

 

and

 

blackfin-toolchain-uclibc-full-08r1.5-14.i386.rpm

QuoteReplyEditDelete

 

 

2009-03-25 13:19:05     Re: Compiling uClinux

Robin Getz (UNITED STATES)

Message: 71540   

 

Igor:

 

Can you do a "make single" and post the actual error (since you are building in parrallel - the error is coming from somewhere else.

 

-Robin

QuoteReplyEditDelete

 

 

2009-03-25 16:54:38     Re: Compiling uClinux

Mike Frysinger (UNITED STATES)

Message: 71548   

 

you didnt install the development packages on your host like the documentation says:

docs.blackfin.uclinux.org/doku.php?id=installing_linux

QuoteReplyEditDelete

 

 

2009-03-26 05:24:31     Re: Compiling uClinux

Igor Leikakh (ISRAEL)

Message: 71592   

 

Thank you for reply. Here is make single output:

 

make_single_output.txt

QuoteReplyEditDelete

 

 

2009-03-26 11:01:07     Re: Compiling uClinux

Mike Frysinger (UNITED STATES)

Message: 71603   

 

please read my post

QuoteReplyEditDelete

 

 

2009-03-29 04:44:26     Re: Compiling uClinux

Igor Leikakh (ISRAEL)

Message: 71727   

 

Thank you, Mike.

 

I've found that by default on Mandriva glibc static libraries package is not installed.

Outcomes