Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!spool.mu.edu!samsung!munnari.oz.au!metro!usage.csd.unsw.oz.au!cad0.arch.unsw.oz.au From: steve@cad0.arch.unsw.oz.au (Stephen Peter) Newsgroups: comp.windows.open-look Subject: Compile/Link problem Message-ID: <1150@usage.csd.unsw.oz.au> Date: 25 Feb 91 22:32:23 GMT Sender: news@usage.csd.unsw.oz.au Organization: Faculty of Architecture, UNSW, Australia Lines: 31 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, Australia