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]

newbie - cannot find -luser32 problem


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

I though this may be to do with my PATH settings?? (I assume it is trying to
find user32.dll which is in /windows/system)
Here is the cygwin.bat file created by setup.exe:

@echo off

C:
chdir \cygwin\bin
bash --login -i

@echo off

I added in the two extra lines below, but it doesn't seem to make any
difference:

C:
chdir \cygwin\bin

SET MAKE_MODE=unix
SET PATH=C:\cygwin\bin;C:\cygwin\usr\local\bin;%PATH%

bash --login -i

Thanks in advance for any help...
wade
Vulcan Helicopters
Visit our NEW website at http://www.vulcanheli.co.nz


--
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]