Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Reply-To: Cygwin List Message-Id: <5.1.0.14.0.20031006120537.027d9e88@127.0.0.1> X-Sender: Date: Mon, 06 Oct 2003 12:12:31 -0400 To: Paul Bezzam , cygwin AT cygwin DOT com From: Larry Hall Subject: Re: GCC Compilation Error In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 11:58 AM 10/6/2003, Paul Bezzam you wrote: >Hello, > >I have a question: I recently installed Cygwin, and I am trying to compile >a C program. But I get this message after I use the compile command: > >/usr/lib/gcc-lib/i686-pc-cygwin/3.0/../.i686-pc-cygwin/bin/ld: Cannot find >-luser32 >collect2: ld returned 1 exit status > >I am pretty new at this..Can you please offer any help. > Sure. Newbies should skim the available documentation (FAQ, User Guide, and email archives). These are helpful in answering allot of FAQ/newbie questions and issues. For this particular issue, which pops up from time to time on this list, you should visit to find out which package contains this library that you need. Then, run setup and install that package. This approach is the recommended procedure for all cases where you're missing something you want/need. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/