在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
芯片精品文章合集(500篇!)    创芯人才网--重磅上线啦!
查看: 15231|回复: 4

请教ADS使用的问题

[复制链接]
发表于 2007-12-5 11:47:12 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
学习使用ADS中,调试hello world就出问题了,请各位高手帮帮忙!
在工程里添加了main.c、系统初始化文件44binit.s ,函数库文件44blib.c.还有头文件44blib.h、44b.h、option.h
make 的时候出现错误:
Error   : (Serious) C2322E: Expecting <declarator> or <type> but found '"C"'
stdcomp.h line 1490   
Error   : C2225W: declaration lacks type/storage-class (assuming 'int'): 'class'
rwstderr.h line 45   
Error   : C2285E: expected ';' or ',' - inserted ';' before 'except_msg_string'
rwstderr.h line 45   
Error   : C2483E: Ancient form of initialisation, use '='
rwstderr.h line 45   
Error   : C2456E: undeclared name, inventing 'extern int public'
rwstderr.h line 46   
Error   : (Serious) C2282E: expected '}' - inserted before ':'
rwstderr.h line 46   
Error   : (Serious) C2432E: non-constant initialiser
rwstderr.h line 46   
Error   : C2225W: declaration lacks type/storage-class (assuming 'int'): 'except_msg_string'
rwstderr.h line 47   
Error   : C2285E: expected ';' or ',' - inserted ';' before 'except_msg_string'
rwstderr.h line 47   
Error   : C2285E: expected ')' or ',' - inserted ')' before '...'
rwstderr.h line 47   
Error   : (Serious) C2933E: type disagreement for 'except_msg_string'
rwstderr.h line 47   
Error   : C2225W: declaration lacks type/storage-class (assuming 'int'): 'except_msg_string'
rwstderr.h line 47   
Error   : C2285E: expected ';' or ',' - inserted ';' before '...'
rwstderr.h line 47   
Error   : (Serious) C2322E: Expecting <declarator> or <type> but found '...'
rwstderr.h line 47   
Error   : C2285E: expected ')' or ',' - inserted ')' before '...'
rwstderr.h line 48   
Error   : C2933E: type disagreement for 'except_msg_string'
rwstderr.h line 48   
Error   : C2225W: declaration lacks type/storage-class (assuming 'int'): 'except_msg_string'
rwstderr.h line 48   
Error   : C2285E: expected ';' or ',' - inserted ';' before '...'
rwstderr.h line 48   
Error   : (Serious) C2322E: Expecting <declarator> or <type> but found '...'
rwstderr.h line 48   
Warning : C2214W: Old-style function 'msgstr'
rwstderr.h line 49   
Error   : (Serious) C2322E: Expecting <declarator> or <type> but found '{'
rwstderr.h line 49   
Error   : C2285E: expected ';' or ',' - inserted ';' before '{'
rwstderr.h line 49   
Error   : C2456E: undeclared name, inventing 'extern int __msg'
rwstderr.h line 49   
Error   : C3029E: 'return': implicit cast of non-0 int to pointer
rwstderr.h line 49   
Error   : C2225W: declaration lacks type/storage-class (assuming 'int'): 'private'
rwstderr.h line 50   
Error   : C2285E: expected ';' or ',' - inserted ';' before ':'
rwstderr.h line 50   
Error   : (Serious) C2322E: Expecting <declarator> or <type> but found ':'
rwstderr.h line 50   
Error   : (Serious) C2933E: type disagreement for 'except_msg_string'
rwstderr.h line 52   
Error   : C2225W: declaration lacks type/storage-class (assuming 'int'): 'except_msg_string'
rwstderr.h line 52   
Error   : C2285E: expected ';' or ',' - inserted ';' before '&'
rwstderr.h line 52   
Error   : (Serious) C2322E: Expecting <declarator> or <type> but found '&'
rwstderr.h line 52   
Error   : (Fatal) C3047U: Too many errors
rwstderr.h line 53   


stdcomp.h 、rwstderr.h是怎么回事?高手们帮帮忙,谢啦!
发表于 2007-12-5 14:12:55 | 显示全部楼层

非常理解

同情一下,我也遇到过,但是不知道怎么解?
 楼主| 发表于 2007-12-7 11:10:09 | 显示全部楼层
问题解决了,换了一个风格的hello world的源程序,就没有问题了,但是到底应该怎么写自己的应用程序,还是迷迷糊糊,大家给点建议呀
发表于 2014-9-2 22:50:55 | 显示全部楼层
最近在学习,有没什么号的资料,分享下
发表于 2018-12-21 12:16:40 | 显示全部楼层
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /2 下一条

小黑屋| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-5-3 01:57 , Processed in 0.040927 second(s), 9 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表