home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x
- Path: sparky!uunet!gatech!darwin.sura.net!jvnc.net!primerd.prime.com!nt1l!nt1l!aardvark
- From: aardvark@nt1l.krl.com (Donald Koch)
- Subject: Re: How do I get 'asciiStringWidgetClass' in R5?
- Message-ID: <1992Sep10.174346@nt1l.krl.com>
- Sender: aardvark@nt1l (Donald Koch)
- Nntp-Posting-Host: nt1l
- Organization: Koch Research Labs
- References: <1992Sep9.155504.11469@abekrd.co.uk>
- Date: Thu, 10 Sep 1992 21:43:46 GMT
- Lines: 29
-
- In article <1992Sep9.155504.11469@abekrd.co.uk>, garyb@abekrd.co.uk (Gary Bartlett) writes:
- > What's the story with the asciiStringWidgetClass in X11R5? I was trying
- > to compile up an old program (which compiled without problem on R4)
- > which used the following call:
- >
- > #define ASCII_STRING
- > #include <X11/Xaw/AsciiText.h>
- >
- > :
- > :
- >
- > send1 = XtCreateManagedWidget("send1", asciiStringWidgetClass,
- > box1, args, FIVE);
- >
- > On linking, the asciiStringWidgetClass could not be found:
- >
- > ld: Undefined symbol
- > _asciiStringWidgetClass
- >
-
- The Athena Widgets library (libXaw) needs to be built with ASCII_STRING defined.
- Since it apparently wasn't in your case, the asciiStringWidgetClass structure
- wasn't defined. I believe the ascii string widget is obsolete and you should
- replace it with the text widget, but the aforementioned rebuild should get you
- by in the meantime.
-
- --
- Don Koch
- aardvark@nt1l.krl.com
-