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.

Linux/PROCESSOR-SDK-AM437X: Undefined <math.h> references cos and sin

Part Number: PROCESSOR-SDK-AM437X


Tool/software: Linux

When I include <math.h> and compile with arm-Linux-gnueabihf-gcc, the build fails because of undefined references to cos and sin. Likewise, the example Linux application whetstone.c does not build for the same reasons. Rules.make defines CFLAGS = -march=armv7-a -marm -mfpu=neon -mfloat-abi=hard

Why does the default Makefile and Rules.make not work with the example applications?

How do we include math.h for the AM437x target?