天嵌 ARM开发社区

 找回密码
 注册
查看: 2466|回复: 1

编译u_boot2.10.6,修改了时钟,对S3C2440的支持后报钷了。问题如下,请高手指点一下

[复制链接]
ojssuo 发表于 2011-12-13 19:22:53 | 显示全部楼层 |阅读模式
opt/u-boot-2010.06/include/part.h:91: warning: no semicolon at end of struct or union
/opt/u-boot-2010.06/include/part.h:92: warning: type defaults to `int' in declaration of `type'
/opt/u-boot-2010.06/include/part.h:92: warning: data definition has no type or storage class
/opt/u-boot-2010.06/include/part.h:93: error: syntax error before '}' token
/opt/u-boot-2010.06/include/part.h:93: warning: type defaults to `int' in declaration of `disk_partition_t'
/opt/u-boot-2010.06/include/part.h:93: warning: data definition has no type or storage class
/opt/u-boot-2010.06/include/part.h:106: error: syntax error before "disk_partition_t"
/opt/u-boot-2010.06/include/part.h:106: warning: function declaration isn't a prototype
In file included from /opt/u-boot-2010.06/include/common.h:115,
                 from speed.c:32:
/opt/u-boot-2010.06/include/flash.h:37: error: syntax error before "uchar"
/opt/u-boot-2010.06/include/flash.h:37: warning: no semicolon at end of struct or union
/opt/u-boot-2010.06/include/flash.h:59: warning: type defaults to `int' in declaration of `flash_info_t'
/opt/u-boot-2010.06/include/flash.h:59: warning: data definition has no type or storage class
/opt/u-boot-2010.06/include/flash.h:93: error: syntax error before '*' token
/opt/u-boot-2010.06/include/flash.h:93: warning: function declaration isn't a prototype
/opt/u-boot-2010.06/include/flash.h:94: error: syntax error before '*' token
/opt/u-boot-2010.06/include/flash.h:94: warning: function declaration isn't a prototype
/opt/u-boot-2010.06/include/flash.h:98: error: syntax error before '*' token
/opt/u-boot-2010.06/include/flash.h:98: warning: function declaration isn't a prototype
/opt/u-boot-2010.06/include/flash.h:102: error: syntax error before "flash_info_t"
/opt/u-boot-2010.06/include/flash.h:102: warning: function declaration isn't a prototype
/opt/u-boot-2010.06/include/flash.h:104: error: syntax error before '*' token
/opt/u-boot-2010.06/include/flash.h:104: warning: type defaults to `int' in declaration of `addr2info'
/opt/u-boot-2010.06/include/flash.h:104: warning: data definition has no type or storage class
/opt/u-boot-2010.06/include/flash.h:105: error: syntax error before '*' token
/opt/u-boot-2010.06/include/flash.h:105: warning: function declaration isn't a prototype


亚瑟王 发表于 2011-12-30 11:10:23 | 显示全部楼层
亲,根据你提供的错误信息,应该是你修改代码时,你的代码不规范引起的错误。建议你把这个头文件贴出来看看,或者你说一下你修改了哪些地方的源码。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2025-6-18 21:08 , Processed in 2.037766 second(s), 20 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表