X-Spam-Check-By: sourceware.org Message-ID: <452B122B.9060503@cygwin.com> Date: Mon, 09 Oct 2006 23:23:23 -0400 From: "Larry Hall (Cygwin)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060916 Fedora/1.5.0.7-1.fc4.remi Thunderbird/1.5.0.7 Mnenhy/0.7.4.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Compiling TVision under Cygwin fails References: <6715381 DOT post AT talk DOT nabble DOT com> In-Reply-To: <6715381.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 Vojta wrote: > Hello, I just tried to compile Turbo Vision under Cygwin: > I ran ./configure, which finished without errors > I ran make and it compiled okay, until got to file > classes/wingr/wingrscr.cc, where it stoped with error that function > _get_osfhandle (line 703) was not declared. However, this function is > defined in , but it seems to me, that it isn't linked to it when > compiling - I guess I should pass some g++ flag when configuring - but > which? > Does anybody know what to do with it (I hope it is understandable what I > have written because my English is not very good)? > I tried this with the newest packages installed and I got the same error > with several different versions of TVision. > Thank you > - Vojta Your English is fine. Make sure you are using '/usr/include/io.h' and not '/usr/include/mingw/io.h'. The former is Cygwin. The latter is Mingw. If you want Mingw rather than Cygwin, then your question is better directed to the Mingw folks (www.mingw.org). -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (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/