Help needed with loading a gcc plugin

Sandeep K Chaudhary babbusandy2006@gmail.com
Sun Jun 23 04:11:00 GMT 2013


Hi Lance,

Thanks for the reply ! I tried using C++ instead of C compiler but I
still got the same error. I don't know what is wrong with the way I'm
trying to build/load my plugin.

Regards,
Sandeep.

On Sat, Jun 22, 2013 at 6:02 PM, Ian Lance Taylor <iant@google.com> wrote:
> On Sat, Jun 22, 2013 at 12:31 AM, Sandeep K Chaudhary
> <babbusandy2006@gmail.com> wrote:
>
>> cc1: error: cannot load plugin /home/sandeep/myplugin/speller.so
>
>> 0000000000c1e5a0 T warning_at(unsigned int, int, char const*, ...)
>
>> What am I missing? How should I link the libraries correctly?
>
> You need to compile your plugin with the C++ compiler.
>
> Ian



-- 
Thanks and regards,
Sandeep K Chaudhary.



More information about the Gcc-help mailing list