problem when compiling fft_excample with gcc
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2014-06-18 3:54 AM
Posted on June 18, 2014 at 12:54
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?
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2014-06-18 4:41 AM
Posted on June 18, 2014 at 13:41
Hard to say, perhaps you need to #include error.h or math.h?
Or link against the math library, -lm
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
