[bt-devel] BUG FOUND !

Joachim Ansorg bt-devel@crosswire.org
Thu, 2 Mar 2000 16:05:24 +0000


Hi!

I finally found the bug causing all the problems!

As Darwin and Tortsen mentioned, it's something with Makefiles.

After removing the kdelnk file from the project I made a diff -u and noticed
that only the following line changed (the text after bibletime_LDADD should be
_one_ line!):

bibletime_LDADD   = ./backend/sword/libsword.a
./backend/sword/filter/libfilter.a ./backend/libbackend.a
./tipofday/libtipofday.a ./frontend/libfrontend.a
./frontend/presenters/libpresenters.a ./frontend/groupmanager/libgroupmanager.a
./frontend/optionsdialog/liboptionsdialog.a
./frontend/searchdialog/libsearchdialog.a -lkhtml -lkimgio -lkdeui -lkdecore
-lqt -lXext -lX11 $(LIBSOCKET)	 #this is working

bibletime_LDADD   = ./backend/sword/libsword.a
./backend/sword/filter/libfilter.a ./backend/libbackend.a
./tipofday/libtipofday.a ./frontend/libfrontend.a
./frontend/presenters/libpresenters.a ./frontend/groupmanager/libgroupmanager.a
./frontend/optionsdialog/liboptionsdialog.a
./frontend/searchdialog/libsearchdialog.a -lkimgio -lkhtml -lkdeui -lkdecore
-lqt -lXext -lX11 $(LIBSOCKET)
#this causes all the problems we had,
# the difference is  "-lkhtml -lkimgio " -> "-lkimgio -lkhtml "


Obviously it's not possible to link the kimgio library before the khtml library!!
I tried this several times to reproduce the bug and it worked everytime.

If you have the GUI problems try to change the line mentioned above. It should
work.

If it works everywhere I'll try to write a small test program for the KDE team
to solve the bug.

Hope this is solved now!

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