Missing C math functions (solved)

I'm porting a piece of C code which uses math functions like floorf(), powf(), expf(), logf(), roundf() etc. I don't see these declared anywhere in our SDK - so how would I best go about compiling the code? Any tips appreciated!

@trixie
Not sure, but if you're using a makefile with seperate compile and link stages, you might also need to add "-lm" to the link stage. I don't know how much precision you need but if you look in math.h there are also double precision versions of most functions.

The source code did include math.h (that was the first thing I checked) but GCC still complained about an "incompatible implicit declaration of built-in function". I solved the problem by #undef-ining __STRICT_ANSI__ (I didn't realize that the -std=c99 compiler switch in the provided makefile defined this macro automatically).