www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/16/11:21:02

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Wed, 16 Dec 2009 11:20:42 -0500
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: gcc-3 won't compile after cygwin upgrade (cygwin1.dll hiding)
Message-ID: <20091216162042.GD31219@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <90871a3a0912160507m4811f152v9a6b5d3e505ef0b1 AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <90871a3a0912160507m4811f152v9a6b5d3e505ef0b1@mail.gmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Wed, Dec 16, 2009 at 07:07:44AM -0600, David Nelson wrote:
>There is no question; only a report.
>
>I re-installed a new version of Cygwin (into f:\cygwin) after a recent
>but long overdue
>upgrade of the "base" caused 'makes' on my C project to begin failing
>in strange ways.
>The details of the failures are lost to my memory since I began
>hunting around on this for several
>weeks, but involved make [***] "Error 1" with no more details.
>
>When I discovered the simplest helloworld.c would not
>compile--although gcc-3 compeleted with
>no errors, but with no .o or .exe either--I rolled back cygwin and
>gcc-3 to their immediately prior
>versions.
>
>When that failed too, I uninstalled f:\cgywin entirely, including the
>HKLM, HKCU entries
>for Cygnus Solutions. I reinstalled the latest version, along with gcc-3.
>
>Still, gcc-3 helloworld.c  in the new install failed the same way: no
>errors, no output.
>
>Searching the web and the Cygwin archvies turned up:
> cygcheck -svrh gcc-3 [thank you!]
>which reported that f:/cygwin/bin/cygwin1.dll was hiding c:\windows\cygwin1.dll.
>
>"Good," I thought "new should hide old."
>
>However, renaming /bin/cygwin1.dll to /bin/cygwin1.dll_ to unhide the
>older version
>resulted in gcc-3 succeeding.
>
>ListDLLS (from sysinternals.com) cannot come up with a version number
>in /bin/cygwin1.dll,
>but says c:\windows\cygwin1.dll is 1005.25.0000.0000.
>
>However, ls -l shows:
>$ ls -l /bin/cygwin1.dll_
>-rwxr-x---+ 1 adm Users 1872884 Jun 12  2008 /bin/cygwin1.dll_*
>
>$ ls -l /cygdrive/c/windows/cygwin1.dll
>-rwx------+ 1 adm None 1873396 Mar  5  2008 /cygdrive/c/windows/cygwin1.dll*

The correct thing to do here is *remove* c:/windows/cygwin1.dll.  Otherwise
you will have strange problems every time you install a new version of cygwin.

cgf

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019