Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rice!uw-beaver!cornell!rochester!kodak!ispd-newsserver!ism.isc.com!emisle!dvb From: dvb@emisle.uucp (David Van Beveren) Newsgroups: comp.unix.sysv386 Subject: Re: Roell's X11R4 link problems Message-ID: <1991Jun16.214412.1717@emisle.uucp> Date: 16 Jun 91 21:44:12 GMT References: <1991Jun15.155549.26115@uunet.uu.net> Reply-To: dvb@emisle.UUCP (David Van Beveren) Organization: Emerald Isle Systems, Ltd. Agoura Hills, CA Lines: 31 In article <1991Jun15.155549.26115@uunet.uu.net> karln!karln@uunet.uu.net () writes: > > When compiling/linking any simple X program (xconq, xsperm) I >get link errors: > > cannot find: > ptsname (/usr/lib/libX11.a) first referenced. > > plus two others that have "pt" in them, such as unlockpt > or something. [rest deleted...] This is the second posting of this question this week. Does that make it 'Frequently Asked'? On ISC (2.0.2 for me), when running X386 (1.1a for me), I need to link in libinet.a to get the Socket API and -lpt to get the clone devices (for lack of a better term) API. In summary: Use the following link libraries in all X programs that use X386 (aka Roell X11R4): -lX11 -linet -lpt Note that the -linet and -lpt must come AFTER -lX11, which of course should come after -lXm, -lolgx, -lXt or other associated libs. -- David Van Beveren INTERNET: emisle!dvb@ism.isc.com EIS ltd. Professional Software Services UUCP: ..uunet!emisle!dvb voice: (818) 587-1247