This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: error ld: cannot find -luser32
- From: "Harig, Mark A." <maharig at idirect dot net>
- To: "Armin Zeltner" <Armin dot Zeltner at t-online dot de>,<cygwin at cygwin dot com>
- Date: Mon, 22 Jul 2002 18:45:54 -0400
- Subject: RE: error ld: cannot find -luser32
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
>
>
> 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/