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 X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Subject: RE: error ld: cannot find -luser32 Date: Mon, 22 Jul 2002 18:45:54 -0400 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Harig, Mark A." To: "Armin Zeltner" , Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g6MMkAv15296 It appears that you are missing the library 'libuser32.a'. This is included in the setup package 'w32api', which can be found in the 'Libs' category. To see what libraries 'gcc' is implicitly linking to your .exe, add the '-v' compiler option switch to your command. > -----Original Message----- > From: Armin Zeltner [mailto:Armin DOT Zeltner AT t-online DOT de] > Sent: Tuesday, July 23, 2002 7:23 PM > To: cygwin AT cygwin DOT com > Subject: error ld: cannot find -luser32 > > > 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-c > ygwin/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. > > > Thanx > > > -- > 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/ > > -- 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/