[bt-devel] BibleTime 1.4 compile error
Shed.
bt-devel@crosswire.org
Tue, 20 Jan 2004 21:41:13 -0500
Hello, I am new to bibletime. I keep getting this error while running
make. The build environment is Redhat 7.3
#kde-config --prefix
/usr
#kde-config --version
Qt: 3.0.5
KDE: 3.0.5a-0.73.2
kde-config: 1.0
Has anyone seen this error?
make[4]: Entering directory
`/home/shedii/tmp/bibletime-1.4/bibletime/frontend'
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde
-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
-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W
-Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-Wcast-align -Wconversion -Wchar-subscripts -O2 -fno-exceptions
-fno-check-new -fno-common -MT btinstallmgr.o -MD -MP -MF
".deps/btinstallmgr.Tpo" \
-c -o btinstallmgr.o `test -f 'btinstallmgr.cpp' || echo
'./'`btinstallmgr.cpp; \
then mv -f ".deps/btinstallmgr.Tpo" ".deps/btinstallmgr.Po"; \
else rm -f ".deps/btinstallmgr.Tpo"; exit 1; \
fi
In file included from /usr/include/sword/utilweb.h:26,
from /usr/include/sword/utilfuns.h:27,
from /usr/include/sword/swobject.h:4,
from /usr/include/sword/swdisp.h:26,
from /usr/include/sword/swmodule.h:27,
from /usr/include/sword/swmgr.h:45,
from ../../bibletime/backend/cswordbackend.h:31,
from btinstallmgr.h:23,
from btinstallmgr.cpp:18:
/usr/include/sword/swbuf.h: In method `void sword::SWBuf::assureMore
(long unsigned int)':
/usr/include/sword/swbuf.h:47: warning: comparison between signed and
unsigned integer expressions
/usr/include/sword/swbuf.h: In method `sword::SWBuf
&sword::SWBuf::operator<< (int)':
/usr/include/sword/swbuf.h:196: warning: comparison between signed and
unsigned integer expressions
In file included from /usr/include/g++-3/stl_multimap.h:151,
from btinstallmgr.cpp:179:
/usr/include/g++-3/stl_pair.h: In method `pair<const char[10],
sword::SWBuf>::pair (const pair<const char[10], sword::SWBuf> &)':
/usr/include/g++-3/stl_pair.h:68: instantiated from `make_pair (const
_T1 &, const _T2 &) [with _T1 = const char[10], _T2 = sword::SWBuf]'
/usr/include/g++-3/stl_pair.h:48: instantiated from here
/usr/include/g++-3/stl_pair.h:68: assignment of read-only location
In file included from /usr/include/g++-3/stl_multimap.h:151,
from btinstallmgr.cpp:179:
/usr/include/g++-3/stl_pair.h: In method `pair<_T1, _T2>::pair (const
_T1 &, const _T2 &) [with _T1 = const char[10], _T2 = sword::SWBuf]':
/usr/include/g++-3/stl_pair.h:67: instantiated from here
/usr/include/g++-3/stl_pair.h:44: warning: ISO C++ forbids assignment of
arrays
/usr/include/g++-3/stl_pair.h:44: assignment of read-only location
make[4]: *** [btinstallmgr.o] Error 1
make[4]: Leaving directory
`/home/shedii/tmp/bibletime-1.4/bibletime/frontend'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/shedii/tmp/bibletime-1.4/bibletime/frontend'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/shedii/tmp/bibletime-1.4/bibletime'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/shedii/tmp/bibletime-1.4'
make: *** [all] Error 2