Re: undefined symbol : pow arm gcc compiler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux