I've tried to build blackbox 0.61.1 on SunOS 2.6 and Solaris 8 using gcc
2.95.2 several times and ways with the following error during the make:
...
Making all in src
make[2]: Entering directory `/export/home/mark/packages/blackbox-0.61.1/src'
c++ -DHAVE_CONFIG_H -I. -I. -I.. -DSHAPE -DSLIT -DINTERLACE -DNLS
-DTIMEDCACHE -DLOCALEPATH=\"/usr/local/share/Blackbox/nls\"
-DDEFAULTMENU=\"/usr/local/share/Blackbox/menu\"
-DDEFAULTSTYLE=\"/usr/local/share/Blackbox/styles/Results\" -g -O2
-I/usr/openwin/include -c BaseDisplay.cc
In file included from BaseDisplay.cc:32:
/usr/openwin/include/X11/Xlib.h:2063: ANSI C++ forbids declaration
`XSetTransientForHint' with no type
[snip...snip]
/usr/openwin/include/X11/Xlib.h:4162: ANSI C++ forbids declaration
`XWindowEvent' with no type
In file included from BaseDisplay.cc:34:
/usr/openwin/include/X11/Xutil.h:363: ANSI C++ forbids declaration
`XClipBox' with no type
[snip...snip]
/usr/openwin/include/X11/Xutil.h:903: ANSI C++ forbids declaration
`XXorRegion' with no type
make[2]: *** [BaseDisplay.o] Error 1
make[2]: Leaving directory `/export/home/mark/packages/blackbox-0.61.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/mark/packages/blackbox-0.61.1'
make: *** [all-recursive-am] Error 2
Anyone have a hint for me?
Cheers,
mark.