Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!mcsun!cernvax!chx400!chx400!sicsun!disuns2!disuns2.epfl.ch!simon From: simon@liasun2.epfl.ch (Simon Leinen) Newsgroups: comp.windows.x Subject: Re: gcc and X Message-ID: Date: 25 Apr 91 12:05:00 GMT References: <1991Apr23.214241.22626@aio.jsc.nasa.gov> Sender: news@disuns2.epfl.ch Reply-To: simon@liasun2.epfl.ch Organization: /users/simon/.organization Lines: 15 Nntp-Posting-Host: liasun5.epfl.ch In-reply-to: bill@gothamcity.jsc.nasa.gov's message of 23 Apr 91 21:42:41 GMT I doubt that this used to work with Sun's cc. If you use libXaw or libXmu on Suns (using dynamic linking as is the default), you also have to use libXext. This is because the Athena widgets contain buttons which may be non-rectangular if the server supports the SHAPE extension. The code for this is in libXmu and uses code from libXext. So what you could do is add -lXext to the libs. But the better solution is to put the following definitions in your Imakefile: DEPLIBS = XawClientDepLibs LOCAL_LIBRARIES = XawClientLibs ... because imake knows what libraries you need on different OSes. -- Simon.