2009-04-05 01:09:12     Compiling uClinux-2008-r1-rc8

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

2009-04-05 01:09:12     Compiling uClinux-2008-r1-rc8

David Lee (UNITED STATES)

Message: 72157   

 

Hi,

 

I failed to compile uClinux2008-r1-rc8.

 

colinux:~/baps# make -f uClinux2008.mk uClinux

mkdir -p /root/baps/uClinux-dist/root/usr/doc

cp -f doc/uImage.txt /root/baps/uClinux-dist/root/usr/doc

make -C /root/baps/uClinux-dist ROMFSDIR=/root/baps/uClinux-dist/root

make[1]: Entering directory `/root/baps/uClinux-dist'

rm -f linux-2.6.x/usr/initramfs_data.cpio.gz

make ARCH=blackfin   CROSS_COMPILE=bfin-uclinux- -j1 -C linux-2.6.x  || exit 1

make[2]: Entering directory `/root/baps/uClinux-dist/linux-2.6.x'

  CHK     include/linux/version.h

  CHK     include/linux/utsrelease.h

  CC      arch/blackfin/kernel/asm-offsets.s

cc1: error: unrecognized command line option "-mcpu=bf532-0.5"

make[3]: *** [arch/blackfin/kernel/asm-offsets.s] Error 1

make[2]: *** [prepare0] Error 2

make[2]: Leaving directory `/root/baps/uClinux-dist/linux-2.6.x'

make[1]: *** [linux] Error 1

make[1]: Leaving directory `/root/baps/uClinux-dist'

make: *** [uClinux] Error 2

 

 

Please help advise what caused the problem.

 

Thanks,

 

David

QuoteReplyEditDelete

 

 

2009-04-05 02:32:50     Re: Compiling uClinux-2008-r1-rc8

Mike Frysinger (UNITED STATES)

Message: 72158   

 

are you using the right toolchain ?

 

QuoteReplyEditDelete

 

 

2009-04-05 02:49:18     Re: Compiling uClinux-2008-r1-rc8

David Lee (UNITED STATES)

Message: 72159   

 

Mike,

 

Thank you for help. I used blackfin-toolchain-07r1 to compile uClinux-2008-r1-rc8.

 

David

QuoteReplyEditDelete

 

 

2009-04-05 02:52:38     Re: Compiling uClinux-2008-r1-rc8

Mike Frysinger (UNITED STATES)

Message: 72160   

 

that isnt going to work.  please read the FAQ.

 

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

 

also, i see you arent using the uclinux-dist we release but rather the modified baps system.  errors related to that should be asked on the asterisk forums rather than this one.

QuoteReplyEditDelete

 

 

2009-04-05 02:57:52     Re: Compiling uClinux-2008-r1-rc8

David Lee (UNITED STATES)

Message: 72161   

 

Thank  you, Mike.

QuoteReplyEditDelete

Attachments

    Outcomes