Path: utzoo!utgpu!watserv1!watmath!att!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!ucsd!ucrmath!yakker From: yakker@ucrmath.ucr.edu (matt robinson) Newsgroups: comp.windows.x Subject: Re: Help X11 MetaFont Summary: Try this out. Message-ID: <9993@ucrmath.ucr.edu> Date: 18 Nov 90 06:36:29 GMT References: <9011101605.AA10287@signu.vuse> Sender: news@ucrmath.ucr.edu Organization: University of California, Riverside Lines: 32 -> drl@VUSE.VANDERBILT.EDU (David R. Linn) writes: -> I'm trying to build MetaFont from the web2c-5.8a stuff with both SunView and -> X11 support. The executable I build doesn't work and dies with the message -> -> ld.so: Undefined symbol: __XtInherit -> ... -> Can anyone suggest another reason for this error message? Well, if I'm not mistaken, and I have been MANY a time (grin), you might want to try out compiling the program without the Xt/Xaw/Xmu libraries. I tried compiling one of my programs by typing in: cc -o myprog myprog.c -lXaw -lXt -lXmu -lX11 -O and it worked without a hitch. But then, when I ran it, I got the same message you did: ld.so: Undefined symbol: __XtInherit When I went back and compiled the program with: cc -o myprog myprog.c -lX11 -O it worked just fine. I wasn't using the Xt widgets, so I didn't need the libraries. Hope this works! ------------------------------------------------------------------------------ Matt D. Robinson "...If I only had a brain..." yakker@ucrmath.ucr.edu -- The Scarecrow, The Wizard Of Oz Systems Programming Group, UC Riverside ------------------------------------------------------------------------------