From: Sandeep K Chaudhary <babbusandy2006@gmail.com>
To: Ian Lance Taylor <iant@google.com>
Cc: gcc-help@gcc.gnu.org
Subject: Re: Help needed with loading a gcc plugin
Date: Sun, 23 Jun 2013 04:11:00 -0000 [thread overview]
Message-ID: <CAEEAEzUn4RSTfxZnGPRi8p23X=BAvvpRgeRDGgTOqw_wmRrRuQ@mail.gmail.com> (raw)
In-Reply-To: <CAKOQZ8xTa0LVxHZptx=ngg5VfQ2+vYeZZ-MEGPq4kPvQLr5+ag@mail.gmail.com>
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.
next prev parent reply other threads:[~2013-06-23 4:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-22 7:31 Sandeep K Chaudhary
2013-06-22 22:02 ` Ian Lance Taylor
2013-06-23 4:11 ` Sandeep K Chaudhary [this message]
2013-06-25 6:00 ` Sandeep K Chaudhary
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAEEAEzUn4RSTfxZnGPRi8p23X=BAvvpRgeRDGgTOqw_wmRrRuQ@mail.gmail.com' \
--to=babbusandy2006@gmail.com \
--cc=gcc-help@gcc.gnu.org \
--cc=iant@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).