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.

IQ math Lib error

I am using the IQmath library When I am using parameters for function(float to _IQ conversion) as variables ,it gives following error :

  1. undefined reference to `__aeabi_fmul'
  2. undefined reference to `__aeabi_f2iz'
but no error appears when I use floating constants, instead of floating variables.

code:

int main(void)

{

_iq24 l,m;

float b=3.3, c=4.5; 

l = _IQ24(b);
m = _IQ24(c);

}

whereas below code works where I am using constants instead of variables : 

int main(void)

{

_iq24 l,m;

l = _IQ24(3.3);        

m = _IQ24(4.5);

}

Also, no error occurs if I use variables as long datatype .