This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem compiling with cywin.dll


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]