When I am compiling an S32K project using cmake, when I add the sin() function in the math. h library, an undefined reference to 'sin' appears during the linking process. What is the reason for this.
Dear: Thank you very much for your reply. I did not use the IDE for project construction, but instead used cmake as the construction method. I also added - lc - lm - lgcc in the link options, but still reported the above issue.