delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/03/17/15:24:44

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Thu, 17 Mar 2005 15:24:32 -0500
From: Bob Rossi <bob AT brasko DOT net>
To: cygwin AT cygwin DOT com
Subject: dll version mismatch
Message-ID: <20050317202432.GD28845@white>
Mime-Version: 1.0
User-Agent: Mutt/1.3.28i
X-IsSubscribed: yes

Hi,

I looked around and couldn't find this info anywhere, sorry in advance if 
it's a simple question.

I am using GNAT GDB on windows. Apparently it was built with cygwin.
   [bar AT bar-nt /cygdrive/c/GNAT] $ cygcheck 'C:\GNAT\bin\gdb.exe'
   C:/GNAT/bin/gdb.exe
     C:/GNAT/bin\cyggnat.dll
       C:\WINDOWS\system32\KERNEL32.dll
         C:\WINDOWS\system32\ntdll.dll
     C:\WINDOWS\system32\USER32.dll
       C:\WINDOWS\system32\GDI32.dll

cyggnat.dll must be there cygwin1.dll linked in and renamed. 

If I run the program in dos, it works fine,
   C:\>C:\GNAT\bin\gdb.exe
   GNU gdb 5.0.gnat.3.15p
   Copyright 2000 Free Software Foundation, Inc.
   Ada Core Technologies version of GDB for GNAT Professional
   GDB is free software, covered by the GNU General Public License, and you are
   welcome to change it and/or distribute copies of it under certain conditions.
   Type "show copying" to see the conditions.
   See your support agreement for details of warranty and support.
   If you do not have a current support agreement, then there is absolutely
   no warranty for this version of GDB. Type show warranty for details.
   This GDB was configured as "i686-pc-cygwin".
   (gdb)

If I run it in cygwin I get,
   [bar AT bar-nt ~] $ /cygdrive/c/GNAT/bin/gdb.exe
   c:\GNAT\bin\gdb.exe: *** proc version mismatch detected - 0x5751/0x8B3C.
   You have multiple copies of cygwin1.dll on your system.
   Search for cygwin1.dll using the Windows Start->Find/Search facility
   and delete all but the most recent version.  The most recent version *should*
   reside in x:\cygwin\bin, where 'x' is the drive on which you have
   installed the cygwin distribution.
   [bar AT bar-nt ~] $

Does anyone know how I can run this program without problems on cygwin?

Thanks,
Bob Rossi

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