[bt-devel] problem

Joachim Ansorg bt-devel@crosswire.org
Wed, 21 Nov 2001 10:56:45 +0100


I found the problem: The link order of static libs in bibletime/Makefile.am 
was wrong. The libs which have functions the other use have to be put behind 
the libs which use them. So liboptionsdialog.a had to be put after 
libpresenters.a.
I did this in my local version and it worked.

Martin, why is the place of CBTConfig frontend/optionsdialog? I think 
frontend/ is better for this, isn't it?
This would also solve the problem described above.

Joachim

> ./frontend/presenters/libpresenters.a(cswordpresenter.o): In function
> `QList<CSwordModuleInfo>::deleteItem(void *)':
> /home/mark/sw/kde/qt-2.3.1/include/qlist.h(.text+0x137): undefined
> reference to `CBTConfig::getAllModuleOptionDefaults(void)'
> /home/mark/sw/kde/qt-2.3.1/include/qlist.h(.text+0x152): undefined
> reference to `CBTConfig::getAllDisplayOptionDefaults(void)'
> collect2: ld returned 1 exit status
> make[3]: *** [bibletime] Error 1
> make[3]: Leaving directory `/home/mark/bibletime/bibletime/bibletime'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/mark/bibletime/bibletime/bibletime'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/mark/bibletime/bibletime'
> make: *** [all-recursive-am] Error 2

Joachim