Re: libltdl problem

From: Måns Rullgård (mru_at_mru.ath.cx)
Date: 10/11/04


Date: Mon, 11 Oct 2004 01:50:16 +0200

jennybabee111@yahoo.com.au (Jenny) writes:

> I have encountered another problem while loading the module:
> ./flower: error while loading shared libraries: .libs/ccd.so.0:
> undefined symbol: _ZNK7PicData11has_contourEv
>
> I guess _ZNK7PicData11has_contourEv means that it can't find the
> member fuction "bool has_contour(void) const;" which is defined in
> the class PicData. The header file which declares the class PicData is
> #included in both module loader and the module. I have tried adding
> 'extern "C"' in the PicData header file, but it continues giving me
> the error message and terminates itself. What should I do to avoid
> this new problem? :(

You are definitely having a problem with name mangling. I'd check the
extern "C" bits again, making sure only symbols you need to know the
exact name of have this declaration, i.e. the module entry point.
Leave the rest alone.

-- 
Måns Rullgård
mru@mru.ath.cx


Relevant Pages

  • Re: bring an already running app to the front
    ... The most reliable way is to translate the '#define's in the according header ... The name of the header file containing the define is listed in the ... for VB.NET (note that the quality is poor because the declares are based on VB6 declares which often cannot be converted to the right VB.NET declares automatically): ... different .NET programming languages: ...
    (microsoft.public.dotnet.languages.vb)
  • Re: libltdl problem
    ... The header file which declares the class PicData is ... the error message and terminates itself. ...
    (comp.os.linux.development.apps)
  • Re: How do I inhibit warning 528?
    ... >> in the header file, then each file that needs it declares ... compiler will type-check no matter how you initialize it. ...
    (comp.lang.c)
  • Re: libltdl problem
    ... The header file which declares the class PicData is ... >> the error message and terminates itself. ...
    (comp.os.linux.development.apps)
  • Re: Linker error - fooView.obj LNK2005: _IID_IProvideTaskPage already defined in fooDoc.obj
    ... Sounds like you have included a header file what declares an IID_ and CLSID_ variable in ... MVP Tips: http://www.flounder.com/mvp_tips.htm ...
    (microsoft.public.vc.mfc)