public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: GCC problems
@ 2004-06-29 15:39 Larry Hall
  0 siblings, 0 replies; 11+ messages in thread
From: Larry Hall @ 2004-06-29 15:39 UTC (permalink / raw)
  To: Robert Golovniov, The Cygwin Mailing List

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/

^ permalink raw reply	[flat|nested] 11+ messages in thread
* GCC problems
@ 2004-06-29 14:28 Robert Golovniov
  0 siblings, 0 replies; 11+ messages in thread
From: Robert Golovniov @ 2004-06-29 14:28 UTC (permalink / raw)
  To: The Cygwin Mailing List

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

-- 
             -=Robert & Beata Golovniov | Lviv, Ukraine=-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mailto:golovniov@interia.pl?subject=PGP%20Key&Body=Embedded%20key
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





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

^ permalink raw reply	[flat|nested] 11+ messages in thread
* gcc problems...
@ 2004-04-29 23:59 Derek Farren Gause
  2004-04-30  5:28 ` Christopher Faylor
  0 siblings, 1 reply; 11+ messages in thread
From: Derek Farren Gause @ 2004-04-29 23:59 UTC (permalink / raw)
  To: cygwin

Hi everybody.

I am haveing problems compiling objC code on cygwin. The end of the bash
shell´s output is:

/usr/lib/mingw/libobjc.a(encoding.o)(.text+0xca6): undefined reference to
`__imp ___pctype'
/usr/lib/mingw/libobjc.a(encoding.o)(.text+0xd53): undefined reference to
`__isctype'
/usr/lib/mingw/libobjc.a(encoding.o)(.text+0xd81): undefined reference to
`__imp ___pctype'
/usr/lib/mingw/libobjc.a(encoding.o)(.text+0xdb3): undefined reference to
`__isctype'
/usr/lib/mingw/libobjc.a(encoding.o)(.text+0xdd1): undefined reference to
`__imp ___pctype'
/usr/lib/mingw/libobjc.a(encoding.o)(.text+0x103d): undefined reference to
`__isctype'
/usr/lib/mingw/libobjc.a(encoding.o)(.text+0x105e): undefined reference to
`__imp___pctype'
/usr/lib/mingw/libobjc.a(encoding.o)(.text+0x10e3): undefined reference to
`__isctype'
/usr/lib/mingw/libobjc.a(encoding.o)(.text+0x1137): undefined reference to
`__isctype'
/usr/lib/mingw/libobjc.a(encoding.o)(.text+0x1157): undefined reference to
`__imp___pctype'
/usr/lib/mingw/libobjc.a(encoding.o)(.text+0x116c): undefined reference to
`__imp___pctype'
/usr/lib/mingw/libobjc.a(encoding.o)(.text+0x1215): undefined reference to
`__isctype'
/usr/lib/mingw/libobjc.a(encoding.o)(.text+0x1269): undefined reference to
`__isctype'
/usr/lib/mingw/libobjc.a(encoding.o)(.text+0x1292): undefined reference to
`__imp___pctype'
/usr/lib/mingw/libobjc.a(encoding.o)(.text+0x12a7): undefined reference to
`__imp___pctype'
/usr/lib/mingw/libobjc.a(encoding.o)(.text+0x13d4): undefined reference to
`__isctype'
/usr/lib/mingw/libobjc.a(encoding.o)(.text+0x13e7): undefined reference to
`__imp___pctype'
collect2: ld returned 1 exit status


I have Cygwin´s .bashrc customized for swarm in order to use the suite gcc
distributed with Swarm (www.Swarm.org). Some additional info:

$ gcc -v
Reading specs from /Swarm-2.2/lib/gcc-lib/i686-pc-cygwin/3.3.1/specs
Configured with:
/src/gcc-3.3.1/configure --prefix=/Swarm-2.2 --srcdir=/src/gcc-3.3.1 --enabl
e-libgcj
Thread model: single
gcc version 3.3.1

Any help would be apreciated...

Thanks in advance.

Derek Farren



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

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: gcc problems
@ 2002-01-02 13:42 Andrew Sidwell
  2002-01-02 14:34 ` Larry Hall (RFK Partners, Inc)
  2002-01-02 16:58 ` Robert Collins
  0 siblings, 2 replies; 11+ messages in thread
From: Andrew Sidwell @ 2002-01-02 13:42 UTC (permalink / raw)
  To: nevermiah; +Cc: cygwin

>Hello all,
>  I'm sorry if this has been solved before, but I can't see it on the
>mailing list archives, so I'm guessing it's not.
>

<snip>

Here's a clarification of the error messages and what caused them:

On a compile using GCC, a little error box with the title 'Error Starting 
Program' pops up, with the text, "The COLLECT2.EXE file is linked to missing 
export CYGWIN1.DLL:_ctype_.".

In the Cygwin window itself, there is the message:

gcc: installation problem, cannot exec 
'/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/collect2..exe': Permission denied.

I'm using Win98SE, without any bcc tools, etc. installed.

Thanks in advance,
--
Andrew Sidwell, takkaria on IRC
>
>
>_________________________________________________________________
>Send and receive Hotmail on your mobile device: http://mobile.msn.com




_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


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

^ permalink raw reply	[flat|nested] 11+ messages in thread
* gcc problems
@ 2002-01-01  8:53 Andrew Sidwell
  0 siblings, 0 replies; 11+ messages in thread
From: Andrew Sidwell @ 2002-01-01  8:53 UTC (permalink / raw)
  To: cygwin

Hello all,
  I'm sorry if this has been solved before, but I can't see it on the 
mailing list archives, so I'm guessing it's not.

  I'm having problems compiling anything written in C, but then again I 
don't use any other languages, so I can't tell.

  I get a little error box with the title 'Error Starting Program', and the 
text, "The COLLECT2.EXE file is linked to missing export 
CYGWIN1.DLL:_ctype_.". In the Cygwin window itself, there is the error:

gcc: installation problem, cannot exec 
'/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/collect2..exe': Permission denied.

  I've reinstalled cygwin several times, the most recent being today. Every 
simgle time the error message has been the same, IIRC.

  Thanks in advance,
--
Andrew Sidwell, takkaria on IRC


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


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

^ permalink raw reply	[flat|nested] 11+ messages in thread
* GCC problems
@ 2001-12-12  9:07 gahan
  2001-12-12 22:01 ` Tim Prince
  0 siblings, 1 reply; 11+ messages in thread
From: gahan @ 2001-12-12  9:07 UTC (permalink / raw)
  To: cygwin

checking whether the C compiler (gcc  ) works... error [cut]
I have already installed gcc, make...
What i need to do?
Gahan.



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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2004-06-29 14:38 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-29 15:39 GCC problems Larry Hall
  -- 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

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).