mvme5500, rtems-4.9.0: undefined reference to `cos'

Ingolf Steinbach ingolf.steinbach at
Fri Dec 19 09:14:44 UTC 2008

2008/12/19 rtwas <rtwas at>:
> Despite having "-lm" clearly visible in the command-line trig functions go
> unresolved at link time.
> -Map linkmap -lm o-optimize/main.o o-optimize/testfile.o -lgcc

Maybe the problem is that -lm is in front of your .o files. Are you
sure that you set the correct variables in your make file to include

Kind regards

More information about the users mailing list