Description
This article is from the FAQ, by with numerous contributions by
others.
X04) Why do I get the error "clockWidgetClass: undefined" when linking my AwEnv program using the xt/v1.8 libraries?
The X libraries in the Mjolner System are based on X11 release 5 (X11R4/R5).
Support for X11R6 is not included in release 3.0 of the Mjolner System. But
with a few exceptions, X11R6 is backward compatible with X11R5. One of the
few exceptions is the reason for the above error: Some very infrequently
used widgets have been removed from the Athena widget set in X11R6.
To fix the error you should have your system administrator apply the
following patch to the file ~beta/Xt/v1.8/private/external/awInt.c:
13d12
< #include <X11/Xaw/Clock.h>
15,16d13
< #include <X11/Xaw/Logo.h>
< #include <X11/Xaw/Mailbox.h>
37d33
<
53,55d48
< int getClockWidgetClass(){return ( (long) clockWidgetClass);}
< int getLogoWidgetClass(){return ( (long) logoWidgetClass);}
< int getMailboxWidgetClass(){return ( (long) mailboxWidgetClass);}
That is, remove all lines referring to the clock, logo, and mailbox widgets.
Then the system administrator should compile one of the awenv demos to get
the changes incorporated into the system.
To simplify correction of the above errors, a patch for the Mjolner System,
release 3.0 and 3.1 has been supplied. It can be fetched from
ftp://ftp.mjolner.com/pub/X11R6_patch,`.
Please see the README file for details.
 
Continue to:
Share and Enjoy
Bookmark this story so others can enjoy it:
Tags
programming