[sword-devel] Problems with compilation from sword cvs sources
Louis A. Reed
sword-devel@crosswire.org
Sun, 08 Sep 2002 22:25:21 -0500
Dear Members of the sword-devel list and Sword Bugs,
I am attempting to compile sword-1.5.pre4 from the cvs sources, and I am
getting the following error messages, which stops the compilation cold. I
would appreciate any help that you could offer me to let me know what the
problem might be. Here is the terminal output for make at the point of the
error message:
make all-recursive
make[1]: Entering directory `/home/TARS/sword'
Making all in lib
make[2]: Entering directory `/home/TARS/sword/lib'
source='../src/modules/common/rawstr.cpp' object='rawstr.lo' libtool=yes \
depfile='.deps/rawstr.Plo' tmpdepfile='.deps/rawstr.TPlo' \
depmode=gcc /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile g++ -DUSE_AUTOTOOLS -DUNIX -I. -I. -I..
-I../include -g -O0 -Werror -c -o rawstr.lo `test -f
'../src/modules/common/rawstr.cpp' || echo
'./'`../src/modules/common/rawstr.cpp
g++ -DUSE_AUTOTOOLS -DUNIX -I. -I. -I.. -I../include -g -O0 -Werror -c
../src/modules/common/rawstr.cpp -Wp,-MD,.deps/rawstr.TPlo
cc1plus: warnings being treated as errors
../src/modules/common/rawstr.cpp: In method `void RawStr::settext(const char
*, const char *, long int = -1)':
../src/modules/common/rawstr.cpp:417: warning: comparison is always true due
to limited range of data type
make[2]: *** [rawstr.lo] Error 1
make[2]: Leaving directory `/home/TARS/sword/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/TARS/sword'
make: *** [all] Error 2
My setup is a Macintosh Performa 6116CD PowerPC with the original Motorola
601 chip,72MB of RAM,dual SCSI CDROM Drives and a Seagate 18GB hard drive.
My kernel is version 2.4.19rc3 compiled fro NuBus PPC machines by E.
Kato from ftp.ppclinux.jp.or, compiled with gcc-2.95.4. I am running
Yellow Dog Linux version 2.3 for PPC, which so far has been the best PPC
Linux distribution for compiling that I have found for my old, slow
NuBus-based Mac.
I am using gcc-2.95.4, autoconf 2.13-14, automake-1.4p5-2, qt-3.0.3
with all the development libraries, and kde-3.0.1-1a, including kdelibs
and kdelibs-devel, all from Yellow Dog Linux.
Your suggestions would be greatly appreciated. Thanks to all in advance.
Your brother in Christ,
Louis A. Reed