2008-07-03 23:00:57     Compilation error in uClinux-dist-2008R1-RC8 with BF561-ezkit

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

2008-07-03 23:00:57     Compilation error in uClinux-dist-2008R1-RC8 with BF561-ezkit

jeff chang (CHINA)

Message: 58301   

 

Hi :

 

    everyone

 

 

 

I have installed blackfin-toolchain-uclibc-default-08r1-8.i386.rpm and blackfin-toolchain-08r1-8.i386.rpm, then Compiled 

 

  u-boot-1.1.6-2008R1 successfully.

 

  I Compiled the  uClinux-dist-2008R1-RC8 with default setting(bf527-ezkit),it's ok  .

 

  But when I Compiled the  uClinux-dist-2008R1-RC8 with bf561-ezkit,  the error is following:

 

make[4]: Entering directory `/home/uClinux-dist-2008R1-RC8/user/blkfin-apps/corebld'

bfin-uclinux-gcc -pipe -Wall -g -O2     -mcpu=bf561-0.3 -Wall -DEMBED -D__uClinux__ -I/home/uClinux-dist-2008R1-RC8   -mcpu=bf561-0.3  -Wl,-elf2flt   -mcpu=bf561-0.3  corebld.c   -o corebld

bfin-elf-gcc -mcpu=bf561 -pipe -Wall -g -O2     -mcpu=bf561-0.3 -Wall -c -o coreb.o coreb.S

make[4]: bfin-elf-gcc: Command not found

make[4]: *** [coreb.o] Error 127

make[4]: Leaving directory `/home/uClinux-dist-2008R1-RC8/user/blkfin-apps/corebld'

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

make[3]: Leaving directory `/home/uClinux-dist-2008R1-RC8/user/blkfin-apps'

make[2]: *** [blkfin-apps] Error 2

make[2]: Leaving directory `/home/uClinux-dist-2008R1-RC8/user'

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

make[1]: Leaving directory `/home/uClinux-dist-2008R1-RC8/user'

make: *** [subdirs] Error 1

 

what shall I do?

QuoteReplyEditDelete

 

 

2008-07-03 23:09:40     Re: Compilation error in uClinux-dist-2008R1-RC8 with BF561-ezkit

Mike Frysinger (UNITED STATES)

Message: 58303   

 

if you want to build bare metal code, you need the bare metal compiler installed and in your PATH

 

the error message should give you hints as to this fact:

 

bfin-elf-gcc: Command not found

QuoteReplyEditDelete

 

 

2008-07-03 23:26:56     Re: Compilation error in uClinux-dist-2008R1-RC8 with BF561-ezkit

jeff chang (CHINA)

Message: 58306   

 

I have installed blackfin-toolchain-uclibc-default-08r1-8.i386.rpm and blackfin-toolchain-08r1-8.i386.rpm  and set  path: # export PATH=$PATH:/opt/uClinux/bfin-uclinux/bin:/opt/uClinux/bfin-linux-uclibc/bin

QuoteReplyEditDelete

 

 

2008-07-03 23:38:35     Re: Compilation error in uClinux-dist-2008R1-RC8 with BF561-ezkit

Mike Frysinger (UNITED STATES)

Message: 58308   

 

and those do not contain the bfin-elf compiler

 

please read the documentation:

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

QuoteReplyEditDelete

 

 

2008-07-04 04:16:08     Re: Compilation error in uClinux-dist-2008R1-RC8 with BF561-ezkit

jeff chang (CHINA)

Message: 58315   

 

Thanks Mike Frysinger !

 

 

I installed blackfin-toolchain-elf-gcc-4.1-08r1-8.i386 and added path to OPEN SUSE,it's OK NOW .

Attachments

    Outcomes