Hi u-boot users,
 
based on the most recent u-boot repository tag (2008R1.5-RC1 from
blackfin.uclinux.org) we fail to compile the linux tool for print/set u-boot
environment variables (tools/env).
 
>> make bf537-stamp_config
>> make
No problem with this so far.
 
>> make env
See error report in attached file (log.txt).
 
Should this tool be functional for the blackfin architecture (BF537) at all?
We do not understand how the sources/headers of our blackfin linux tree are
referenced for compilation. 
 
Thanks,
-Sam
make -C tools/env all || exit 1
make[1]: Entering directory 
`/home/oscar/tmp/u-boot.2008R1.5-RC1.work/u-boot-1.1.6/tools/env'
bfin-uclinux-gcc -Wall -DUSE_HOSTCC crc32.c  fw_env.c  fw_env_main.c -o 
fw_printenv
crc32.c:15:18: error: zlib.h: No such file or directory
crc32.c:77: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or 
‘__attribute__’ 
before ‘crc_table’
crc32.c:153: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or 
‘__attribute__’ 
before ‘crc32’
crc32.c:155: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or 
‘__attribute__’ 
before ‘*’ token
crc32.c:156: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or 
‘__attribute__’ 
before ‘len’
crc32.c:157: error: expected identifier or ‘(’ before ‘{’ token
fw_env.c:34:27: error: linux/mtd/mtd.h: No such file or directory
fw_env.c: In function ‘fw_printenv’:
fw_env.c:244: warning: pointer targets in initialization differ in 
signedness
fw_env.c:259: warning: pointer targets in passing argument 1 of ‘fputs’ 
differ in signedness
fw_env.c:262: warning: pointer targets in passing argument 1 of ‘puts’ 
differ in signedness
fw_env.c: In function ‘fw_setenv’:
fw_env.c:293: warning: pointer targets in assignment differ in 
signedness
fw_env.c:317: warning: pointer targets in passing argument 1 of ‘strcmp’ 
differ in signedness
fw_env.c:318: warning: pointer targets in passing argument 1 of ‘strcmp’ 
differ in signedness
fw_env.c:350: warning: pointer targets in passing argument 1 of ‘strlen’ 
differ in signedness
fw_env.c:364: warning: pointer targets in initialization differ in 
signedness
fw_env.c: In function ‘flash_io’:
fw_env.c:390: error: ‘erase_info_t’ undeclared (first use in this 
function)
fw_env.c:390: error: (Each undeclared identifier is reported only once
fw_env.c:390: error: for each function it appears in.)
fw_env.c:390: error: expected ‘;’ before ‘erase’
fw_env.c:393: warning: pointer targets in passing argument 1 of ‘open’ 
differ in signedness
fw_env.c:409: warning: pointer targets in passing argument 1 of ‘open’ 
differ in signedness
fw_env.c:421: error: ‘erase’ undeclared (first use in this function)
fw_env.c:423: error: ‘MEMUNLOCK’ undeclared (first use in this function)
fw_env.c:462: error: ‘MEMERASE’ undeclared (first use in this function)
fw_env.c:519: error: ‘MEMLOCK’ undeclared (first use in this function)
fw_env.c: In function ‘parse_config’:
fw_env.c:717: warning: pointer targets in passing argument 1 of ‘stat’ 
differ in signedness
fw_env.c:724: warning: pointer targets in passing argument 1 of ‘stat’ 
differ in signedness
make[1]: *** [fw_printenv] Error 1
make[1]: Leaving directory 
`/home/oscar/tmp/u-boot.2008R1.5-RC1.work/u-boot-1.1.6/tools/env'
make: *** [env] Error 1
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to