0
问答首页 最新问题 热门问题 等待回答标签广场
我要提问

keil3问题报警

如图所示,求教!
提问者:60user48 地点:- 浏览次数:4582 提问时间:02-01 16:19
我有更好的答案
提 交
3条回答
zbb9612 02-04 13:01
应该没有使用外部标志吧?
bertvwang 02-07 18:15
加上extern
yisen282 02-02 22:35


这是连接错误.
意思是连接器没有在库中找到 hbcd 这个函数的实现代码.

从 KEIL 官方的网站上看到的说明:
WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL.
CAUSE
This segment is a library routine that your program utilizes. For some reason, the linker cannot find the library which contains this routine.

RESOLUTION
Choose BL51 Code Banking Linker from the Options menu and click on the Linking tab. Make sure the option Ignore Default Libraries is unchecked. Turning that option on causes the linker to ignore the standard C51 libraries.

If that does not work, then rename the C51 directory (or wherever you installed the tools) and try re-installing. It may be that one of the .LIB files was accidentally deleted or has become corrupted.

MORE INFORMATION
■Refer to Warning L2 in the BL51 User's Guide.
撰写答案
提 交
1 / 3
1 / 3