[bt-devel] Unresolved references in backend

Joachim Ansorg bt-devel@crosswire.org
Sun, 23 Jan 2000 20:06:27 +0000


Hi Torsten!

It solved the problems if I'm _not_ usiong CBackend.
But if I use CBackend I get the same unresolved References as before.
Moving libbackend.a in bibletime/Makefile.am solves most of the unresolved
references, but CBackend::CBackend() and another one can't be resolved (they're
the functions I use).

How to solve the problem now?

Look at bibletime.kdevprj and you'll see some failed CVS commits ;-(

--Joachim

> On problem left:
> 
> KDevelop overwrites the Makefile with it's one ones.
> --Joachim
> 
> > >>>>> "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 have fixed the Makefile.am 's and committed to CVS. I also put
> > bibletime.kdevprj in .cvsignore so that it does not always overwrite my
> > own. That gives us the problem that we need to know what changes in the
> > project. So I ask everybody who does changes that reflect in Makefile.am
> > please document them when committing to CVS, e.g. name the files you
> > added so I can do so in my project file.
> > I though don't know if the project file gets updated so if someone
> > checksout the sources he also gets a working bibletime.kdevprj file.
> > 
> >     > 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!
> -- 
> BibleTime - the bible study program for KDE
> http://www.bibletime.de/
> info@bibletime.de
-- 
BibleTime - the bible study program for KDE
http://www.bibletime.de/
info@bibletime.de