[sword-devel] troubles building sword

Steven P. Ulrick sword-devel@crosswire.org
Tue, 1 Oct 2002 15:06:24 -0500


On Mon, 30 Sep 2002 20:25:02 +0000
mark lybarger <mlybarge@insight.rr.com> wrote:

> hi,
> 
> i've started to get back to some work on bibletime and am having 
> troubles building sword.  below is the top of the output from make. 
> it seems to choke first on the multimapwdef.h.  i've got a fresh cvs
> tree, and am using gcc 3.2 on a gentoo system.   any hints/ideas?
> 
> thanks!
> Mark
> 
> 
> sh-2.05a$ make
> make  all-recursive
> make[1]: Entering directory `/home/mark/bibletime/sword'
> Making all in lib
> make[2]: Entering directory `/home/mark/bibletime/sword/lib'
> source='../src/keys/versekey.cpp' object='versekey.lo' libtool=yes \
> depfile='.deps/versekey.Plo' tmpdepfile='.deps/versekey.TPlo' \
> depmode=gcc3 /bin/sh ../depcomp \
> /bin/sh ../libtool --mode=compile g++ -DUSE_AUTOTOOLS   -DUNIX  -I.
> -I. -I.. -I../include  -DUSBINARY  -g -O0 -Werror -c -o versekey.lo
> `test -f '../src/keys/versekey.cpp' || echo
> './'`../src/keys/versekey.cpp g++ -DUSE_AUTOTOOLS -DUNIX -I. -I. -I..
> -I../include -DUSBINARY -g -O0 -Werror -c ../src/keys/versekey.cpp -MT
> versekey.lo -MD -MP -MF .deps/versekey.TPlo
> In file included from ../include/swconfig.h:32,
>                   from ../include/localemgr.h:29,
>                   from ../src/keys/versekey.cpp:22:
> ../include/multimapwdef.h:10: parse error before `<' token
> ../include/multimapwdef.h:13: syntax error before `&' token
> ../include/multimapwdef.h:20: syntax error before `&' token
> ../include/multimapwdef.h:26: parse error before `&' token
> ../include/multimapwdef.h:26: non-member function `bool has(...)'
> cannot have `
>     const' method qualifier
> ../include/multimapwdef.h: In function `bool has(...)':
> ../include/multimapwdef.h:27: parse error before `<' token
> ../include/multimapwdef.h:28: parse error before `<' token
> ../include/multimapwdef.h:29: `start' undeclared (first use this
> function)../include/multimapwdef.h:29: (Each undeclared identifier is
> reported only once
>     for each function it appears in.)
> ../include/multimapwdef.h:29: `end' undeclared (first use this
> function)../include/multimapwdef.h:30: `val' undeclared (first use
> this function)../include/multimapwdef.h: At global scope:
> ../include/multimapwdef.h:35: parse error before `}' token
> In file included from ../include/localemgr.h:29,
>                   from ../src/keys/versekey.cpp:22:
> 
Hello, Everyone :)
I just installed Red Hat 8.0 and I had the exact same problem.  The
error message looks SLIGHTLY different, but I declined to send it unless
you thinks it's necessary.  The version of gcc on my system is the same
as Mark's.

Thanks for your help :)
Steven P. Ulrick