AnsweredAssumed Answered

uClinux-dist build fails BF537

Question asked by MLM on Jun 7, 2012
Latest reply on Jun 10, 2012 by MLM

Distribution:

blackfin-linux-dist-2011R1-RC3.tar.bz2

Tools:

blackfin-toolchain-uclibc-full-2012R1-BETA1.i386.rpm

blackfin-toolchainl-2012R1-BETA1.i386.rpm

Operating System:

Fedora 16

 

Build runs about 10 minutes and then:

 

cc ../objects/tic.o ../objects/dump_entry.o  -I../progs -I/usr/local/src/blackfin-linux-dist/lib/ncurses/ncurses-5.7/progs -DHAVE_CONFIG_H -I/usr/local/src/blackfin-linux-dist/lib/ncurses/ncurses-5.7/progs/../include -I. -I../include  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64  -DNDEBUG -O2 -g  --param max-inline-insns-single=1200 -static -L../lib -lncurses -L../lib -lncurses -dynamic   -o tic

mkdir .libs

bfin-uclinux-gcc -pipe -Wall -g -O2 -mcpu=bf537-0.2 -Wl,-elf2flt -mcpu=bf537-0.2 -o testmini testmini.o minilzo.o

/usr/bin/ld: cannot find -lc

collect2: ld returned 1 exit status

make[5]: *** [tic] Error 1

make[5]: Leaving directory `/usr/local/src/blackfin-linux-dist/lib/ncurses/build-host-ncurses-5.7/progs'

make[4]: *** [host-build] Error 2

make[4]: Leaving directory `/usr/local/src/blackfin-linux-dist/lib/ncurses'

make[3]: *** [build-host-ncurses-5.7/Makefile] Error 2

make[3]: Leaving directory `/usr/local/src/blackfin-linux-dist/lib/ncurses'

make[2]: *** [ncurses] Error 2

make[2]: *** Waiting for unfinished jobs....

make[6]: Entering directory `/usr/local/src/blackfin-linux-dist/lib/lzo/build-lzo-2.03/minilzo'

make[6]: Nothing to be done for `install-exec-am'.

make[6]: Nothing to be done for `install-data-am'.

make[6]: Leaving directory `/usr/local/src/blackfin-linux-dist/lib/lzo/build-lzo-2.03/minilzo'

make[5]: Leaving directory `/usr/local/src/blackfin-linux-dist/lib/lzo/build-lzo-2.03/minilzo'

make[5]: Entering directory `/usr/local/src/blackfin-linux-dist/lib/lzo/build-lzo-2.03'

make[6]: Entering directory `/usr/local/src/blackfin-linux-dist/lib/lzo/build-lzo-2.03'

make[6]: Nothing to be done for `install-exec-am'.

make[6]: Nothing to be done for `install-data-am'.

make[6]: Leaving directory `/usr/local/src/blackfin-linux-dist/lib/lzo/build-lzo-2.03'

make[5]: Leaving directory `/usr/local/src/blackfin-linux-dist/lib/lzo/build-lzo-2.03'

make[4]: Leaving directory `/usr/local/src/blackfin-linux-dist/lib/lzo/build-lzo-2.03'

make post-build

make[4]: Entering directory `/usr/local/src/blackfin-linux-dist/lib/lzo'

make[4]: Nothing to be done for `post-build'.

make[4]: Leaving directory `/usr/local/src/blackfin-linux-dist/lib/lzo'

/usr/local/src/blackfin-linux-dist/tools/cross-fix-root

make[3]: Leaving directory `/usr/local/src/blackfin-linux-dist/lib/lzo'

make[2]: Leaving directory `/usr/local/src/blackfin-linux-dist/lib'

make[1]: *** [all] Error 2

make[1]: Leaving directory `/usr/local/src/blackfin-linux-dist/lib'

make: *** [subdirs] Error 1

[root@localhost blackfin-linux-dist]#

 

Any ideas?

 

Thanks

Outcomes