C compiler cannot create executables

Elfyn McBratney elfyn@cygwin.com
Wed Jun 25 13:51:00 GMT 2003


On Tue, 24 Jun 2003, Arvind Raman wrote:

> Hi,
> I am trying to compile the xvid distribution in the
> cygwin shell on my windows 2k box. On doing so I am
> getting the following error
> configure: error: C compiler cannot create executables
> which I see is troubling quite a few other people.
> I browsed through the messages on the list, but could
> not really find a fix to my problem. I have
> uninstalled and installed cygwin many times, and that
> too doesnt seem to solve the problem.
> As was requested of others I am attaching the outputs
> of my ./configure and cygcheck -svr.
> Could you please help me figure out where the problem
> could be.

You have three options:

  1) Upgrade Cygwin (which may help). We're currently at version
     1.3.22 verging a 1.5.0 release.

  2) Re-install the 'gcc' and/or 'gcc-mingw' package(s). Again..it
     may help.

  3) Read `man chmod'...

     cd /
     chmod -R a+r .
     chmod -R a+x bin sbin usr/sbin usr/local/bin lib/gcc-lib/*.exe usr/X11R6/bin

     You might just need to `chmod u+rwx .' in your working directory, however.

Elfyn

-- 


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