link error - missing user32?

Larry Hall (RFK Partners, Inc) lhall@rfk.com
Mon Mar 25 12:17:00 GMT 2002


At 02:28 PM 3/25/2002, Mark Rubin wrote:
>I just installed cygwin for the first time and I am having trouble linking hello.c on Win2k. I read the FAQ and did a search in the archives for similar errors. Although I found references to the same problem, I was not able to resolve it by follow the same course of action as the other users. So far I have:
>>-reinstalled everything
>-reinstalled the w32 libs
>>>Error is below:
>>$ gcc hello.c
>/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld: cann
>ot find -luser32
>collect2: ld returned 1 exit status
>>Any other suggestions?

You'll need to be more specific about what you did and saw if you want 
reasonable suggestions. There's only two things I can suggest you try
at this point:
 1. Use the setup from www.cygwin.com if you did not.
 2. Debug the problem.
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/


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /