This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Compiling TVision under Cygwin fails
- From: "Larry Hall (Cygwin)" <reply-to-list-only-lh at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 09 Oct 2006 23:23:23 -0400
- Subject: Re: Compiling TVision under Cygwin fails
- References: <6715381.post@talk.nabble.com>
- Reply-to: 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 <io.h>, 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/