AnsweredAssumed Answered

undefined reference to `sin,`sqrt and math functions

Question asked by Vishvapathi Karnan on Sep 4, 2013
Latest reply on Sep 5, 2013 by Vishvapathi Karnan

Hi,

I am using I.MX 6Q with Linux freescale 3.0.35-2508. I am trying to do some maths calculations, when i use sin,cos or sqrt function i am getting error.

 

Multiple markers at this line

    - undefined reference to

     `cos'

    - undefined reference to

     `sin'

 

I have included math.h header.

 

Kindly advice how to over come this issue,

Outcomes