[bt-devel] Make error
Joachim Ansorg
bt-devel@crosswire.org
Sun, 20 Oct 2002 18:54:21 +0200
Yes, BibleTime will always compile with GCC 2.96.
You need at least Sword 1.5.4a or current CVS because Sword's classes use now
a sword namespace.
Joachim
> I am getting a strange error message on make. Is bibletime supposed to
> still be able to compile under gcc 2.96 - aka mandrake 8.1? I plan on
> upgrading in a few weeks so if the issue is related to the gcc version
> this will shortly become a moot point for me.
>
> bibletime cvs was downloaded last night
> sword is a few weeks old
>
> Fred
>
> ----------------------------------
> make dump follows
> ----------------------------------
>
> [fred@localhost bibletime]$ make
> make all-recursive
> make[1]: Entering directory
> `/home/fred/Develop/cvs_repository/bibletime'
> Making all in bibletime
> make[2]: Entering directory
> `/home/fred/Develop/cvs_repository/bibletime/bibletime'
> Making all in backend
> make[3]: Entering directory
> `/home/fred/Develop/cvs_repository/bibletime/bibletime/backend'
> c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/kde3/include
> -I/usr/lib/qt3/include -I/usr/X11R6/include -I/usr/include/sword
> -DQT_THREAD_SUPPORT -D_REENTRANT -DQT_NO_ASCII_CAST -DQT_NO_COMPAT
> -DQT_CLEAN_NAMESPACE -Wall -I../../ -I../../bibletime -O2
> -fno-exceptions -fno-check-new -c cswordmodulesearch.cpp
> In file included from cswordmodulesearch.cpp:19:
> cswordmodulesearch.h:98: `sword' was not declared in this scope
> cswordmodulesearch.h:98: parse error before `::'
> cswordmodulesearch.h:133: syntax error before `::'
> cswordmodulesearch.h:140: syntax error before `::'
> In file included from cswordmoduleinfo.h:22,
> from cswordmodulesearch.cpp:20:
> cswordbackend.h:51: `sword' is not a class or namespace
> cswordbackend.h:51: `SWMgr' is not a class or namespace
> cswordbackend.h:166: syntax error before `::'
> cswordbackend.h:171: type specifier omitted for parameter
> cswordbackend.h:171: parse error before `::'
> cswordbackend.h:187: ISO C++ forbids declaration of `sword' with no
> type
> cswordbackend.h:187: `sword' declared as a `virtual' field
> cswordbackend.h:187: parse error before `::'
> cswordbackend.h:191: syntax error before `::'
> cswordbackend.h:200: `sword' was not declared in this scope
> cswordbackend.h:200: parse error before `::'
> cswordbackend.h:205: syntax error before `::'
> cswordbackend.h:206: syntax error before `::'
> cswordbackend.h:207: syntax error before `::'
> cswordbackend.h:225: syntax error before `::'
> In file included from cswordmodulesearch.cpp:20:
> cswordmoduleinfo.h:35: parse error before `;'
> cswordmoduleinfo.h:99: parse error before `*'
> cswordmoduleinfo.h:107: syntax error before `*'
> cswordmoduleinfo.h:142: type specifier omitted for parameter
> cswordmoduleinfo.h:142: parse error before `,'
> cswordmoduleinfo.h:142: `search' declared as function returning a
> function
> cswordmoduleinfo.h:142: parse error before `)'
> cswordmoduleinfo.h:147: ISO C++ forbids declaration of `ListKey' with
> no type
> cswordmoduleinfo.h:147: `ListKey' declared as a `virtual' field
> cswordmoduleinfo.h:147: parse error before `&'
> cswordmoduleinfo.h:166: parse error before `minimumSwordVersion'
> cswordmoduleinfo.h:192: syntax error before `*'
> cswordmoduleinfo.h:193: syntax error before `;'
> cswordmoduleinfo.h:179: parse error before `;'
> cswordmoduleinfo.h:202: no `const CSwordModuleInfo::ModuleType
> CSwordModuleInfo::type () const' member function declared in class
> `CSwordModuleInfo'
> cswordmoduleinfo.h:206: syntax error before `*'
> cswordmodulesearch.cpp: In method `const bool
> CSwordModuleSearch::startSearch ()':
> cswordmodulesearch.cpp:85: `m_searchScope' undeclared (first use this
> function)
> cswordmodulesearch.cpp:85: (Each undeclared identifier is reported only
> once for each function it appears in.)
> cswordmodulesearch.cpp: At top level:
> cswordmodulesearch.cpp:109: incomplete type `sword' does not have
> member `ListKey'
> cswordmodulesearch.cpp:109: parse error before `)'
> cswordmodulesearch.cpp: In method `void
> CSwordModuleSearch::setSearchScope (...)':
> cswordmodulesearch.cpp:111: `scope' undeclared (first use this
> function)
> cswordmodulesearch.cpp: In method `void
> CSwordModuleSearch::interruptSearch ()':
> cswordmodulesearch.cpp:125: no matching function for call to
> `CSwordModuleInfo::interruptSearch ()'
> cswordmodulesearch.cpp: At top level:
> cswordmodulesearch.cpp:152: syntax error before `&'
> cswordmodulesearch.cpp:156: cannot declare member function
> `CSwordModuleSearch::connectPercentUpdate' within `sword'
> cswordmodulesearch.cpp:156: syntax error before `{'
> cswordmodulesearch.cpp:160: cannot declare member function
> `CSwordModuleSearch::connectFinished' within `sword'
> cswordmodulesearch.cpp:160: syntax error before `{'
> cswordmodulesearch.cpp:165: cannot declare member function
> `CSwordModuleSearch::searchFinished' within `sword'
> cswordmodulesearch.cpp:165: syntax error before `{'
> make[3]: *** [cswordmodulesearch.o] Error 1
> make[3]: Leaving directory
> `/home/fred/Develop/cvs_repository/bibletime/bibletime/backend'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/home/fred/Develop/cvs_repository/bibletime/bibletime'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/fred/Develop/cvs_repository/bibletime'
> make: *** [all-recursive-am] Error 2
> [fred@localhost bibletime]$
--
Joachim Ansorg
www.bibletime.de
www.ansorgs.de