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: <5.1.0.14.2.20020319215307.00ac2450@mail.earthlink.net> X-Sender: X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Tue, 19 Mar 2002 22:01:41 -0500 To: cygwin AT cygwin DOT com From: Jeremy Hetzler Subject: Re: How to fix the 'cannot find -luser32' problem In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed At 02:34 PM 3/20/2002 +1200, you wrote: >I searched high and low and couldn't find anything on how to fix the >error > >/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-6/../../../../i686-pc-cygwin/bin/ >ld: cannot find -luser32 > >So I decided to use my brains and found the files in the directory >C:\cygwin\usr\lib\w32api > >So to fix it jump into windows explorer go to C:\cygwin\usr\lib\w32api >and copy all the files into C:\cygwin\usr\lib and C:\cygwin\lib > >-- >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/ Others of us who can "use our brains" are somewhat leery of simple mass-moving library files around in a package-managed system, unless the developers say it won't be harmful. Maybe your solution is benign, but if it starts causing subtle gcc errors due to wrongly-versioned files it will be impossible to debug. At the very least the need to manually move files around is a signal that something has gone wrong in the install process. -- 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/