2008-11-27 05:31:32     uClinux-dist-2008R1.5-RC3.tar.bz2

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

2008-11-27 05:31:32     uClinux-dist-2008R1.5-RC3.tar.bz2

Ivan Antonio (PORTUGAL)

Message: 65903   

 

Hi!

 

I install the new version, and when i do the make  i have this error.... anyone know why?

 

ivan@ivan-desktop:~/uClinux-dist$ make

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

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

make[1]: Entering directory `/home/ivan/uClinux-dist/linux-2.6.x'

  CHK     include/linux/version.h

  CHK     include/linux/utsrelease.h

  CC      scripts/mod/empty.o

cc1: error: unrecognized command line option "-mcpu=bf537-0.2"

 

make[3]: *** [scripts/mod/empty.o] Error 1

 

make[2]: *** [scripts/mod] Error 2

 

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

 

make[1]: Leaving directory `/home/ivan/uClinux-dist/linux-2.6.x'

 

make: *** [linux] Error 1

 

 

QuoteReplyEditDelete

 

 

2008-11-27 21:25:50     Re: uClinux-dist-2008R1.5-RC3.tar.bz2

Mike Frysinger (UNITED STATES)

Message: 65936   

 

is your environment polluted or something ?  the target CFLAGS should not be set when building in the kernel else you'll get errors just like you're showing.

 

perhaps you've unpacked the directory incorrectly ?

Attachments

    Outcomes