[bt-devel] Bibletime-2 compile problem

Joachim Ansorg bt-devel@crosswire.org
Sat, 10 Mar 2001 15:22:30 +0100


Hi Fred!

> Joachim
>
> I downloaded the bibletime-2 cvs today  (10 March) and used an existing
> sword CVS from last weekend.  The sword seems to have compiled OK and my
> last compile of bibletime could use it OK.
>
> Today
> make -f Makefile.cvs      completes OK
> ./configure               completes OK
> make                      ends in error, does not finish
>                           See dump of last part of the
>                           compile at end of message.
>
> It appears that libsword.so has a bunch of undefined references.
> Do I need to update the sword from CVS each time I want to update
> bibletime?
> How often do you update your copy of Sword?

No, a update of Sword is _not_ required each time you update BibleTime.
The Sword you have should work.

But if Sword adds new features you have to update.
Try to recompile Sword with "make clean; make"  and make sure Makefile.cfg 
wasn't changed by CVS.
To compile BibleTime you need normally only "make", if you have strange 
problems try "make distclean; make -f Makefile.cvs; ./configure ; make".

If we work on BibleTime sometimes things have to be recompiled.
But the releases will require a release of Sword, no CVS version and they 
shpuld compile without problems.

Joachim

>
> --
> Best Regards
> Fred Saalbach
> saalbach@sybercom.net
>
> Dump follows -->
>
> ibbibletime_frontend.la  -lsword
> g++ -O2 -fno-check-new -Wall -pedantic -W -Wpointer-arith
> -Wmissing-prototypes -
> Wwrite-strings -Wno-long-long -fno-builtin -o .libs/bibletime
> bibletime_init.o b
> ibletime_slots.o bibletime.o main.o bibletime.moc.o
> bibletime_meta_unload.o  -L/
> usr/X11R6/lib -L/usr/lib/qt-2.2.2/lib -L/usr/lib -L/usr/local/sword/lib
> -L/usr/l
> ib/qt2/lib -L/usr/lib/gcc-lib/i586-mandrake-linux/2.95.3
> -L/usr/i586-mandrake-li
> nux/lib -lXext -lX11 -lz -lz -lXext -lX11 -lz -lXext -lX11 -lz -lXext
> -lX11 -lXe
> xt -lX11 ./frontend/thirdparty/qt3stuff/libqt3stuff.a
> ./frontend/presenters/libp
> resenters.a ./frontend/keychooser/libkeychooser.a
> ./frontend/groupmanager/libgro
> upmanager.a ./frontend/searchdialog/libsearchdialog.a
> ./frontend/optionsdialog/l
> iboptionsdialog.a
> ./backend/sword_backend/.libs/libbibletime_swordbackend.so -lz
>  -lsword -lz -lsword -lz -lz -lXext -lX11 -lsword -lsword
> ./backend/.libs/libbib
> letime_backend.so -lsword -lz -lz -lXext -lX11 -lsword
> ./printing/libprinting.a
> ./frontend/.libs/libbibletime_frontend.so -lsword -lz -lz -lsword
> /home/fks00/De
> velop/bibletime-2/bibletime/backend/sword_backend/.libs/libbibletime_swordb
>acken
>
> d.so -lz -lsword -lz -lpthread
> /home/fks00/Develop/bibletime-2/bibletime/backend
> /.libs/libbibletime_backend.so -lsword -lz -lz -lsword -lsword -lz -lz
> -lz /usr/
> lib/libkfile.so /usr/lib/libksycoca.so /usr/lib/libkio.so
> /usr/lib/libkdeui.so /
> usr/lib/libkdesu.so /usr/lib/libkdecore.so -ldl /usr/lib/libDCOP.so -lqt
> -lpng /
> usr/lib/libjpeg.so -lXext -lX11 -lSM -lICE -lutil -lz -lz -lsword
> -lstdc++ -lm -
> lc -lgcc -lsword -Wl,--rpath -Wl,/usr/lib -Wl,--rpath
> -Wl,/usr/lib/qt-2.2.2/lib
> -Wl,--rpath -Wl,/usr/X11R6/lib
> ./frontend/optionsdialog/liboptionsdialog.a(coptionsdialog.o): In
> function `COpt
> ionsDialog::initGeneralPage(void)':
> coptionsdialog.o(.text+0x3b24): undefined reference to
> `LocaleMgr::systemLocaleM
> gr'
> coptionsdialog.o(.text+0x3b2a): undefined reference to
> `LocaleMgr::getAvailableL
> ocales(void)'
> coptionsdialog.o(.text+0x3b69): undefined reference to
> `LocaleMgr::systemLocaleM
> gr'
> coptionsdialog.o(.text+0x3b6e): undefined reference to
> `LocaleMgr::getLocale(cha
> r const *)'
> coptionsdialog.o(.text+0x3c3c): undefined reference to
> `LocaleMgr::systemLocaleM
> gr'
> coptionsdialog.o(.text+0x3c41): undefined reference to
> `LocaleMgr::getLocale(cha
> r const *)'
> ./frontend/optionsdialog/liboptionsdialog.a(coptionsdialog.o): In
> function `COpt
> ionsDialog::saveGeneralOptions(void)':
> coptionsdialog.o(.text+0x4e26): undefined reference to
> `LocaleMgr::systemLocaleM
> gr'
> coptionsdialog.o(.text+0x4e2c): undefined reference to
> `LocaleMgr::getAvailableL
> ocales(void)'
> coptionsdialog.o(.text+0x4e89): undefined reference to
> `LocaleMgr::systemLocaleM
> gr'
> coptionsdialog.o(.text+0x4e8e): undefined reference to
> `LocaleMgr::getLocale(cha
> r const *)'
> ./backend/sword_backend/.libs/libbibletime_swordbackend.so: undefined
> reference
> to `RTFHTML::RTFHTML(void)'
> /usr/local/sword/lib/libsword.so: undefined reference to `strstrip(char
> *)'
> ./backend/sword_backend/.libs/libbibletime_swordbackend.so: undefined
> reference
> to `LocaleMgr::getDefaultLocaleName(void)'
> ./backend/sword_backend/.libs/libbibletime_swordbackend.so: undefined
> reference
> to `SWConfig::SWConfig(char const *)'
> /usr/local/sword/lib/libsword.so: undefined reference to
> `SWLog::systemlog'
> /usr/local/sword/lib/libsword.so: undefined reference to
> `RawText::RawText(char
> const *, char const *, char const *, SWDisplay *)'
> /usr/local/sword/lib/libsword.so: undefined reference to
> `ZipCompress::ZipCompre
> ss(void)'
> ./backend/sword_backend/.libs/libbibletime_swordbackend.so: undefined
> reference
> to `SWDisplay type_info function'
> ./backend/sword_backend/.libs/libbibletime_swordbackend.so: undefined
> reference
> to `PLAINHTML::PLAINHTML(void)'
> ./backend/sword_backend/.libs/libbibletime_swordbackend.so: undefined
> reference
> to `LocaleMgr::setDefaultLocaleName(char const *)'
> /usr/local/sword/lib/libsword.so: undefined reference to
> `RawLD::RawLD(char cons
> t *, char const *, char const *, SWDisplay *)'
> ./backend/sword_backend/.libs/libbibletime_swordbackend.so: undefined
> reference
> to `RTFHTML::ProcessText(char *, int, SWKey const *)'
> ./backend/sword_backend/.libs/libbibletime_swordbackend.so: undefined
> reference
> to `GBFHTML::GBFHTML(void)'
> /usr/local/sword/lib/libsword.so: undefined reference to
> `HREFCom::HREFCom(char
> const *, char const *, char const *, char const *, SWDisplay *)'
> ./backend/sword_backend/.libs/libbibletime_swordbackend.so: undefined
> reference
> to `SWDisplay type_info node'
> /usr/local/sword/lib/libsword.so: undefined reference to
> `RawFiles::RawFiles(cha
> r const *, char const *, char const *, SWDisplay *)'
> /usr/local/sword/lib/libsword.so: undefined reference to
> `GBFFootnotes::GBFFootn
> otes(void)'
> /usr/local/sword/lib/libsword.so: undefined reference to
> `SWConfig::~SWConfig(vo
> id)'
> /usr/local/sword/lib/libsword.so: undefined reference to
> `CipherFilter::CipherFi
> lter(char const *)'
> /usr/local/sword/lib/libsword.so: undefined reference to
> `zText::zText(char cons
> t *, char const *, char const *, int, SWCompress *, SWDisplay *)'
> ./backend/sword_backend/.libs/libbibletime_swordbackend.so: undefined
> reference
> to `SWDisplay virtual table'
> ./backend/sword_backend/.libs/libbibletime_swordbackend.so: undefined
> reference
> to `SWDisplay::Display(SWModule &)'
> /usr/local/sword/lib/libsword.so: undefined reference to
> `RawCom::RawCom(char co
> nst *, char const *, char const *, SWDisplay *)'
> ./backend/sword_backend/.libs/libbibletime_swordbackend.so: undefined
> reference
> to `stdstr(char **, char const *)'
> /usr/local/sword/lib/libsword.so: undefined reference to
> `GBFStrongs::GBFStrongs
> (void)'
> /usr/local/sword/lib/libsword.so: undefined reference to
> `GBFPlain::GBFPlain(voi
> d)'
> /usr/local/sword/lib/libsword.so: undefined reference to `stricmp(char
> const *,
> char const *)'
> ./backend/sword_backend/.libs/libbibletime_swordbackend.so: undefined
> reference
> to `ThMLHTML::ThMLHTML(void)'
> /usr/local/sword/lib/libsword.so: undefined reference to
> `LZSSCompress::LZSSComp
> ress(void)'
> collect2: ld returned 1 exit status
> make[3]: *** [bibletime] Error 1
> make[3]: Leaving directory `/home/fks00/Develop/bibletime-2/bibletime'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/fks00/Develop/bibletime-2/bibletime'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/fks00/Develop/bibletime-2'
> make: *** [all-recursive-am] Error 2
> [root@localhost bibletime-2]#
>
>
> ------------
> end

-- 
Joachim Ansorg
BibleTime - www.bibletime.de - info@bibletime.de
BibleTime is an easy to use Bible study tool for KDE / Linux.