(no subject)
(no subject)
- Subject: (no subject)
- From: Robin Goodfellow <email@hidden>
- Date: Sat, 27 Dec 2003 16:52:44 +1030
Your email has been refused. It looks too much like spam.
------ This is a copy of the message, including all the headers. ------
Received: from mail by wiggum.vmedia.com.au with spam-scanned (Exim 3.36 #1 (Debian))
id 1Aa7qN-0006Rk-00
for <email@hidden>; Sat, 27 Dec 2003 16:52:40 +1030
Received: from lists.apple.com ([17.254.0.151])
by wiggum.vmedia.com.au with esmtp (Exim 3.36 #1 (Debian))
id 1Aa7qG-0006Rc-00
for <email@hidden>; Sat, 27 Dec 2003 16:52:28 +1030
Received: from lists.apple.com (localhost [127.0.0.1])
by lists.apple.com (8.12.9/8.12.9) with ESMTP id hBR6kdmQ019741;
Fri, 26 Dec 2003 22:46:39 -0800 (PST)
Date: Fri, 26 Dec 2003 22:01:52 -0800
Message-ID: <email@hidden>
From: email@hidden
Subject: x11-users digest, Vol 1 #516 - 1 msg
Reply-to: email@hidden
X-Mailer: Mailman v2.0.13
MIME-version: 1.0
Content-type: text/plain
To: email@hidden
Sender: email@hidden
Errors-To: email@hidden
X-BeenThere: email@hidden
X-Mailman-Version: 2.0.13
Precedence: bulk
List-Unsubscribe: <http://www.lists.apple.com/mailman/listinfo/x11-users>,
<mailto:email@hidden?subject=unsubscribe>
List-Id: X11 for Mac OS X discussion list <x11-users.lists.apple.com>
List-Post: <mailto:email@hidden>
List-Help: <mailto:email@hidden?subject=help>
List-Subscribe: <http://www.lists.apple.com/mailman/listinfo/x11-users>,
<mailto:email@hidden?subject=subscribe>
X-Scanner: exiscan *1Aa7qG-0006Rc-00*RRwngkpiDjg*
X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on
wiggum.vmedia.com.au
X-Spam-Level:
X-Spam-Status: No, hits=-1.7 required=5.5 tests=AWL,BAYES_00,NO_REAL_NAME
autolearn=no version=2.60
Send x11-users mailing list submissions to
email@hidden
To subscribe or unsubscribe via the World Wide Web, visit
http://www.lists.apple.com/mailman/listinfo/x11-users
or, via email, send a message with subject or body 'help' to
email@hidden
You can reach the person managing the list at
email@hidden
When replying, please edit your Subject line so it is more specific
than "Re: Contents of x11-users digest..."
Today's Topics:
1. compiled but won't run (email@hidden)
--__--__--
Message: 1
Date: Fri, 26 Dec 2003 10:01:22 -0700
From: email@hidden
To: email@hidden
Subject: compiled but won't run
I've compiled a sample XT app off the web for X11 using XCode and that
worked fine, but when I try to run it from X11 it barfs with this error:
ZeroLink: unknown symbol '_labelWidgetClass'
Abort trap
I can run all the pre-packaged apps that come with X's install, I can
see all the proper dylibs (I think they are anyway), I don't see
anything that I haven't done in the FAQ.
Any suggestions?
Here's the code for anyone who care :)
//main.c:3: X11/Intrinsic.h: No such file or directory
#include <stdio.h>
#include <X11/Intrinsic.h>
#include <X11/StringDefs.h>
#include <X11/Xaw/Command.h>
#include <X11/Xaw/Form.h>
#include <X11/Xaw/Box.h>
// exit the program
static void exitHandler(Widget w, XtPointer callData, XtPointer
clientData) {
exit(0);
}
// print "hello" to stdout
static void helloHandler(Widget w, XtPointer callData, XtPointer
clientData) {
printf("Hello\n");
}
/* main program */
void main(int argc, char **argv) {
XtAppContext appContext;
Widget toplevel, box, topLabel, bottomPanel, helloButton,
exitButton;
toplevel = XtVaAppInitialize(&appContext, "AthenaDemo", NULL, 0,
&argc, argv, NULL, NULL);
box = XtVaCreateManagedWidget("box",boxWidgetClass,toplevel,NULL);
topLabel = XtVaCreateManagedWidget("topLabel",
labelWidgetClass,
box,
XtNlabel,
" Pick One ",
XtNborderWidth,
0,
NULL);
bottomPanel = XtVaCreateManagedWidget("bottomPanel",
formWidgetClass,
box,
XtNsensitive,
True,
XtNborderWidth,
0,
NULL);
helloButton = XtVaCreateManagedWidget("helloButton",
commandWidgetClass,
bottomPanel,
XtNlabel,
" Hello ",
NULL);
XtAddCallback(helloButton, XtNcallback, helloHandler, NULL);
exitButton = XtVaCreateManagedWidget("exitButton",
commandWidgetClass,
bottomPanel,
XtNlabel,
" Exit ",
XtNfromHoriz,
helloButton,
NULL);
XtAddCallback(exitButton, XtNcallback, exitHandler, NULL);
XtRealizeWidget(toplevel);
XtAppMainLoop(appContext);
}
Thanks in advance.
Terrance Davis
www.genedavissoftware.com
--__--__--
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.
End of x11-users Digest
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.