*** WARNING L2:REFERENCE MADE TO UNRESOLVED EXTERNAL SYMBOL:MAIN MODULE:C:\KEIL\C51\LIB\C51S.LIB*** WARNING L2:REFERENCE MADE TO UNRESOLVED EXTERNALSYMBOL:MAINMODULE:C:\KEIL\C51\LIB\C51S.LIB C_INIT)ADDRESS:080DHProgram Size:data=13.0 xdata=0 code=265

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/19 10:21:35
***WARNINGL2:REFERENCEMADETOUNRESOLVEDEXTERNALSYMBOL:MAINMODULE:C:\KEIL\C51\LIB\C51S.LIB***WARNINGL2

*** WARNING L2:REFERENCE MADE TO UNRESOLVED EXTERNAL SYMBOL:MAIN MODULE:C:\KEIL\C51\LIB\C51S.LIB*** WARNING L2:REFERENCE MADE TO UNRESOLVED EXTERNALSYMBOL:MAINMODULE:C:\KEIL\C51\LIB\C51S.LIB C_INIT)ADDRESS:080DHProgram Size:data=13.0 xdata=0 code=265
*** WARNING L2:REFERENCE MADE TO UNRESOLVED EXTERNAL SYMBOL:MAIN MODULE:C:\KEIL\C51\LIB\C51S.LIB
*** WARNING L2:REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL:MAIN
MODULE:C:\KEIL\C51\LIB\C51S.LIB C_INIT)
ADDRESS:080DH
Program Size:data=13.0 xdata=0 code=265
creating hex file from "lesson1-11"...
"lesson1-11" - 0 Error(s),3 Warning(s).怎么解决这些警告

*** WARNING L2:REFERENCE MADE TO UNRESOLVED EXTERNAL SYMBOL:MAIN MODULE:C:\KEIL\C51\LIB\C51S.LIB*** WARNING L2:REFERENCE MADE TO UNRESOLVED EXTERNALSYMBOL:MAINMODULE:C:\KEIL\C51\LIB\C51S.LIB C_INIT)ADDRESS:080DHProgram Size:data=13.0 xdata=0 code=265
在main函数里面C_INIT这个参数有使用,没有申明.或者申明了没有实体.也就是说对于这个参数,编译器无法解析.