This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Problem compiling with cywin.dll
- From: Larry Hall <cygwin-lh at cygwin dot com>
- To: Davin Pearson <davin_pearson at yahoo dot com>, cygwin at cygwin dot com
- Date: Wed, 21 Apr 2004 22:27:36 -0400
- Subject: Re: Problem compiling with cywin.dll
- References: <20040422021432.16897.qmail@web40206.mail.yahoo.com>
- Reply-to: Cygwin List <cygwin at cygwin dot com>
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/