From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31222 invoked by alias); 22 Jul 2002 22:45:56 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 31211 invoked from network); 22 Jul 2002 22:45:55 -0000 Received: from unknown (HELO ex02.idirect.net) (208.226.76.48) by sources.redhat.com with SMTP; 22 Jul 2002 22:45:55 -0000 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" Content-Transfer-Encoding: quoted-printable Subject: RE: error ld: cannot find -luser32 Date: Mon, 22 Jul 2002 16:44:00 -0000 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Harig, Mark A." To: "Armin Zeltner" , X-SW-Source: 2002-07/txt/msg01801.txt.bz2 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.Zeltner@t-online.de] > Sent: Tuesday, July 23, 2002 7:23 PM > To: cygwin@cygwin.com > Subject: error ld: cannot find -luser32 >=20 >=20 > hi folks >=20 > 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:=20 > cannot find -luser32 > collect2: ld returned 1 exit status >=20 >=20 > Any suggestions? >=20 > I'm novice in cygwin! >=20 > Please send the answer additionally to me with CC, because I'm not=20 > subscribed. >=20 >=20 > Thanx >=20 >=20 > -- > 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/ >=20 >=20 -- 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/