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.
I keep getting this error. I'm not sure what to do. I've read about making sure that "message" is built but I've built it separately and it appears to be building during the compile process, I just get this linking error.
This is a new .c and .h I've put into the project. I've also read to make sure I've included it in my build. I'm not sure I know how to "include" it in the build. The file is in my project so I assumed the compiler would pick it up automatically.
I also don't understand why the compiler keeps building "Example_280xECap_Capture_Pwm.out" when I've renamed the project and .c file to VGC and VGC.c.
Thanks,
"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/C2000 Code Generation Tools 5.2.10/bin/cl2000" -@ccsLinker.opt -o "Example_280xECap_Capture_Pwm.out"
undefined first referenced
symbol in file
--------- ----------------
_crm ./message.obj
error: unresolved symbols remain
warning: entry-point symbol other than "_c_int00" specified: "code_start"
error: errors encountered during linking; "Example_280xECap_Capture_Pwm.out"
not built
>> Compilation failure
C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake: *** [Example_280xECap_Capture_Pwm.out] Error 1
C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake: Target `all' not remade because of errors.
Build complete for project
I found it. I was using extern volatile struct rather than volatile struct. I'm compiled.
Hi Richard,
Can you please exactly let me know what you did to get those errors fixed? I keep getting same errors and have no idea how to fix it.
Thanks,
Mehran
Hi Mehran,
In my case I was declaring my struct wrong. I was using extern in the declaration. To fix it, I changed this:
extern volatile struct INT_FAULTS IntFlt;
to this:
volatile struct INT_FAULTS IntFlt;