From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 71321 invoked by alias); 3 Oct 2015 13:13:37 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 71299 invoked by uid 89); 3 Oct 2015 13:13:37 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-HELO: out4-smtp.messagingengine.com Received: from out4-smtp.messagingengine.com (HELO out4-smtp.messagingengine.com) (66.111.4.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Sat, 03 Oct 2015 13:13:35 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id DB127203ED for ; Sat, 3 Oct 2015 09:13:33 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Sat, 03 Oct 2015 09:13:33 -0400 Received: from [192.168.1.102] (host31-51-205-230.range31-51.btcentralplus.com [31.51.205.230]) by mail.messagingengine.com (Postfix) with ESMTPA id 6E27FC00014; Sat, 3 Oct 2015 09:13:33 -0400 (EDT) Subject: Re: New C compilation error using the Openwindow/xview-devel toolkit on current (September 2015) 32 bit Cygwin References: <560D95A3.9050403@cornell.edu> To: cygwin@cygwin.com From: Jon Turney Reply-To: cygwin@cygwin.com Cc: psm8888@gmail.com Message-ID: <560FD47B.9090900@dronecode.org.uk> Date: Sat, 03 Oct 2015 13:13:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <560D95A3.9050403@cornell.edu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2015-10/txt/msg00032.txt.bz2 On 01/10/2015 21:20, Ken Brown wrote: > On 10/1/2015 2:38 PM, Paul Morgan wrote: >> I can no longer compile C code linked to the Openwindows/xview-devel >> toolkit using gcc in Cygwin 32 bits, installed on Windows 7 32 or 64 >> bit systems. I run setup-x86 weekly to update Cygwin - compilation ran >> fine in August 2015 but by mid September 2015 it was failing on the >> same code. >> >> I can reproduce this by compiling C code from the xview-examples >> package (from e.g., Debian i386 >> https://packages.debian.org/jessie/xview-examples ), to eliminate any >> issues with my specific code. For example, [..] Thanks for reporting this issue, with reproduction steps and a fix! I've rebuilt and uploaded updated xview 3.2p1.4-28-2 packages (32-bit only, of course), with the additional patch [1] applied. It's nice to know that someone is actually using the xview packages :) Please let me know if there are any problems. [1] https://github.com/jon-turney/xview-cygport/blob/master/cygwin-ucontext.patch >> There now appears to be an issue with the definition of ucontext_t in >> xview-devel with respect to Cygwin. If I manually edit >> /usr/openwin/include/xview/base.h and change line 70 from undef to >> #define SYSV_UCONTEXT >> ... the example above then compiles fine. >> >> I cannot find any reference to recent Cygwin updates related to the >> definition of ucontext_t > > https://cygwin.com/ml/cygwin-announce/2015-08/msg00033.html Yes, cygwin has only gained ucontext_t this year. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple