码迷,mamicode.com
首页 > 其他好文 > 详细

KEIL中常见问题

时间:2014-10-09 00:22:07      阅读:157      评论:0      收藏:0      [点我收藏+]

标签:使用   sp   c   问题   on   r   ef   bs   d   

1:..\Obj\phone.axf: Error: L6218E: Undefined symbol err (referred from gprs.o).

函数中定义的外部变量,找不到其源

即在gprs.c中定义了  extern int err;(或者其他路径定义,在gprs.c中使用到)

在main函数中定义 int err;(源头)这个被注解掉,就会出现上面的问题

KEIL中常见问题

标签:使用   sp   c   问题   on   r   ef   bs   d   

原文地址:http://www.cnblogs.com/Ph-one/p/4011405.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!