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.

Compile error as "undefined reference to 'floor' "

Hi,

I'm trying to add an opencv application code into /dvsdk_2_00_00_22\codec_engine_2_23_01\examples\ti\sdo\ce\examples\apps\video_copy\dualcpu\evmDM6446. This code was compiled and tested in CCS in ARM side. It runs ok for function test. Now the code was added into Linux and but got compile error as below: 

I added the -lm compile option in makefile and compile. It shows 

arm_v5t_le-gcc: -lm: linker input file unused because linking not done

and also same error.

My understanding is it need to use standard C math lib and -lm is to link the lib but it failed. Could anyone can tell me what the reason is? Thanks in advance!