undefined symbol : pow arm gcc compiler

Abdul Wahid Memon engrwahidmemon@gmail.com
Tue Sep 4 10:19:00 GMT 2012


Hello everyone

Built a plugin with GCC v4.6.3 and used that with arm gcc cross
compiler v 4.6.2 successfully.

But when I include some math functions in the plugin then I get the
following error


undefined symbol: pow

The command line looks like the following:

$ arm-none-linux-gnueabi-gcc -fplugin=./plugin.so hello.c -lm

Any help would be appreciated.

Regards

Abdul



More information about the Gcc-help mailing list