[bt-devel] Problem compiling Bibletime from CVS on FC5 (gcc 4.1.0-3)

Steven P. Ulrick lists-bibletime at afolkey2.net
Thu Mar 30 07:09:48 MST 2006


Hello, Everyone
When attempting to build Bibletime from CVS on Fedora Core 5 (with
sword 1.5.8 compiled from source), I get the following error:

make[4]: Entering directory `/home/steve/CVS/Assorted-CVS-Modules/bibletime/bibletime/frontend/searchdialog'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/local/kde-svn-fc5/include -I/usr/lib/qt-3.3/include -I.  -I/usr/local/kde-svn-fc5/include/sword -I/usr/local/kde-svn-fc5/include  -DQT_THREAD_SUPPORT  -D_REENTRANT -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -DQT_CLEAN_NAMESPACE -Wall -I../../../ -I../../../bibletime -I../../../bibletime  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -g3 -fno-inline -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -fexceptions  -MT csearchdialog.o -MD -MP -MF ".deps/csearchdialog.Tpo" \
  -c -o csearchdialog.o `test -f 'csearchdialog.cpp' || echo './'`csearchdialog.cpp; \
then mv -f ".deps/csearchdialog.Tpo" ".deps/csearchdialog.Po"; \
else rm -f ".deps/csearchdialog.Tpo"; exit 1; \
fi
/usr/local/kde-svn-fc5/include/sword/swdisp.h:36: warning: ‘class sword::SWDisplay’ has virtual functions but non-virtual destructor
/usr/local/kde-svn-fc5/include/sword/swfilter.h:78: warning: unused parameter ‘ival’
/usr/local/kde-svn-fc5/include/sword/swmodule.h:405: warning: unused parameter ‘path’
/usr/local/kde-svn-fc5/include/sword/swmodule.h:409: warning: unused parameter ‘inbuf’
/usr/local/kde-svn-fc5/include/sword/swmodule.h:409: warning: unused parameter ‘len’
/usr/local/kde-svn-fc5/include/sword/swmodule.h:414: warning: unused parameter ‘sourceKey’
/usr/local/kde-svn-fc5/include/sword/swlog.h:31: warning: ‘class sword::SWLog’ has virtual functions but non-virtual destructor
csearchdialogpages.h:182: error: extra qualification ‘Search::Result::CSearchResultPage::’ on member ‘QueryParser’
/usr/lib/qt-3.3/include/qtooltip.h:86: warning: ‘class QToolTip’ has virtual functions but non-virtual destructor
make[4]: *** [csearchdialog.o] Error 1
make[4]: Leaving directory `/home/steve/CVS/Assorted-CVS-Modules/bibletime/bibletime/frontend/searchdialog'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/steve/CVS/Assorted-CVS-Modules/bibletime/bibletime/frontend'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/steve/CVS/Assorted-CVS-Modules/bibletime/bibletime'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/steve/CVS/Assorted-CVS-Modules/bibletime'
make: *** [all] Error 2

If I heed the advice of this part of that error:
"csearchdialogpages.h:182: error: extra qualification ‘Search::Result::CSearchResultPage::’ on member ‘QueryParser’"

and change
"bibletime/bibletime/frontend/searchdialog/csearchdialogpages.h" as
follows:

FROM: QStringList CSearchResultPage::QueryParser(const QString& queryString);
TO: QStringList QueryParser(const QString& queryString);


then Bibletime from CVS will compile on my Fedora Core 5 install.

Since this may be related to gcc (on which side the fault lies, I have
no idea), my version of gcc is as follows: gcc-4.1.0-3

Have a Great Day,
Steven P. Ulrick


More information about the bt-devel mailing list