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

Error L6218E undefined symbol

Trying to build project. The error I receive is Error L6218E: Underfined symbol TMP108_ReadRawTempValue <referred from ThermalOperations.o>. Using the DS-5 built in ARM compiler 5.

The symbol/function is declared in a h file, defined in a c file, and all header files are included.

Any suggestions?

  • The linker clearly thinks the code isn't part of the project. You'd need to look at defines that might be stopping, or be required, to build the code in question. Options on the file? Is the file flagged as .CPP or compiled as C++?

    Review the object file, use FROMELF to disassemble as see what code is, and is not, present, and if there is a pattern to that.