This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: error ld: cannot find -luser32
- From: "Larry Hall (RFK Partners, Inc)" <lhall at rfk dot com>
- To: Armin dot Zeltner at t-online dot de (Armin Zeltner),cygwin at cygwin dot com
- Date: Tue, 23 Jul 2002 08:54:12 -0400
- Subject: Re: error ld: cannot find -luser32
At 07:23 PM 7/23/2002, Armin Zeltner wrote:
>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-cygwin/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.
Hello Armin,
A good place to start with questions like these is the FAQ and email list
archives. The archives, at least, is replete with postings on this issue.
However, to answer your question directly, you need to install the w32api
package. Rerun setup and do so.
Good luck,
Larry Hall lhall@rfk.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/