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 Message-ID: <457C6AE5782017419D5A7CD0E122EC131DCB4D@ca1xpr08.kla-tencor.com> From: "Yu, Ted" To: "'cygwin AT cygwin DOT com'" Subject: function exported from DLL compiled under Cygwin Date: Mon, 17 May 2004 09:46:40 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" I exported the following function from DLL produced by Cygwin: extern "C" int ted( float *data, int rows, int cols ) { return cols; } When I called this function from MSVC, I got exception. When I tried to initialize _impure_ptr in entry function, ld complained: djbfft2d.o(.text+0x1):djbfft2d.cpp: undefined reference to `__imp_reent_data' Which file should I link against to resolve this ? Thanks -- 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/