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

.LIBs not being recognised by the Linker

I get the below error while linking a .LIB which was created using Keil Linker(version unknown) to my .OBJs on my Keil Linker BL51.V6.22 :

*** FATAL ERROR L218: NOT AN OBJECT FILE FILE: ..\Library\API.LIB
Target not created

There were many threads discussing the same issue in this forum but none were conclusive. Pls can someone point out as to why this is happening?

Thanks!

Parents
  • If you don't know exactly what created the library, then you have no guarantee that it's going to be compatible - and, aparrently, it isn't!

    You're just going to have to go back to the supplier of that library and ask specifically for one that's compatible with the tools that you have.
    Or ask what tools are needed to be compatible with the Library as-is.

Reply
  • If you don't know exactly what created the library, then you have no guarantee that it's going to be compatible - and, aparrently, it isn't!

    You're just going to have to go back to the supplier of that library and ask specifically for one that's compatible with the tools that you have.
    Or ask what tools are needed to be compatible with the Library as-is.

Children