GCC Compilation Error
Larry Hall
cygwin-lh@cygwin.com
Mon Oct 6 17:05:00 GMT 2003
At 11:58 AM 10/6/2003, Paul Bezzam you wrote:
>Hello,
>
>I have a question: I recently installed Cygwin, and I am trying to compile
>a C program. But I get this message after I use the compile command:
>
>/usr/lib/gcc-lib/i686-pc-cygwin/3.0/../.i686-pc-cygwin/bin/ld: Cannot find
>-luser32
>collect2: ld returned 1 exit status
>
>I am pretty new at this..Can you please offer any help.
>
Sure. Newbies should skim the available documentation (FAQ, User Guide,
and email archives). These are helpful in answering allot of FAQ/newbie
questions and issues. For this particular issue, which pops up from time
to time on this list, you should visit <http://cygwin.com/packages/> to
find out which package contains this library that you need. Then, run setup
and install that package. This approach is the recommended procedure for all
cases where you're missing something you want/need.
--
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
838 Washington Street (508) 893-9889 - FAX
Holliston, MA 01746
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list