[ROOT] solarisgcc compile problem

From: Eddy Offermann (eddy@rentec.com)
Date: Tue Jul 18 2000 - 23:30:46 MEST


Hi,

On SunOS moose 5.7 Generic_106541-09 sun4u sparc SUNW,Ultra-Enterprise
I tried to compile root version 2.25 after configuring for "solarisgcc".

I use "gcc version 2.95.2 19991024 (release)"
When compiling x11/src/GX11Gui.cxx I run into problems:

g++ -O -D__SunOS_5_6 -fPIC -I/usr/openwin/include -Iinclude  -o x11/src/GX11Gui.o -c x11/src/GX11Gui.cxx
In file included from include/TGX11.h:31,
                 from x11/src/GX11Gui.cxx:32:
/usr/openwin/include/X11/Xlib.h:2063: ANSI C++ forbids declaration `XSetTransientForHint' with no type
/usr/openwin/include/X11/Xlib.h:2071: ANSI C++ forbids declaration `XActivateScreenSaver' with no type
   :
   :
   :
   :


Does somebody have an idea what is wrong ??

Best Regards, Eddy



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:30 MET