2009-12-18 09:50:18     upgrading

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

2009-12-18 09:50:18     upgrading

Filip Vanalme (BELGIUM)

Message: 83699   

 

Hi,

 

I'm finally upgrading to the latest versions of toolchain and kernel. I installed blackfin-toolchain-09r1-10.i386.rpm and blackfin-toolchain-uclibc-default-09r1-10.i386.rpm on my new Suse 11.2 system. Then I downloaded and unpacked uClinux-dist-2009R1-RC6.tar.bz2. I created a new subdirectory in the AnalogDevice directory for my board and copied the files from the BF561-EZKIT directory. Then executed make menuconfig, selected the correct vendor and board. No other modifications, just opening the config and saving the defaults for now. Then tried to compile the Kernel and got following error when compiling flashw.c

 

bfin-uclinux-gcc -pipe -Wall -g -O2      -mcpu=bf561-0.5 -DEMBED -D__uClinux__ -I/home/FVA/XT100G2/build/uClinux-dist  -mcpu=bf561-0.5  -c -o flashw.o flashw.c

flashw.c:23:28: error: linux/autoconf.h: No such file or directory

flashw.c:32:26: error: linux/blkmem.h: No such file or directory

flashw.c: In function ‘main’:

flashw.c:238: error: ‘BMGETSIZEB’ undeclared (first use in this function)

flashw.c:238: error: (Each undeclared identifier is reported only once

flashw.c:238: error: for each function it appears in.)

flashw.c:243: error: ‘BMSGSIZE’ undeclared (first use in this function)

flashw.c:296: warning: impliciete declaratie van functie ‘strnlen’

flashw.c:347: error: ‘BMSERASE’ undeclared (first use in this function)

make[3]: *** [flashw.o] Error 1

make[3]: Leaving directory '/home/FVA/XT100G2/build/uClinux-dist/user/flashw'

make[2]: *** [flashw] Error 2

make[2]: Leaving directory '/home/FVA/XT100G2/build/uClinux-dist/user'

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

make[1]: Leaving directory '/home/FVA/XT100G2/build/uClinux-dist/user'

make: *** [subdirs] Error 1

 

I get this error for autoconf.h but the file exists. What am I missing here ?

 

 

 

Regards,

 

 

 

Filip

TranslateQuoteReplyEditDelete

 

 

2009-12-18 10:01:10     Re: upgrading

Mike Frysinger (UNITED STATES)

Message: 83700   

 

do you actually need the user/flashw/ utils ?  if not, i'd disable them.

 

QuoteReplyEditDelete

Attachments

    Outcomes