[sword-devel] Sword 1.4.5 compile
Troy A. Griffitts
Tue, 09 Nov 1999 18:12:56 +0000
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.
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
> 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: *** [sapphire.o] Error 1
> make: Leaving directory `/home/achijah/sword/src/modules/common'
> make: *** [common/targets] Error 2
> make: Leaving directory `/home/achijah/sword/src/modules'
> make: *** [modules/targets] Error 2
> make: 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