Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com Message-Id: <4.3.1.2.20020723085123.0230db08@pop.rcn.com> X-Sender: lhall@pop.rcn.com Date: Tue, 23 Jul 2002 08:54:12 -0400 To: Armin.Zeltner@t-online.de (Armin Zeltner), cygwin@cygwin.com From: "Larry Hall (RFK Partners, Inc)" Subject: Re: error ld: cannot find -luser32 In-Reply-To: <3D3DE554.3000101@t-online.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 07:23 PM 7/23/2002, Armin Zeltner wrote: >hi folks > >downloaded current cygwin >starting gcc i receive the following error: >$ gcc main.c -o main.exe >/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld: cannot find -luser32 >collect2: ld returned 1 exit status > > >Any suggestions? > >I'm novice in cygwin! > >Please send the answer additionally to me with CC, because I'm not subscribed. Hello Armin, A good place to start with questions like these is the FAQ and email list archives. The archives, at least, is replete with postings on this issue. However, to answer your question directly, you need to install the w32api package. Rerun setup and do so. Good luck, Larry Hall lhall@rfk.com RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/