Dear lyx-developers:

I am trying to compile the lyx-devel from the CVS repository applying 
the mathed72.diff patch submitted by Andre and I have encountered
the following problems during the compilation:

I applied the patch and I did:

$./autogen.sh 
$./configure
$ make

in lyx-devel directory. The configuration step was succesful. 

After a while the compilation aborted saying:

g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ -I../.. -I../..
-I../../boost -isystem /usr/X11R6/include -g -O -fno-exceptions -W -Wall
-Wp,-MD,.deps/math_parinset.pp -c math_parinset.C -o math_parinset.o
math_parinset.C:228: warning: #warning this does not compile on gcc 2.97
math_parinset.C:312: warning: #warning this does not compile on gcc 2.97
math_parinset.C:25: no `class MathedRowContainer &
MathParInset::getRowSt()' member function declared in class
`MathParInset'
math_parinset.C: In method `class MathedRowContainer &
MathParInset::getRowSt()':
math_parinset.C:26: `row_' undeclared (first use this function)
math_parinset.C:26: (Each undeclared identifier is reported only once
math_parinset.C:26: for each function it appears in.)
math_parinset.C:27: warning: control reaches end of non-void function
`MathParInset::getRowSt()'
math_parinset.C: At top level:
math_parinset.C:31: no `class string MathParInset::label() const' member
function declared in class `MathParInset'
math_parinset.C: In method `class string MathParInset::label() const':
math_parinset.C:37: warning: control reaches end of non-void function
`MathParInset::label() const'
make[3]: *** [math_parinset.lo] Error 1
make[3]: Leaving directory `/home/oscar/tmp/lyx-devel/src/mathed'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/oscar/tmp/lyx-devel/src'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/home/oscar/tmp/lyx-devel/src'
make: *** [all-recursive] Error 1

The versions of gcc and g++ I have are:

neptuno:~/tmp/lyx-devel$ gcc --version
2.95.3
neptuno:~/tmp/lyx-devel$ g++ --version
2.95.3                                                                          

Is there any workaround to solve this ? 
What g++ version should I have to compile lyx-dvel?
Should I update just g++ or anything else is needed? 

Thanks in advance for your help.
Best regards

Please send your answers to me because I am not subscribe
to the developers mailing list.
-- 
http://www.iit.upco.es/~oscar
NT (as in Windows NT) is short for "Needs Testing".

Reply via email to