[comp.windows.x] Compiling libXmu.a after libXw.a

dmh@goanna.oz (Darren Hosking) (09/25/89)

After compiling the libXt.a that is required by the HP widgets (libXw.a)
the standard libXmu.a will not compile because of a change in ShellP.h
(from the Xt directory). The file CvtStdSel.c (in the Xmu directory)
contains a reference to a member called class within an ApplicationShellPart
structure which existed in the original distribution of Xt but NOT in the
Xt that is required by libXw.a. Is there are patch to libXmu.a or the
libXt.a that came with libXw.a that I don't have?

	Thanks in advance, dmh


Darren Hosking				ACSnet: dmh@goanna.oz	 
Department Of Computer Science		ARPA:   dmh%goanna.oz.au@uunet.uu.net
RMIT					CSNET:  dmh%goanna.oz.au@australia
GPO Box 2476V				UUCP:   ...!uunet!goanna.oz.au!dmh
Melbourne Vic., Australia 3001

ben@hpcvlx.cv.hp.com (Benjamin Ellsworth) (09/30/89)

Is libXmu an R3 library?  (The only one that I have is R3.)

kit@EXPO.LCS.MIT.EDU (Chris D. Peterson) (10/02/89)

> Is libXmu an R3 library? 

Yes, Xmu is new to R3.  It is not a Consortium standard, just a few routines
that we find useful.  We will have this library documented in R4 so that other
people can make better use of it.

Xaw depends on Xmu, but Xt does not.  

This is why the order of compilation should be :  -lXaw -lXmu -lXt -lX11


						Chris D. Peterson     
						MIT X Consortium 

Net:	 kit@expo.lcs.mit.edu
Phone:   (617) 253 - 9608	
Address: MIT - Room NE43-213

ben@hpcvlx.cv.hp.com (Benjamin Ellsworth) (10/02/89)

I was in a hurry when I asked if Xmu was R3.  Judging by the mail that
I have received, I believe that my motivation was misunderstood.

The standard Xw library is R2; it expects and uses the R2 Intrinsics.
The Xt Intrinsics shipped with Xw is an R2 version.  My supposition
(and I'd bet a chocolate milkshake on this one) is that Xmu is using an
R3 Intrinsics feature unavailable in R2 Intrinsics.  The solution is to
either get the R3 Xw library or port the Xmu stuff down to R2.

My suggestion is to get the R3 Xw library (available somewhere out in
the ether).

--

Ben