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
Hi,
In my project i am getting the below ERROR during the linking
"fatal error #10192: Failed linktime optimization"
error: symbol "MAC_scheduleTxRx" redeclared with incompatible type:
"void(macSyncdTxRxEvent_t *)"
in
".......MAC/HighLevel/data_txrx_.h" at line 163 and:
"void(macSyncdTxRxEvent_t *)"
in "../154MAC/HighLevel/data_txrx_.c" at line 608)
- I am using the optimization level 4.
- When I changed the optimization level to 3 the compilation and linking happens properly without this error.
- I have only one file where this function is declared.
- I am using the Code Composer Studio Version: 9.0.1.00004
- Please help me to resolve this issue
Thanks
Anand
Anand,
Could you send us a simple example project that can be used to reproduce the error? That will help us investigate the issue. Use the procedure described in this Project Sharing page to archive the project and attach the zip file here.
Anand,
I hope the advice in the referenced forum post was helpful in working around the issue. Let us know if that is not the case.