*BSD News Article 94945


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!newsfeed.nacamar.de!fu-berlin.de!news.CS.Uni-Magdeburg.De!not-for-mail
From: Roland Jesse <jesse@cs.uni-magdeburg.de>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Compiling and linking with X.
Date: 09 May 1997 20:38:36 +0200
Organization: University of Magdeburg
Lines: 17
Message-ID: <0vyb9oebir.fsf@cs.uni-magdeburg.de>
References: <3372A499.41C67EA6@silas.cc.monash.edu.au> <5kvbvh$14u$1@sol.ctr.columbia.edu> <337340A3.41C67EA6@silas.cc.monash.edu.au>
NNTP-Posting-Host: pflaume.cs.uni-magdeburg.de
X-No-Archive: Yes
X-Pgp-Fingerprint: 5D 08 5A E3 B4 AA 68 C1  FF 67 06 29 62 DD 9A D7
X-Newsreader: Gnus v5.4.5/Emacs 19.34
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:40650

David Henshaw <dhenshaw@silas.cc.monash.edu.au> writes:

> Now I get the following (after several "DESERVED" errors).
> 
> ld: -lX11: no match
> 
> So now what ?

cc -I/usr/X11R6/include -L/usr/X11R6/lib -o xidle xidle.c -lX11
                          ^^^^^^^^^^^^^^
			  the path where the lib most probably is

-- 
+-------------
| Roland Jesse <jesse@cs.uni-magdeburg.de>
|  http://www.cs.uni-magdeburg.de/~jesse/  |
                                      -----+