This is the mail archive of the cygwin 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: GCC problems


At 10:23 AM 6/29/2004, you wrote:
>At 09:21 AM 6/29/2004, you wrote:
>>Hello,
>>
>>  I am trying to complile some programs but get this error message:
>>
>>  "/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld:
>>  cannot find -lusr32

                 ^^^^^^

I'm assuming you edited this and that it actually read -luser32.  Obviously,
this means you're missing something.  You can determine what package you're 
missing by visiting <http://cygwin.com/packages/> and entering the name of
the file you're missing ('libuser32.a' in this case).  It will tell you 
the package you need to install ('w32api').  Rerun 'setup' and select this
package for installation.


>>  collect2: ld returned 1 exit status"
>>
>>  Another package add these two lines:
>>
>>  "*** The command '/usr/bin/gcc -o conftest -g -O2 conftest.c' failed
>>  *** You must set the environment variable CC to a working compiler."
>>
>>  Can anybody suggest how to fix it? Where do I set this variable?


Sounds like you're missing more stuff.  If you can't figure out what's 
missing, follow the problem reporting guidelines given at:

>>Problem reports:       http://cygwin.com/problems.html


This should either provide the answer in the process of developing a 
problem report to send to the list or will give those here on the list
some information by which to evaluate your local installation's state
when you submit the report.


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


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