[ZLG-ARM] cygwin编译u-boot问题,大侠救命啊!!!

[复制链接]
2888|1
 楼主| kalehz 发表于 2007-5-11 16:55 | 显示全部楼层 |阅读模式
我在cygwin现安装好arm-elf-tools(是在cygwin下使用的)后,make&nbsp;u-boot时,老是出现下列问题:<br />img2srec.c:328:&nbsp;parse&nbsp;error&nbsp;before&nbsp;`)'<br />img2srec.c:329:&nbsp;parse&nbsp;error&nbsp;before&nbsp;`)'<br />img2srec.c:330:&nbsp;parse&nbsp;error&nbsp;before&nbsp;`)'<br />img2srec.c:331:&nbsp;parse&nbsp;error&nbsp;before&nbsp;`)'<br />img2srec.c:332:&nbsp;parse&nbsp;error&nbsp;before&nbsp;`)'<br />img2srec.c:340:&nbsp;`hdr_name'&nbsp;undeclared&nbsp;(first&nbsp;use&nbsp;in&nbsp;this&nbsp;function)<br />img2srec.c:346:&nbsp;`srecLine'&nbsp;undeclared&nbsp;(first&nbsp;use&nbsp;in&nbsp;this&nbsp;function)<br />img2srec.c:346:&nbsp;parse&nbsp;error&nbsp;before&nbsp;`)'<br />img2srec.c:350:&nbsp;`firstAddr'&nbsp;undeclared&nbsp;(first&nbsp;use&nbsp;in&nbsp;this&nbsp;function)<br />img2srec.c:351:&nbsp;`loadAddr'&nbsp;undeclared&nbsp;(first&nbsp;use&nbsp;in&nbsp;this&nbsp;function)<br />img2srec.c:356:&nbsp;`loadSize'&nbsp;undeclared&nbsp;(first&nbsp;use&nbsp;in&nbsp;this&nbsp;function)<br />img2srec.c:359:&nbsp;`loadDiff'&nbsp;undeclared&nbsp;(first&nbsp;use&nbsp;in&nbsp;this&nbsp;function)<br />img2srec.c:378:&nbsp;`loadOffset'&nbsp;undeclared&nbsp;(first&nbsp;use&nbsp;in&nbsp;this&nbsp;function)<br />img2srec.c:&nbsp;In&nbsp;function&nbsp;`main':<br />img2srec.c:399:&nbsp;`DWORD'&nbsp;undeclared&nbsp;(first&nbsp;use&nbsp;in&nbsp;this&nbsp;function)<br />img2srec.c:399:&nbsp;parse&nbsp;error&nbsp;before&nbsp;`offset'<br />img2srec.c:405:&nbsp;`offset'&nbsp;undeclared&nbsp;(first&nbsp;use&nbsp;in&nbsp;this&nbsp;function)<br />img2srec.c:&nbsp;At&nbsp;top&nbsp;level:<br />../include/elf.h:465:&nbsp;warning:&nbsp;array&nbsp;`_DYNAMIC'&nbsp;assumed&nbsp;to&nbsp;have&nbsp;one&nbsp;element<br />make[1]:&nbsp;***&nbsp;[img2srec.o]&nbsp;Error&nbsp;1<br />make[1]:&nbsp;Leaving&nbsp;directory&nbsp;`/home/uboot/u-boot-1.1.4/tools'<br />make:&nbsp;***&nbsp;[tools]&nbsp;Error&nbsp;2<br />可是我同事和我用的cygwin和arm-elf-tools完全相同,系统也一样,他能make成功,我的就出现问题,他帮我安装后,也是不行,到底是什么问题啊?
 楼主| kalehz 发表于 2007-5-22 15:49 | 显示全部楼层

问题已经解决了

是cygwin的版本问题,我又换了另一个版本的,可以了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

10

主题

13

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部