移植u-boot-2010.06 到TQ2440 详解
http://www.armbbs.net/home.php?mod=space&uid=6711&do=blog&id=34贴子在我个人空间里,
这可以花了我午休时间写的哦,,觉得好的顶一个,同时也欢迎拍砖 好帖,晚上回去实验~ 支持楼主 请问一下,修改了时钟后,增加了对S3C2440的支持,可编译不通了,
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
怎么回事?
提示你有语法错误
把前面内容也贴出来,还有,修改代码时注意标点符号,括号少了没有 支持,要顶起! 收藏了。谢谢分享
页:
[1]