[sword-devel] Sword 1.4.5 compile

Troy A. Griffitts sword-devel@crosswire.org
Tue, 09 Nov 1999 18:12:56 +0000


Franklin,
	Are you using the final release of 1.4.5.  If so, I messed up and left
-Werror in the compile command in Makefile.cfg  The warning is no
problem, but with -Werror left in, the compiler stops on warnings,
treating them as errors.

	-Troy.



Franklin Bratcher wrote:
> 
> I am encountering a compile problem with the 1.4.5 release relating to
> the sapphire files. I went to the sapphire site in the INSTALL file in
> the sword directory. And everytime I make I get the following error:
> 
> mv `basename swcipher.o .o`.so ../../../obj
> gcc -I../../../include/ -D_GNU_SOURCE -DNDEBUG -DUNIX -c -pipe -Wall
> -Wno-format -Werror  -fomit-frame-pointer -s -O3 -m486 -o sapphire.o
> sapphire.cpp
> cc1plus: warnings being treated as errors
> sapphire.cpp: In method `unsigned char sapphire::keyrand(int, unsigned
> char *, unsigned char, unsigned char *, unsigned int *)':
> sapphire.cpp:34: warning: comparison between signed and unsigned
> sapphire.cpp:48: warning: comparison between signed and unsigned
> make[3]: *** [sapphire.o] Error 1
> make[3]: Leaving directory `/home/achijah/sword/src/modules/common'
> make[2]: *** [common/targets] Error 2
> make[2]: Leaving directory `/home/achijah/sword/src/modules'
> make[1]: *** [modules/targets] Error 2
> make[1]: Leaving directory `/home/achijah/sword/src'
> make: *** [src/targets] Error 2
> 
> If you can help me isolate what is causing this, I would be most
> appreciative.