delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/07/11/12:55:48

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: Problem with gcc
Date: Tue, 11 Jul 2006 17:55:32 +0100
Message-ID: <037201c6a50a$d29f0250$a501a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <200607111547.k6BFlwCg021022@enterprise2.newlogic.at>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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 11 July 2006 16:48, Guenther Sohler wrote:

> Dear Dave,
> 
> thank you for your answer.
> 
> I did not answer to the newsgroup before, because I just forgot the command
> to use. but the newgroup probably did not accidently delete the mail :)
> 
> 
> Please find attached the output of cygcheck.

   AAAAAAAAAAAAUUUUGHHHHHHH!

-----------------<quote>-----------------
  883k 2002/07/06 C:\WINNT\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2002/7/6 8:16
    Cygwin DLL version info:
        DLL version: 1.3.12
-----------------<quote>-----------------

  OK, I think we've found your problem.  You've got a years-old version of the
cygwin dll in the windows system directory and it's almost certainly clashing
with the up-to-date one and causing your programs to crash.  Get rid of it and
hopefully everything should "just work (TM)"!

  Also, your /etc/groups file isn't up-to-date:

-----------------<quote>-----------------
Output from H:\windows\bin\id.exe (nontsec)
UID: 13004(gsohler)     GID: 10545(mkgroup-l-d)
545(Users)              10545(mkgroup-l-d)

Output from H:\windows\bin\id.exe (ntsec)
UID: 13004(gsohler)     GID: 10545(mkgroup-l-d)
545(Users)              10545(mkgroup-l-d)
-----------------<quote>-----------------

  Also, your mount entries are messed up:

-----------------<quote>-----------------
Warning: Mount entries should not have a trailing (back)slash

H:\windows\      /          user    binmode
H:\windows\/bin  /usr/bin   user    binmode
H:\windows\/lib  /usr/lib   user    binmode
.                /cygdrive  user    binmode,cygdrive
-----------------<quote>-----------------

  Those are supposed to be win32 paths, and they're not supposed to used mixed
slashes like that.  You could fix them by running

mount -u -b H:\\windows /
mount -u -b H:\\windows\\bin /usr/bin
mount -u -b H:\\windows\\lib /usr/lib

in a bash prompt.

  However, the second two things are probably minor; it's the clashing DLL
that is almost certainly the real source of your troubles.

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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

- Raw text -


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