Guest
#3081678
hello forum I got "undefined reference to `cos' error" for ARM Cortex M4 where to change below Eclipse makefile ? thank you
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 | |
11 | |
12 | |
13 | |
14 | |
15 | |
16 | |
17 | |
18 | |
19 | |
20 | |
21 | |
22 | |
23 | |
help undefined reference to `cos'
Guest
#3081678
hello forum I got "undefined reference to `cos' error" for ARM Cortex M4 where to change below Eclipse makefile ? thank you
Guest
#3081696
LDFLAGS needs -lm
Guest
#3081769
LDFLAGS = -mcpu=cortex-m3 -mthumb -g -v -nostartfiles -lm I tried above line, no success - still same error I also cleaned the project and recompiled , still same error Specify -lm after your objects!
Guest
#3081943
thank you Johann L <-> it worked ReplyPlease log in before posting. |