steve@cad0.arch.unsw.oz.au (Stephen Peter) (02/26/91)
G'Day all,
Silly beginners question here. I am trying to compile a simple
"hello world" program (to run under openwindows). The program
seems to compile OK, but gives a (link?) error.
my command is:
cc -I/usr/openwin/include -L/usr/openwin/lib -lxview -lolgx -lxvps xhello.c
I then get the following error message:
ld: Undefined symbol
__XtInherit
_XtRealizeWidget
_XtMainLoop
_staticTextWidgetClass
_XtCreateManagedWidget
_OlInitialize
I conclude from this that the linker didnt find the openwindows libraries.
Any help and/or suggestions welcome.
--
_--_|\
/ \ Stephen Peter steve@cad0.arch.unsw.oz.au
\_.--._/<-------------------------------------------------------------------
v School of Architecture, University of New South Wales, Australiasteve@cad0.arch.unsw.oz.au (Stephen Peter) (02/27/91)
Just a thank-you to all those who mailed answers to my question!
Stephen.
--
_--_|\
/ \ Stephen Peter steve@cad0.arch.unsw.oz.au
\_.--._/<-------------------------------------------------------------------
v School of Architecture, University of New South Wales, Australia