try using "egcs" or "c++" instead of gcc as the compiler


----- Original Message -----
From: Dunaway, Brian <[EMAIL PROTECTED]>
To: BlackBox mailinglist <[EMAIL PROTECTED]>
Sent: Monday, October 30, 2000 12:11 PM
Subject: Sparc/Solaris 8 (I want my blackbox)


> Greetings,
>
> I am trying to install BlackBox 0.61.0 on a Sparc/Solaris 8 machine
compiled
> with gcc-2.95.2.
>
> I have viewed the blackbox FAQ at :
>
> http://www.reedmedia.net/misc/blackbox/faq.html#30
>
> Here is the last block of the errors I get when I try to run make from an
> unmodified src.
>
> In file included from BaseDisplay.cc:34:
> /usr/openwin/include/X11/Xutil.h:363: ANSI C++ forbids declaration
> `XClipBox' with no type
> /usr/openwin/include/X11/Xutil.h:389: ANSI C++ forbids declaration
> `XDestroyRegion' with no type
> /usr/openwin/include/X11/Xutil.h:395: ANSI C++ forbids declaration
> `XEmptyRegion' with no type
> /usr/openwin/include/X11/Xutil.h:402: ANSI C++ forbids declaration
> `XEqualRegion' with no type
> /usr/openwin/include/X11/Xutil.h:548: ANSI C++ forbids declaration
> `XIntersectRegion' with no type
> /usr/openwin/include/X11/Xutil.h:584: ANSI C++ forbids declaration
> `XOffsetRegion' with no type
> /usr/openwin/include/X11/Xutil.h:627: ANSI C++ forbids declaration
> `XSetClassHint' with no type
> /usr/openwin/include/X11/Xutil.h:636: ANSI C++ forbids declaration
> `XSetIconSizes' with no type
> /usr/openwin/include/X11/Xutil.h:644: ANSI C++ forbids declaration
> `XSetNormalHints' with no type
> /usr/openwin/include/X11/Xutil.h:663: ANSI C++ forbids declaration
> `XSetSizeHints' with no type
> /usr/openwin/include/X11/Xutil.h:676: ANSI C++ forbids declaration
> `XSetStandardProperties' with no type
> /usr/openwin/include/X11/Xutil.h:701: ANSI C++ forbids declaration
> `XSetWMHints' with no type
> /usr/openwin/include/X11/Xutil.h:770: ANSI C++ forbids declaration
> `XSetRegion' with no type
> /usr/openwin/include/X11/Xutil.h:787: ANSI C++ forbids declaration
> `XSetZoomHints' with no type
> /usr/openwin/include/X11/Xutil.h:795: ANSI C++ forbids declaration
> `XShrinkRegion' with no type
> /usr/openwin/include/X11/Xutil.h:811: ANSI C++ forbids declaration
> `XSubtractRegion' with no type
> /usr/openwin/include/X11/Xutil.h:871: ANSI C++ forbids declaration
> `XUnionRectWithRegion' with no type
> /usr/openwin/include/X11/Xutil.h:879: ANSI C++ forbids declaration
> `XUnionRegion' with no type
> /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 `/opt/src/blackbox-0.61.0/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/opt/src/blackbox-0.61.0'
> make: *** [all-recursive-am] Error 2
>
> I added -fpermissive to my CXXFLAGS in my configure file as I could not
find
> any CXXFLAG entries in my make file per the faq instructions.
>
> I was unsure what the second half of the suggestion was concerning in the
> faq...it was a bit vague for my understanding.
>
> Any pointers?
>
> I want this to happen...I will do what it takes. :)
>
> -briand


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

Reply via email to