This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]