Re: OpenSP problem while compiling



On Fri, 2005-12-23 at 01:15 +0100, Bastiaan Wakkie wrote:
> Hi,
> 
> While still going on installing via garnome (almost the second day ;-) I
> bumped into my next real problem:
> 
> 
> 8< - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
> 
> [===== NOW BUILDING:    OpenSP-1.5.1    =====]
>         [fetch] complete for OpenSP.
>         [checksum] complete for OpenSP.
>         [extract] complete for OpenSP.
>         [patch] complete for OpenSP.
>         [fixup] complete for OpenSP.
>         [configure] complete for OpenSP.
>  ==> Running make in work/main.d/OpenSP-1.5.1
> make[3]: Entering directory `/home/bw/tmp/garnome-2.12.2/bootstrap/OpenSP/work/main.d/OpenSP-1.5.1'
> make  all-recursive
> make[4]: Entering directory `/home/bw/tmp/garnome-2.12.2/bootstrap/OpenSP/work/main.d/OpenSP-1.5.1'
> Making all in pubtext
> make[5]: Entering directory `/home/bw/tmp/garnome-2.12.2/bootstrap/OpenSP/work/main.d/OpenSP-1.5.1/pubtext'
> make[5]: Nothing to be done for `all'.
> make[5]: Leaving directory `/home/bw/tmp/garnome-2.12.2/bootstrap/OpenSP/work/main.d/OpenSP-1.5.1/pubtext'
> Making all in unicode
> make[5]: Entering directory `/home/bw/tmp/garnome-2.12.2/bootstrap/OpenSP/work/main.d/OpenSP-1.5.1/unicode'
> make[5]: Nothing to be done for `all'.
> make[5]: Leaving directory `/home/bw/tmp/garnome-2.12.2/bootstrap/OpenSP/work/main.d/OpenSP-1.5.1/unicode'
> Making all in doc
> make[5]: Entering directory `/home/bw/tmp/garnome-2.12.2/bootstrap/OpenSP/work/main.d/OpenSP-1.5.1/doc'
> make[5]: Nothing to be done for `all'.
> make[5]: Leaving directory `/home/bw/tmp/garnome-2.12.2/bootstrap/OpenSP/work/main.d/OpenSP-1.5.1/doc'
> Making all in include
> make[5]: Entering directory `/home/bw/tmp/garnome-2.12.2/bootstrap/OpenSP/work/main.d/OpenSP-1.5.1/include'
> make[5]: Nothing to be done for `all'.
> make[5]: Leaving directory `/home/bw/tmp/garnome-2.12.2/bootstrap/OpenSP/work/main.d/OpenSP-1.5.1/include'
> Making all in generic
> make[5]: Entering directory `/home/bw/tmp/garnome-2.12.2/bootstrap/OpenSP/work/main.d/OpenSP-1.5.1/generic'
> make[5]: Nothing to be done for `all'.
> make[5]: Leaving directory `/home/bw/tmp/garnome-2.12.2/bootstrap/OpenSP/work/main.d/OpenSP-1.5.1/generic'
> Making all in lib
> make[5]: Entering directory `/home/bw/tmp/garnome-2.12.2/bootstrap/OpenSP/work/main.d/OpenSP-1.5.1/lib'
> make  all-am
> make[6]: Entering directory `/home/bw/tmp/garnome-2.12.2/bootstrap/OpenSP/work/main.d/OpenSP-1.5.1/lib'
> source='ArcEngine.cxx' object='ArcEngine.lo' libtool=yes \
> depfile='.deps/ArcEngine.Plo' tmpdepfile='.deps/ArcEngine.TPlo' \
> depmode=gcc3 /bin/sh ../depcomp \
> /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic  -I/opt/garnome-2.12.2//include  -I/opt/garnome-2.12.2//include -L/opt/garnome-2.12.2//lib -O2 -pipe -c -o ArcEngine.lo `test -f 'ArcEngine.cxx' || echo './'`ArcEngine.cxx
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -I/opt/garnome-2.12.2//include -I/opt/garnome-2.12.2//include -L/opt/garnome-2.12.2//lib -O2 -pipe -c ArcEngine.cxx -MT ArcEngine.lo -MD -MP -MF .deps/ArcEngine.TPlo  -fPIC -DPIC -o ArcEngine.lo
> In file included from ../include/RangeMap.h:67,
>                  from ../include/UnivCharsetDesc.h:13,
>                  from ../include/CharsetInfo.h:11,
>                  from ../include/Sd.h:13,
>                  from ../include/Event.h:20,
>                  from ../include/ArcEngine.h:11,
>                  from ArcEngine.cxx:10:
> ../include/RangeMap.cxx: In member function `unsigned int OpenSP::RangeMap<From, To>::inverseMap(To, From&, OpenSP::ISet<OpenSP::WideChar>&, OpenSP::WideChar&) const':
> ../include/RangeMap.cxx:50: error: `wideCharMax' undeclared (first use this function)
> ../include/RangeMap.cxx:50: error: (Each undeclared identifier is reported only once for each function it appears in.)
> In file included from ../include/UnivCharsetDesc.h:16,
>                  from ../include/CharsetInfo.h:11,
>                  from ../include/Sd.h:13,
>                  from ../include/Event.h:20,
>                  from ../include/ArcEngine.h:11,
>                  from ArcEngine.cxx:10:
> ../include/constant.h: At global scope:
> ../include/constant.h:16: error: `const OpenSP::WideChar OpenSP::wideCharMax' used prior to declaration
> make[6]: *** [ArcEngine.lo] Error 1
> make[6]: Leaving directory `/home/bw/tmp/garnome-2.12.2/bootstrap/OpenSP/work/main.d/OpenSP-1.5.1/lib'
> make[5]: *** [all] Error 2
> make[5]: Leaving directory `/home/bw/tmp/garnome-2.12.2/bootstrap/OpenSP/work/main.d/OpenSP-1.5.1/lib'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory `/home/bw/tmp/garnome-2.12.2/bootstrap/OpenSP/work/main.d/OpenSP-1.5.1'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory `/home/bw/tmp/garnome-2.12.2/bootstrap/OpenSP/work/main.d/OpenSP-1.5.1'
> make[2]: *** [build-work/main.d/OpenSP-1.5.1/Makefile] Error 2
> make[2]: Leaving directory `/home/bw/tmp/garnome-2.12.2/bootstrap/OpenSP'
> make[1]: *** [../../bootstrap/OpenSP/cookies/main.d/install] Error 2
> make[1]: Leaving directory `/home/bw/tmp/garnome-2.12.2/desktop/OpenJade'
> make: *** [paranoid-install] Error 2
> 
> 8< - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
> 
> I found a post in the internet
> (http://www.linuxquestions.org/questions/showthread.php?p=1944914#post1944914) that gave me the sollution:
> 
> Edit the RangeMap.cxx by including the following line: #include
> "constant.h"

Hi, Bastiaan. Thanks for reporting the solution to the list. :)

Bob

-- 
Bob Kashani
http://www.gnome.org/projects/garnome
http://www.ocf.berkeley.edu/~bobk/garnome




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]