Re: undefined symbol: __pure_virtual

From: QNils_O=2E_Sel=E5sdal=22?= (NOS_at_Utel.no)
Date: 08/30/05


Date: Tue, 30 Aug 2005 12:24:20 +0200

Nils O. Selåsdal wrote:
> niraj.kumar.ait@gmail.com wrote:
>
>> I m loading it dynamically with dlopen dlsym
>> and compling the caller program with same compiler g++296
>>
> Ok. So compiling is good. What about linking.
> And when do you get these errors ?
> You should provide more relevant information,
> it gives people a better change of helping.
> (e.g. you platform, the error as copy pasted
> from where you see it, inclusing relevant ? lines before
> /after and so on)

That said, you might try to link to your library explicittly
to the gcc library. -lgcc



Relevant Pages

  • Re: undefined symbol: __pure_virtual
    ... > I m loading it dynamically with dlopen dlsym ... So compiling is good. ... What about linking. ... You should provide more relevant information, ...
    (comp.unix.programmer)
  • Re: undefined symbol: __pure_virtual
    ... Are you linking with g++ or gcc? ... (state your platform and other relevant information as well.) ...
    (comp.unix.programmer)