cosf has the following signature:
    float cosf(float x);

it is not present in all C libraries, but you can usually get away with simply defining it yourself like so:
   #include <math.h>

    float cosf(float x) {
        return (float)cos(x);
   }

Paul


Hi All,

I am facing issue regarding undefined reference to "cosf" while
cross compiling WebKit for MIPS.
I searched a lot and find out that this function is not available for MIPS so far

Can anybody help me in resolving this issue .

Thanks and Regards
Nishit

_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev