[bt-devel] Unresolved references in backend

Torsten Uhlmann bt-devel@crosswire.org
23 Jan 2000 15:24:30 +0100


>>>>> "Joachim" == Joachim Ansorg <Jockel123@gmx.de> writes:

    > Hi Torsten!  I played around with your backend.  But if I use
    > CBackend I get unresolved references.

    > Here are the messages of the compiler (I don't understannd why
    > because the needed functions are in CData !) :

I get the same with your stuff :) This is probably a bug in the
generation of the Makefile.am. Please check if all static libs
(libbackend.a etc.) are linked to the project.

I updated CVS with my stuff. I didn't get it to work though. There is an
undefined reference to CModulePresenter ...

Hope you can get it to work.

    > chtmlentrydisplay.o(.text+0x1e5): undefined reference to
    > `CData::clearData(void)'
    > ./backend/sword/libsword.a(chtmlentrydisplay.o): In function
    > `CHTMLEntryDisplay::setData(ModuleT ype, QString const &, QString
    > const &, QString const &)': chtmlentrydisplay.o(.text+0x10bb):
    > undefined reference to `CData::setData(QString const &)'
    > chtmlentrydisplay.o(.text+0x10c5): undefined reference to
    > `CData::setModuleType(ModuleType)'
    > chtmlentrydisplay.o(.text+0x10cf): undefined reference to
    > `CData::setKey(QString const &)'
    > chtmlentrydisplay.o(.text+0x1297): undefined reference to
    > `CData::setDataType(DataType)'
    > ./backend/sword/libsword.a(cswordmoduleinfo.o): In function
    > `CSWORDModuleInfo::CSWORDModuleInfo( void)':
    > cswordmoduleinfo.o(.text+0x9): undefined reference to
    > `CModuleInfo::CModuleInfo(void)' cswordmoduleinfo.o(.text+0x94):
    > undefined reference to `CModuleInfo::~CModuleInfo(void)'
    > ./backend/sword/libsword.a(cswordmoduleinfo.o): In function
    > `CSWORDModuleInfo::~CSWORDModuleInfo (void)':
    > cswordmoduleinfo.o(.text+0xfa): undefined reference to
    > `CModuleInfo::~CModuleInfo(void)'
    > ./backend/sword/libsword.a(cswordmoduleinfo.o): In function
    > `CSWORDModuleInfo::getTextForKey(QSt ring const &)':
    > cswordmoduleinfo.o(.text+0x471): undefined reference to
    > `CData::clearData(void)' cswordmoduleinfo.o(.text+0x500):
    > undefined reference to `CData::setAll(ModuleType, DataType, QSt
    > ring const &, QString const &)'
    > ./backend/sword/libsword.a(cswordmoduleinfo.o): In function
    > `CSWORDModuleInfo::lookupText(QStrin g const &)':
    > cswordmoduleinfo.o(.text+0x8b6): undefined reference to
    > `CData::copy(CData *)'
    > ./backend/sword/libsword.a(cswordmoduleinfo.moc.o): In function
    > `CSWORDModuleInfo::initMetaObjec t(void)':
    > cswordmoduleinfo.moc.o(.text+0x21): undefined reference to
    > `CModuleInfo::className(void) const'
    > ./backend/sword/libsword.a(cswordmoduleinfo.moc.o): In function
    > `CSWORDModuleInfo::staticMetaObj ect(void)':
    > cswordmoduleinfo.moc.o(.text+0xbd): undefined reference to
    > `CModuleInfo::staticMetaObject(void)'
    > ./backend/sword/libsword.a(cswordmoduleinfo.moc.o): In function
    > `CSWORDModuleInfo type_info func tion':
    > cswordmoduleinfo.moc.o(.text+0x113): undefined reference to
    > `CModuleInfo type_info function'
    > cswordmoduleinfo.moc.o(.text+0x118): undefined reference to
    > `CModuleInfo type_info node' collect2: ld returned 1 exit status
    > make[3]: *** [bibletime] Error 1 make[3]: Leaving directory
    > `/home/joachim/BibleTime/bibletime-2/bibletime' make[2]: ***
    > [all-recursive] Error 1 make[2]: Leaving directory
    > `/home/joachim/BibleTime/bibletime-2/bibletime' make[1]: ***
    > [all-recursive] Error 1 make[1]: Leaving directory
    > `/home/joachim/BibleTime/bibletime-2' make: *** [all-recursive-am]
    > Error 2 joachim@joachim:~/BibleTime/bibletime-2 >



    > -- Joachim BibleTime - the bible study program for KDE
    > http://www.bibletime.de/ info@bibletime.de

-- 

best regards,
Torsten Uhlmann

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TUhlmann@gmx.de
TUhlmann@debis.com

http://www.tuhlmann.purespace.de
http://www.bibletime.de
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Wise men still seek him!