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@xxxxxxxxxx> wrote: > On Sat, Jun 22, 2013 at 12:31 AM, Sandeep K Chaudhary > <babbusandy2006@xxxxxxxxx> 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.