Path: utzoo!utgpu!watserv1!watmath!att!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!apple!agate!icsib12!stolcke From: stolcke@icsib12.Berkeley.EDU (Andreas Stolcke) Newsgroups: comp.windows.x Subject: Re: Help X11 MetaFont Message-ID: <1990Nov18.071312.21351@agate.berkeley.edu> Date: 18 Nov 90 07:13:12 GMT References: <9011101605.AA10287@signu.vuse> <1990Nov16.092941.9637@xcc.uucp> Sender: usenet@agate.berkeley.edu (USENET Administrator) Reply-To: stolcke@icsi.Berkeley.EDU (Andreas Stolcke) Organization: International Computer Science Institute, Berkeley, CA Lines: 26 In article <1990Nov16.092941.9637@xcc.uucp> bernward@xcc.UUCP (Bernward Averwald) writes: >In article <9011101605.AA10287@signu.vuse> 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? > >The same happend to me just one day ago. >Static linking (-Bstatic) "solves" the problem. > No need for such a kludge (especially since this would increase your binary size considerablay)! The error typically occurs when you're linking with the shared Xt library without ever actually using it in the program. So either - try linking without -lXt - switch to using the X interface that actually uses libXt (METAFONT has two, one Xlib-based, the other Xt-based. the latter is recommended). Andreas Stolcke International Computer Science Institute stolcke@icsi.Berkeley.EDU 1957 Center St., Suite 600, Berkeley, CA 94704 (415) 642-4274 ext. 126