public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Larry Hall <cygwin-lh@cygwin.com>
To: Robert Golovniov <golovniov@interia.pl>,
	The Cygwin Mailing List <cygwin@cygwin.com>
Subject: Re: GCC problems
Date: Tue, 29 Jun 2004 15:39:00 -0000	[thread overview]
Message-ID: <6.1.0.6.0.20040629102349.032ff298@pop.prospeed.net> (raw)

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/

             reply	other threads:[~2004-06-29 14:38 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-29 15:39 Larry Hall [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-06-29 14:28 Robert Golovniov
2004-04-29 23:59 gcc problems Derek Farren Gause
2004-04-30  5:28 ` Christopher Faylor
2002-01-02 13:42 Andrew Sidwell
2002-01-02 14:34 ` Larry Hall (RFK Partners, Inc)
2002-01-02 14:38   ` Larry Hall (RFK Partners, Inc)
2002-01-02 16:58 ` Robert Collins
2002-01-01  8:53 Andrew Sidwell
2001-12-12  9:07 GCC problems gahan
2001-12-12 22:01 ` Tim Prince

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6.1.0.6.0.20040629102349.032ff298@pop.prospeed.net \
    --to=cygwin-lh@cygwin.com \
    --cc=cygwin@cygwin.com \
    --cc=golovniov@interia.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).