home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / windows / x / 16508 < prev    next >
Encoding:
Text File  |  1992-09-10  |  1.4 KB  |  42 lines

  1. Newsgroups: comp.windows.x
  2. Path: sparky!uunet!gatech!darwin.sura.net!jvnc.net!primerd.prime.com!nt1l!nt1l!aardvark
  3. From: aardvark@nt1l.krl.com (Donald Koch)
  4. Subject: Re: How do I get 'asciiStringWidgetClass' in R5?
  5. Message-ID: <1992Sep10.174346@nt1l.krl.com>
  6. Sender: aardvark@nt1l (Donald Koch)
  7. Nntp-Posting-Host: nt1l
  8. Organization: Koch Research Labs
  9. References:  <1992Sep9.155504.11469@abekrd.co.uk>
  10. Date: Thu, 10 Sep 1992 21:43:46 GMT
  11. Lines: 29
  12.  
  13. In article <1992Sep9.155504.11469@abekrd.co.uk>, garyb@abekrd.co.uk (Gary Bartlett) writes:
  14. > What's the story with the asciiStringWidgetClass in X11R5?  I was trying
  15. > to  compile  up  an  old  program (which compiled without problem on R4)
  16. > which used the following call:
  17. >     #define ASCII_STRING
  18. >     #include <X11/Xaw/AsciiText.h>
  19. >     :
  20. >     :
  21. >     send1 = XtCreateManagedWidget("send1", asciiStringWidgetClass,
  22. >                     box1, args, FIVE);
  23. > On linking, the asciiStringWidgetClass could not be found:
  24. >     ld: Undefined symbol 
  25. >        _asciiStringWidgetClass
  26.  
  27. The Athena Widgets library (libXaw) needs to be built with ASCII_STRING defined.
  28. Since it apparently wasn't in your case, the asciiStringWidgetClass structure
  29. wasn't defined.  I believe the ascii string widget is obsolete and you should
  30. replace it with the text widget, but the aforementioned rebuild should get you
  31. by in the meantime.
  32.  
  33. -- 
  34. Don Koch
  35. aardvark@nt1l.krl.com
  36.