Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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 , cygwin AT cygwin DOT com From: Larry Hall 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 Content-Type: text/plain; charset="us-ascii" 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 > > 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/