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 Message-Id: <4.3.1.2.20020325144016.02361dd0@pop.ma.ultranet.com> X-Sender: lhall AT pop DOT ma DOT ultranet DOT com Date: Mon, 25 Mar 2002 14:42:40 -0500 To: "Mark Rubin" , From: "Larry Hall (RFK Partners, Inc)" Subject: Re: link error - missing user32? In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 02:28 PM 3/25/2002, Mark Rubin wrote: >I just installed cygwin for the first time and I am having trouble linking hello.c on Win2k. I read the FAQ and did a search in the archives for similar errors. Although I found references to the same problem, I was not able to resolve it by follow the same course of action as the other users. So far I have: > >-reinstalled everything >-reinstalled the w32 libs > > >Error is below: > >$ gcc hello.c >/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld: cann >ot find -luser32 >collect2: ld returned 1 exit status > >Any other suggestions? You'll need to be more specific about what you did and saw if you want reasonable suggestions. There's only two things I can suggest you try at this point: 1. Use the setup from www.cygwin.com if you did not. 2. Debug the problem. Larry Hall lhall AT rfk DOT 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/