Re: undefined symbol : pow arm gcc compiler

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

 



Anupam

Yes, its included. I can successfully use this plugin with native GCC
but the problem occurs only with cross compiler.

I have checked the search directories for cross compiler and libm.so
can easily be found by the cross compiler, but I don't understand why
it is complaining.

Regards

Abdul

On Tue, Sep 4, 2012 at 10:47 AM, Anupam Chahar <aschahar@xxxxxxxxx> wrote:
> hey ,
>
> Did you include math.h?
>
>
> On Tue, Sep 4, 2012 at 12:19 PM, Abdul Wahid Memon
> <engrwahidmemon@xxxxxxxxx> wrote:
>>
>> 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
>
>
>
>
> --
> Anupam Chahar
>
>


[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