2008-09-26 11:58:02     Make of uClinux-dist fails

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

2008-09-26 11:58:02     Make of uClinux-dist fails

Jere Mäkelä (FINLAND)

Message: 62803   

 

>make menuconfig - OK

 

>make

 

....

 

make[3]: Entering directory `/tmp/stamp/checkout/uClinux-dist/lib/libg'

for i in gtermcap ; do make -C $i || exit gtermcap ; done

make[4]: Entering directory `/tmp/stamp/checkout/uClinux-dist/lib/libg/gtermcap'

bfin-uclinux-gcc -pipe -Wall -g -O2     -mcpu=bf533-0.3 -DEMBED -D__uClinux__ -I

/tmp/stamp/checkout/uClinux-dist        -mcpu=bf533-0.3  -c -o termcap.o termcap

.c

termcap.c:36:20: error: stdlib.h: No such file or directory

termcap.c:37:20: error: string.h: No such file or directory

termcap.c:45:20: error: unistd.h: No such file or directory

termcap.c:52:19: error: stdio.h: No such file or directory

termcap.c:53:23: error: sys/ioctl.h: No such file or directory

termcap.c:57:21: error: termios.h: No such file or directory

termcap.c: In function B!Fmemory_outB!G:

termcap.c:91: warning: implicit declaration of function B!FwriteB!G

termcap.c:92: warning: implicit declaration of function B!FexitB!G

termcap.c:92: warning: incompatible implicit declaration of built-in function B!Fe

xitB!G

termcap.c: In function B!FxmallocB!G:

termcap.c:99: warning: implicit declaration of function B!FmallocB!G

termcap.c:99: warning: incompatible implicit declaration of built-in function B!Fm

allocB!G

termcap.c: In function B!FxreallocB!G:

termcap.c:111: warning: implicit declaration of function B!FreallocB!G

termcap.c:111: warning: initialization makes pointer from integer without a cast

termcap.c: In function B!FtgetnumB!G:

termcap.c:151: warning: implicit declaration of function B!FatoiB!G

termcap.c: At top level:

termcap.c:264: error: expected B!F=B!G, B!F,B!G, B!F;B!G, B!FasmB!G or B!F__attribute__B!G before B!Fo

speedB!G

termcap.c: In function B!FtputsB!G:

termcap.c:299: error: B!FospeedB!G undeclared (first use in this function)

termcap.c:299: error: (Each undeclared identifier is reported only once

termcap.c:299: error: for each function it appears in.)

termcap.c: In function B!FtgetentB!G:

termcap.c:495: warning: implicit declaration of function B!FgetenvB!G

termcap.c:495: warning: assignment makes pointer from integer without a cast

termcap.c:507: warning: implicit declaration of function B!FstrcmpB!G

termcap.c:522: warning: implicit declaration of function B!FstrcpyB!G

termcap.c:522: warning: incompatible implicit declaration of built-in function B!F

strcpyB!G

termcap.c:545: warning: implicit declaration of function B!FopenB!G

termcap.c:556: warning: implicit declaration of function B!FstrlenB!G

termcap.c:556: warning: incompatible implicit declaration of built-in function B!F

strlenB!G

termcap.c:564: warning: incompatible implicit declaration of built-in function B!F                                                                            strcpyB!G

termcap.c:565: warning: incompatible implicit declaration of built-in function B!F                                                                            strlenB!G

termcap.c:573: warning: implicit declaration of function B!FcloseB!G

termcap.c:574: warning: implicit declaration of function B!FfreeB!G

termcap.c: In function B!Fscan_fileB!G:

termcap.c:646: warning: implicit declaration of function B!FlseekB!G

termcap.c: In function B!Fgobble_lineB!G:

termcap.c:767: warning: implicit declaration of function B!FbcopyB!G

termcap.c:767: warning: incompatible implicit declaration of built-in function B!F                                                                            bcopyB!G

termcap.c:770: warning: implicit declaration of function B!FreadB!G

make[4]: *** [termcap.o] Error 1

make[4]: Leaving directory `/tmp/stamp/checkout/uClinux-dist/lib/libg/gtermcap'

/bin/sh: line 0: exit: gtermcap: numeric argument required

make[3]: *** [all] Error 255

make[3]: Leaving directory `/tmp/stamp/checkout/uClinux-dist/lib/libg'

make[2]: *** [libg] Error 2

make[2]: Leaving directory `/tmp/stamp/checkout/uClinux-dist/lib'

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

make[1]: Leaving directory `/tmp/stamp/checkout/uClinux-dist/lib'

make: *** [subdirs] Error 1

 

 

 

 

Jere

QuoteReplyEditDelete

 

 

2008-09-26 13:27:24     Re: Make of uClinux-dist fails

Mike Frysinger (UNITED STATES)

Message: 62806   

 

you didnt install the toolchain properly ... it wont work without a C library

 

please read the documentation:

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

http://docs.blackfin.uclinux.org/doku.php?id=faq

Attachments

    Outcomes