Hi! I'm trying to compile Lyx 1.1.5 on a Intel/Solaris 2.5 with gcc 2.95. configure seems to work, with output Configuration: Source code location: . C++ Compiler: g++ C++ Compiler flags: -g -O2 -fno-rtti -fno-exceptions C Compiler: gcc C Compiler flags: -g -O2 LyX binary dir: /tmp/lyx/bin LyX files dir: /tmp/lyx/share/lyx Special flags: included-string As I enter 'make' I get the message 'ANSI C++ forbids...'. (see below) I've seen a lot of this on the mail-list, but I can't seem to get it right.... Making all in mathed /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../ -I/usr/include/ -I/opt/Summertime_97.i386/include/X11/ -I/usr/local/include/g++-3 -I/usr/openwin/include -g -O2 -fno-rtti -fno-exceptions -c formula.C g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../ -I/usr/include/ -I/opt/Summertime_97.i386/include/X11/ -I/usr/local/include/g++-3 -I/usr/openwin/include -g -O2 -fno-rtti -fno-exceptions -c formula.C -o formula.o In file included from ../../src/insets/lyxinset.h:20, from formula.h:26, from formula.C:29: /usr/openwin/include/X11/Xlib.h:1894: ANSI C++ forbids declaration `XSetTransientForHint' with no type __________________________________________ Daniel Åberg Dept. of Physics and Mathematics, Mid Sweden University, E-mail: [EMAIL PROTECTED] Phone: +46 60 148404