This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Undefined Symbol "reset_isr"

Guru 15580 points

Can anyone help me diagnose this error?

<Linking>

undefined first referenced
symbol in file
--------- ----------------
reset_isr

error #10234-D: unresolved symbols remain
warning #10062-D: entry-point symbol "reset_isr" undefined

I recently deleted my custom vector.asm from my project and linked to the CSL vector.asm file. However, I now get the above error. Thoughts appreciated.

  • Hi MikeH

    How did you replace the file? Did you change any where in the code?

    AFAIK, in the CSL vectors.asm interrupt reset_isr is already defined (down below in vectors.asm). So as long as you make sure vectors.asm is linked into the program it should work properly.

    Good luck!

  • Since TI no longer appears to participate, in these discussions, I will answer my own question:

    It turns out that, for some reason, my project had pre-defined --entry_point -e as "reset_isr" (it may have been a relic of one of the demo projects I imported). My original vector.asm had defined reset_isr, but the vector.asm in the CSL *does not*. My temporary fix was to add the definition to the CSL vector.asm file, which fixed the "undefined symbol" linking error. However, it is not a good idea to modify code in the CSL (this make updates messy). So, by deleting "reset_isr" from the project properties window -e, I can now successfully build/link with the standard CSL vector.asm file. 

    Below is a snapshot of where to find the --entry_point setting in CCS5.1

    Below is a snapshot of my CSL vector.asm file showing were I had previously defined reset_isr. It is now commented out.