2014-06-18 03:54 AM
Hello,
i'v try to compile example fft code
u
sing stm
dsp libraries.
Got this error message:
/usr/gcc-arm-none-eabi-4_7-2013q1/bin/../lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/lib/armv7e-m/fpu/libm.a(lib_a-wf_sqrt.o): In function `sqrtf': wf_sqrt.c:(.text.sqrtf+0x98): undefined reference to `__errno' wf_sqrt.c:(.text.sqrtf+0xa2): undefined reference to `__errno' collect2: error: ld returned 1 exit status Any ideashow to solve this?
2014-06-18 04:41 AM
Hard to say, perhaps you need to #include error.h or math.h?
Or link against the math library, -lm