On Wed, Oct 01, 2003 at 12:48:23PM +0000, Angus Leeming spake thusly:
 
> Martin Vermeer wrote:
> > A long list of errors. Attached.

...
 
> g++ -nostdinc++ -W -Wall -O2 -I/home/mv/STLport-4.5.3/stlport \
> -I. -I../boost -ftemplate-depth-30 -c lyx_main.C
> g++ -nostdinc++ -W -Wall -O2 -I/home/mv/STLport-4.5.3/stlport \
> -I. -I../boost -ftemplate-depth-30 -c main.C
> 
> If that works, 

Yes it did...

> then try and compile the whole of lyx. If you then get 
> linking errors, that'll be interesting.

Configure command:

./configure --with-extra-prefix=/home/mv/xforms-cvs/build/test-install
--with-included-boost --disable-debug
CPPFLAGS=-I/home/mv/STLport-4.5.3/stlport 
CXXFLAGS="-nostdinc++ -ftemplate-depth-30"

Output:

source='math_cursor.C' object='math_cursor.lo' libtool=yes \
depfile='.deps/math_cursor.Plo' tmpdepfile='.deps/math_cursor.TPlo' \
depmode=gcc /bin/sh ../../config/depcomp \
/bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../../src -I./../ -I../../boost  -I/home/mv/STLport-4.5.3/stlport
-I/home/mv/xforms-cvs/build/test-install/include
-I/usr/X11R6/include  -nostdinc++ -W -Wall -c -o math_cursor.lo `test
-f 'math_cursor.C' || echo './'`math_cursor.C
g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ -I../../boost
-I/home/mv/STLport-4.5.3/stlport
-I/home/mv/xforms-cvs/build/test-install/include -I/usr/X11R6/include
-nostdinc++ -W -Wall -c math_cursor.C -Wp,-MD,.deps/math_cursor.TPlo
math_cursor.C:39: `isalpha' is already declared in this scope
make[3]: *** [math_cursor.lo] Error 1

This is the first error.

source='math_parser.C' object='math_parser.lo' libtool=yes \
depfile='.deps/math_parser.Plo' tmpdepfile='.deps/math_parser.TPlo' \
depmode=gcc /bin/sh ../../config/depcomp \
/bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../../src -I./../ -I../../boost  -I/home/mv/STLport-4.5.3/stlport
-I/home/mv/xforms-cvs/build/test-install/include
-I/usr/X11R6/include  -nostdinc++ -W -Wall -c -o math_parser.lo `test
-f 'math_parser.C' || echo './'`math_parser.C
g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ -I../../boost
-I/home/mv/STLport-4.5.3/stlport
-I/home/mv/xforms-cvs/build/test-install/include -I/usr/X11R6/include
-nostdinc++ -W -Wall -c math_parser.C -Wp,-MD,.deps/math_parser.TPlo
math_parser.C:1098: warning: #warning A hack...
math_parser.C:68: `atoi' is already declared in this scope
make[3]: *** [math_parser.lo] Error 1

...and this the next.

But on the whole it compiles pretty nicely. Still compiling, no
errors in insets...
 
> -- 
> Angus
 
- Martin

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to