[greenstone-users] error from gsdlunicode.h

From Virginia Knight
DateWed, 24 Nov 2004 11:44:41 +0000
Subject [greenstone-users] error from gsdlunicode.h
I'm trying to compile Greenstone using gcc 3.4.2 on Solaris 2.5. I'm
getting the following errors:

making all in lib
make[1]: Entering directory `/mnt/disk1/cmvhk/gsdl/lib'
c++ -c -O2 -DHAVE_CONFIG_H -I../packages/mg/lib -I.. cfgread.cpp
c++ -c -O2 -DHAVE_CONFIG_H -I../packages/mg/lib -I.. fileutil.cpp
c++ -c -O2 -DHAVE_CONFIG_H -I../packages/mg/lib -I.. text_t.cpp
c++ -c -O2 -DHAVE_CONFIG_H -I../packages/mg/lib -I.. cnfgable.cpp
c++ -c -O2 -DHAVE_CONFIG_H -I../packages/mg/lib -I.. display.cpp
In file included from display.cpp:27:
gsdlunicode.h:169: error: expected `)' before '>' token
gsdlunicode.h: In member function `void
mapinconvertclass::set_multibyte(int)':
gsdlunicode.h:160: error: non-lvalue in assignment
gsdlunicode.h: At global scope:
gsdlunicode.h:215: error: expected `)' before '>' token
gsdlunicode.h: In member function `void
mapoutconvertclass::set_multibyte(int)':
gsdlunicode.h:205: error: non-lvalue in assignment
make[1]: *** [display.o] Error 1
make[1]: Leaving directory `/mnt/disk1/cmvhk/gsdl/lib'
make: *** [all] Error 1

Any advice welcomed.

Virginia Knight
----------------------
Virginia Knight, Institute for Learning and Research Technology
Tel: +44 (0)117 928 7154 Fax: +44 (0)117 928 7112
University of Bristol, 8-10 Berkeley Square, Bristol BS8 1HH
Virginia.Knight@bristol.ac.uk
Official homepage: http://www.ilrt.bris.ac.uk/aboutus/staff?search=cmvhk
Personal homepage: http://www.ilrt.bris.ac.uk/~ggvhk/virginia.html
ILRT homepage: http://www.ilrt.bristol.ac.uk