This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
undefined symbol : pow arm gcc compiler
- From: Abdul Wahid Memon <engrwahidmemon at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 4 Sep 2012 10:19:06 +0000
- Subject: undefined symbol : pow arm gcc compiler
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