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