This is the mail archive of the cygwin@sources.redhat.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]

Re: newbie - cannot find -luser32 problem


On Sun, Nov 19, 2000 at 12:46:07PM +1300, Vulcan Helicopters wrote:
>I have just installed cygwin and am trying to use gcc, but I get the
>following error:
>
>$ make hello
>gcc     hello.cc   -o hello
>/usr/bin/ld: cannot find -luser32
>collect2: ld returned 1 exit status
>make: *** [hello] Error 1

It sounds like you selectively picked things to install and missed an
important piece.  If you didn't install the w32api package, you need to
do this.  This should create the missing /usr/lib/libuser32.a file.

If you did install it then you have another problem.  The command:

gcc -v hello.cc -o hello

may show what the problem is.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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