This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

how to resolve such problem

I have a project.it uses a LIB document(p550_01a.lib).I add it to my project.
but after linking ,the keil gives out such warning as follow:
***WARNING L1:UNRESOLVED EXTERNAL SYMBOL
SYMBOL:SYS_INIT
MODULE: MYTEST.OBJ (MYTEST)
***WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: SYS_INIT
MODULE: MYTEST.OBJ (MYTEST)
ADDRESS: 07F8H
I think my head files and c files is right.Perhaps there is something wrong with my setting of bl51 of keil.please tell me how to resolve such question.I an a beginner of keil.I use keil Uv2.o

Parents
  • ***WARNING L1 UNRESOLVED EXTERNAL SYMBOL
    SYMBOL: SYS_INIT
    MODULE: MYTEST.OBJ (MYTEST)
    ***WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
    SYMBOL: SYS_INIT
    MODULE: MYTEST.OBJ (MYTEST)
    This means that something in "mytest.obj" is using a thing called "sys_init," but nothing in your project is defining anything called "sys_init!"

    Does that Library require you to provide something called "sys_init?"

    Have you forgotten the header file for the Library?

Reply
  • ***WARNING L1 UNRESOLVED EXTERNAL SYMBOL
    SYMBOL: SYS_INIT
    MODULE: MYTEST.OBJ (MYTEST)
    ***WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
    SYMBOL: SYS_INIT
    MODULE: MYTEST.OBJ (MYTEST)
    This means that something in "mytest.obj" is using a thing called "sys_init," but nothing in your project is defining anything called "sys_init!"

    Does that Library require you to provide something called "sys_init?"

    Have you forgotten the header file for the Library?

Children
No data