初级会员

- 积分
- 142
- 金钱
- 142
- 注册时间
- 2013-1-23
- 在线时间
- 4 小时
|
5金钱
如题!
linking...
.\OBJ\wz_prj.axf: Error: L6218E: Undefined symbol stricmp (referred from mainthreadprocess.o).
.\OBJ\wz_prj.axf: Error: L6218E: Undefined symbol strnicmp (referred from mainthreadprocess.o).
Not enough information to list image symbols.
Finished: 1 information, 0 warning and 2 error messages.
".\OBJ\wz_prj.axf" - 2 Error(s), 5 Warning(s).
|
最佳答案
查看完整内容[请看2#楼]
原因找到了,直接查看keil_v5安装目录下提供的string.h可以发现,里面并没有stricmp()和strnicmp()的原型,只有strcmp()和strncmp()的原型。所以使用前两个函数会报错,使用后两个不会报错。
|