S32K1 MBDT "undefined reference to 'fmod'"

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K1 MBDT "undefined reference to 'fmod'"

783 Views
WeoWang
NXP Employee
NXP Employee

Hi Dear Colleagues,

My customer met a problem when using S32DS to compile and debug project generated by MBDT:

WeoWang_0-1656560109844.jpeg

Sometimes it's "undefined reference to 'floor'", do you know what is missing? Thanks

0 Kudos
1 Reply

760 Views
vladmitroi
NXP Employee
NXP Employee

Hi @WeoWang ,

Please make sure you have the math library (-lm) linked to your S32DS project.

 

vladmitroi_0-1656676488067.png

 

Regards,

Vlad M.