C51编译警告“UNRESOLVED EXTERNAL SYMBOL”

*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
    SYMBOL:  LED_OFF
    MODULE:  .\OutputFiles\Timer.obj (TIMER)
*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
    SYMBOL:  LED_ON
    MODULE:  .\OutputFiles\Timer.obj (TIMER)
*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
    SYMBOL:  LED
    MODULE:  .\OutputFiles\Timer.obj (TIMER)
*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
    SYMBOL:  LED
    MODULE:  .\OutputFiles\Timer.obj (TIMER)
    ADDRESS: 0048H
*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
    SYMBOL:  LED
    MODULE:  .\OutputFiles\Timer.obj (TIMER)
    ADDRESS: 004DH
*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
    SYMBOL:  LED
    MODULE:  .\OutputFiles\Timer.obj (TIMER)
    ADDRESS: 0052H
*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
    SYMBOL:  LED
    MODULE:  .\OutputFiles\Timer.obj (TIMER)
    ADDRESS: 0056H
*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
    SYMBOL:  LED
    MODULE:  .\OutputFiles\Timer.obj (TIMER)
    ADDRESS: 0058H
*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
    SYMBOL:  LED_ON
    MODULE:  .\OutputFiles\Timer.obj (TIMER)
    ADDRESS: 0099H
*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
    SYMBOL:  LED_OFF
    MODULE:  .\OutputFiles\Timer.obj (TIMER)
    ADDRESS: 00A0H
在用C51编译器出现上面的警告,害我郁闷半天,没道理啊,我仔细检查了两遍 没问题,结果错误出在没有将一个源文件添加进入工程  , 看来我还是个初学者 ,居然犯这样的低级错误。

永不止步步 发表于09-10 10:43 浏览65535次
分享到:

已有0条评论

暂时还没有回复哟,快来抢沙发吧

添加一条新评论

只有登录用户才能评论,请先登录注册哦!

话题作者

永不止步步
金币:67417个|学分:380091个
立即注册
畅学电子网,带你进入电子开发学习世界
专业电子工程技术学习交流社区,加入畅学一起充电加油吧!

x

畅学电子网订阅号