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.
Tool/software: TI C/C++ Compiler
Hello all,
When i trying to adding the misra checking for a certain file in the project .. the build process can't be completed due to gmake error:
>> Compilation failure
subdir_rules.mk:44: recipe for target 'systick.obj' failed
Command-line error #1046: invalid macro definition: ccs=ccs
1 catastrophic error detected in the compilation of "../systick.c".
Compilation terminated.
gmake: *** [systick.obj] Error 1
gmake: Target 'all' not remade because of errors.
Knowing that when i cancel the misra checking .. the project can be built successfully.
Could any one tell me how to fix that?
Regards,
Sarea
To understand what happened, I need to see more details about the build.
I presume you use CCS to build. Please change the project build settings so MISRA is enabled and the problem occurs. Conduct the build again. In the CCS Console view (not the Problems view), use the icon Copy Build Log to save the build log to a text file. Be sure to use the file extension .txt. Please attach that file to your next post.
Thanks and regards,
-George
Please submit the build log that is requested.
Thanks and regards,
-George
Since it has been a while, I presume you have resolved your problem. I'd appreciate hearing how you resolved it.
Thanks and regards,
-George