delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/04/21/22:33:24

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.1.0.6.0.20040421222438.03880768@127.0.0.1>
X-Sender:
Date: Wed, 21 Apr 2004 22:27:36 -0400
To: Davin Pearson <davin_pearson AT yahoo DOT com>, cygwin AT cygwin DOT com
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Subject: Re: Problem compiling with cywin.dll
In-Reply-To: <20040422021432.16897.qmail@web40206.mail.yahoo.com>
References: <20040422021432 DOT 16897 DOT qmail AT web40206 DOT mail DOT yahoo DOT com>
Mime-Version: 1.0

At 10:14 PM 4/21/2004, you wrote:
>When I try to compile the following
>file under Cygwin g++, I get a
>window that pops up with the
>following message:
>
>The procedure entry point __getreent could not be located in
>the dynamic link library cygwin.dll
>
>Here is the contents of the file a.cc that
>I am trying to compile:
>
>           #include <iostream.h>
>           
>           int main()
>           {
>              cout << "Welcome to the program\n";
>           }
>
>I installed Cygwin using the program
>"setup.exe", the "Cygwin Net Release Setup Program".
>
>I thought the problem might be due to
>a old version of cygwin1.dll so I 
>downloaded the following file: cygwin1-20040416.dll,
>renamed it to cygwin1.dll and cygwin.dll
>and copied it into the directories
>c:\windows and c:\cygwin\bin
>
>Any help with the above error would
>be gratefully appreciated!


Get rid of any copies of cygwin*.dll in any directory other than 
c:\cygwin\bin.  

Rerun setup and update your environment.  You need 
more than just a new DLL if you're going to be building things.



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

- Raw text -


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