Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <38D1544B.9016C58A@mec.etsmtl.ca> Date: Thu, 16 Mar 2000 16:38:19 -0500 From: Farooq Saeed X-Mailer: Mozilla 4.7 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: "cygwin AT sourceware DOT cygnus DOT com" Subject: How to link the X11 library? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi I am trying to compile a program using a Makefile (make name). I would like to use the X11 library and indicate it as link in the makefile I tried to use -lX11 but its giving me the following error: /ld: cannot open -lX11: No such file or directory collect2: ld returned 1 exit status make: *** [name] Error 1 any ideas how to correct it will be appreciated. Thanks I have seen the X11 include files but which lib should i indicte? Farooq -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com