Having problems compiling Lyx on a sparc running solaris 2.6 with
"gcc version 2.95.2 19991024 (release)"
I am using the gnu m4 processor release 1.4
make is GNU make 3.79
attached is the whole session including the ./configure stage which
worked witout error. I have also tried --with-included-string without
success.
The outout from make is included here.
Thanks,
Tulan
babbage% gmake
Making all in intl
gmake[1]: Entering directory `/export/home1/users/mets/download/lyx-1.1.6/intl'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/export/home1/users/mets/download/lyx-1.1.6/intl'
Making all in po
gmake[1]: Entering directory `/export/home1/users/mets/download/lyx-1.1.6/po'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/export/home1/users/mets/download/lyx-1.1.6/po'
Making all in sigc++
gmake[1]: Entering directory `/export/home1/users/mets/download/lyx-1.1.6/sigc++'
gmake all-recursive
gmake[2]: Entering directory `/export/home1/users/mets/download/lyx-1.1.6/sigc++'
Making all in macros
gmake[3]: Entering directory `/export/home1/users/mets/download/lyx-1.1.6/sigc++/mac
ros'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/export/home1/users/mets/download/lyx-1.1.6/sigc++/macr
os'
gmake[3]: Entering directory `/export/home1/users/mets/download/lyx-1.1.6/sigc++'
/bin/sh ./libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I./.. -g
-O2 -c object.cc
g++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I./.. -g -O2 -c object.cc -o object.o
echo timestamp > object.lo
/bin/sh ./libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I./.. -g
-O2 -c scope.cc
g++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I./.. -g -O2 -c scope.cc -o scope.o
echo timestamp > scope.lo
/bin/sh ./libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I./.. -g
-O2 -c marshal.cc
g++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I./.. -g -O2 -c marshal.cc -o marshal.o
echo timestamp > marshal.lo
/bin/sh ./libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I./.. -g
-O2 -c slot.cc
g++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I./.. -g -O2 -c slot.cc -o slot.o
slot.cc:8: syntax error before `::'
slot.cc:11: syntax error before `::'
slot.cc:14: syntax error before `::'
slot.cc:17: syntax error before `::'
slot.cc:20: syntax error before `::'
slot.cc:23: syntax error before `::'
slot.cc:28: syntax error before `::'
slot.cc:33: syntax error before `::'
slot.cc:36: ANSI C++ forbids declaration `invalid' with no type
slot.cc:37: ANSI C++ forbids declaration `set_weak' with no type
slot.cc:38: ANSI C++ forbids declaration `unreference' with no type
slot.cc:39: parse error before `}'
slot.cc:41: syntax error before `::'
slot.cc:44: syntax error before `='
slot.cc:45: ANSI C++ forbids declaration `head_' with no type
slot.cc:47: parse error before `while'
slot.cc:51: ANSI C++ forbids declaration `current' with no type
slot.cc:51: `next' was not declared in this scope
slot.cc:52: parse error before `}'
slot.cc:55: syntax error before `::'
slot.cc:61: ANSI C++ forbids declaration `head_' with no type
slot.cc:61: redefinition of `int head_'
slot.cc:45: `int head_' previously defined here
slot.cc:61: `node' was not declared in this scope
slot.cc:62: parse error before `}'
slot.cc:66: ANSI C++ forbids declaration `j' with no type
slot.cc:66: implicit declaration of function `int begin(...)'
slot.cc:67: parse error before `while'
slot.cc:69: syntax error before `*'
slot.cc:70: syntax error before `->'
slot.cc:71: syntax error before `->'
gmake[3]: *** [slot.lo] Error 1
gmake[3]: Leaving directory `/export/home1/users/mets/download/lyx-1.1.6/sigc++'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/export/home1/users/mets/download/lyx-1.1.6/sigc++'
gmake[1]: *** [all-recursive-am] Error 2
gmake[1]: Leaving directory `/export/home1/users/mets/download/lyx-1.1.6/sigc++'
gmake: *** [all-recursive] Error 1
----------------------
Tulan Shah
Design Information Group
83 Woodland Road
0117-928-8914
http://www.dig.bris.ac.uk/staff/tulan/
errorlyx