Hi,
I'm using the 243x-EVM - encountered an error: undefined reference to `sinf'
I have the #include <math.h>
Should I add something to the Linker properties (I'm using CCS-12.04) ?
Thanks,
Eli
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.
Hi,
I'm using the 243x-EVM - encountered an error: undefined reference to `sinf'
I have the #include <math.h>
Should I add something to the Linker properties (I'm using CCS-12.04) ?
Thanks,
Eli
Hi Eli Mordel,
Can you point out to any existing examples that you are using which can be used to simulate this problem ?
Best Regards,
Aakash
Hi Aakash,
I'm adding code to the mcu_plus_SDK_243x tcp server example - but I'm using gcc chain tool
The problem is that the linker can't see the math lib.
I saw a recommendation of adding -lm to the linker commands but it doesn't help.
Please advice.
Thanks,
Eli
Hi,
Found a solution !
I've added "-lm" at the end of the linker Command-line pattern
Thanks,
Eli