[comp.unix.aux] X11R4 libraries/Clients and A/UXs server

pke@public.BTR.COM (Peter Espen pke@btr.com) (10/03/90)

	After having no luck in getting the X11R4 libraries
and clients from wuarchive.wustl.edu to run on my MacIIcx
running A/UX 2.0 and X-WIndows, I have built gcc-1.37.91 and
used it to compile the libraries from the MIT X11R4 distribution
sources. I compiled the xman client that's part of the X11R4
distribution using the R4 libraries that I compiled and everything
is built and working.
	When I run xman (or any other client built with R4
libraries) against Apple's server (provided with Apple's X-windows
package), everything runs OK, but I get a constant stream or
warning messages to the clients parent shell that say something
to the effect of "Warning: version mismatch...Widget is version 11004
vs. intrinsics 11003".  I don't understand this since I am using
release 4 headers and libraries when I compile the clients and
according to Apple's X-Windows documentation, the Apple X-window
server is a release 4 server and fonts.
	Can anyone at Apple or elsewhere explain this or suggest
ways of getting rid of these annoying warning messages?

Peter Espen
pke@btr.com

 

pke@public.BTR.COM (Peter Espen pke@btr.com) (10/03/90)

	After my previous posting, I took a look around
through the Intrinsics header files and in IntrinsicP.h
I found the following:

	#define	XT_VERSION	11
	#ifndef XT_REVISION	
	#define XT_REVISION	4
	#endif
	#define XtVersion (XT_VERSION * 1000 + XT_REVISION)
	#define XtVersionDontCheck  0

I'll play around with this a bit and see if I can determine if
the Apple server is actually release 3 or release 4, or if the
libraries I have are causing the warnings.

Peter Espen
pke@btr.com

pke@public.BTR.COM (Peter Espen pke@btr.com) (10/03/90)

	From the O'Reilly Xt Intrinsics Programming Manual
(X series Volume 4) I found the following explanation:

	Xt uses the version field to check the compiled widget
	code against the library the widget is linked against.
	If you specify the constant XtVersion and it is different
	from the version used by the libraries, then Xt displays
	a run-time warning message. However, if you have intentionally
	designed a widget to run under more than one version of Xt
	you can specify the constant XtVersionDontCheck.

So, is Apple's server release 3 or release 4? Let's see.....

Peter Espen
pke@btr.com