On 09/04/2012 03:11 PM, Abdul Wahid Memon wrote: > This is the problem that cross compiler is not linking with the math library. Right, because the cross compiler does not need the math library. > During plugin development, I have specified -lm (though it is also > compiling without specifying -lm) and also when I am calling the > plugin, I am specifying -lm to indicate the compiler that link the > math library too. That's the part I'd need to see to believe. If your plugin is linked with -lm, then 'ldd plugin' will show libm.so. > But, in my previous mail, as can be seen that the libraries searched > do not include libmath.so file. This is what I don't understand that > why it is not including the library. The problem occurs when linking your plugin. You need to look very closely at that step. Andrew.