[sword-devel] Compile problems with new config stuff

Brook Humphrey sword-devel@crosswire.org
Wed, 14 Mar 2001 19:35:51 -0800


Troy same here only I'm using gcc 2.96. I don't beleve that that would cause  
a problem though as I have been compileing rpms on it with no problem. sword 
1.5.1a compiles great.

anyway here is the error:

/bin/sh -ec 'gcc -MM -MG -I../../include/ -D_GNU_SOURCE -DNDEBUG 
-D_GNU_SOURCE -
DNDEBUG swkey.cpp | sed '\''s/swkey\.o/& swkey.d/g'\'' > swkey.d'
make[2]: Leaving directory `/home/thelinu/sword/src/keys'
make[2]: Entering directory `/home/thelinu/sword/src/keys'
gcc -I../../include/ -D_GNU_SOURCE -DNDEBUG -D_GNU_SOURCE -DNDEBUG -pipe 
-Wall -
Wno-format  -DZLIBSUPPORTED -fomit-frame-pointer -s -O3 -m486 -c -o swkey.o 
swke
y.cpp
gcc -I../../include/ -D_GNU_SOURCE -DNDEBUG -D_GNU_SOURCE -DNDEBUG -pipe 
-Wall -
Wno-format  -DZLIBSUPPORTED -fomit-frame-pointer -s -O3 -m486 -c -o listkey.o 
li
stkey.cpp
gcc -I../../include/ -D_GNU_SOURCE -DNDEBUG -D_GNU_SOURCE -DNDEBUG -pipe 
-Wall -Wno-format  -DZLIBSUPPORTED -fomit-
frame-pointer -s -O3 -m486 -c -o versekey.o versekey.cpp
In file included from ../../include/localemgr.h:29,
                 from versekey.cpp:21:
../../include/swconfig.h: In method `T &multimapwithdefault<Key, T,
Compare>::operator[] (const Key &)':
../../include/swconfig.h:42: parse error before `='
make[2]: *** [versekey.o] Error 1
make[2]: Leaving directory `/home/thelinu/sword/src/keys'
make[1]: *** [keys/targets] Error 2
make[1]: Leaving directory `/home/thelinu/sword/src'
make: *** [src/targets] Error 2