public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* error ld: cannot find -luser32
@ 2002-07-22 16:39 Armin Zeltner
  2002-07-23  9:22 ` Larry Hall (RFK Partners, Inc)
  0 siblings, 1 reply; 3+ messages in thread
From: Armin Zeltner @ 2002-07-22 16:39 UTC (permalink / raw)
  To: cygwin

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.


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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: error ld: cannot find -luser32
  2002-07-22 16:39 error ld: cannot find -luser32 Armin Zeltner
@ 2002-07-23  9:22 ` Larry Hall (RFK Partners, Inc)
  0 siblings, 0 replies; 3+ messages in thread
From: Larry Hall (RFK Partners, Inc) @ 2002-07-23  9:22 UTC (permalink / raw)
  To: Armin Zeltner, cygwin

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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: error ld: cannot find -luser32
@ 2002-07-22 16:44 Harig, Mark A.
  0 siblings, 0 replies; 3+ messages in thread
From: Harig, Mark A. @ 2002-07-22 16:44 UTC (permalink / raw)
  To: Armin Zeltner, cygwin

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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-07-23 12:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-22 16:39 error ld: cannot find -luser32 Armin Zeltner
2002-07-23  9:22 ` Larry Hall (RFK Partners, Inc)
2002-07-22 16:44 Harig, Mark A.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).