X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,SPF_NEUTRAL X-Spam-Check-By: sourceware.org Message-ID: <4B363968.1090609@cornell.edu> Date: Sat, 26 Dec 2009 11:27:20 -0500 From: Ken Brown User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: run2.exe segfaults when GDI and X11 elements are present References: <4B262E7E DOT 4090001 AT cornell DOT edu> <4B280C6C DOT 90902 AT cwilson DOT fastmail DOT fm> <4B35E98A DOT 3090500 AT cwilson DOT fastmail DOT fm> <4B3621EE DOT 4090108 AT cornell DOT edu> In-Reply-To: <4B3621EE.4090108@cornell.edu> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 On 12/26/2009 9:47 AM, Ken Brown wrote: > On 12/26/2009 5:46 AM, Charles Wilson wrote: >> Charles Wilson wrote: >>> Ken Brown wrote: >>>> Here's a simple test case, run from an xterm window: >>> >>> Thanks for the STC. I can reproduce; I'll look into the problem. >> >> Fixed in svn. > > I'd like to try it out. Can you send instructions for building it? Never mind. I figured out how to do it using cygport. But the build fails for me: libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/src/run2-0.3.2-2/src/run2/lib -I.. -I.. -I/usr/src/run2-0.3.2-2/src/run2 -I/usr/include/libxml2 -O2 -pipe -c /usr/src/run2-0.3.2-2/src/run2/lib/env.c -o env.o >/dev/null 2>&1 In file included from /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../include/w32api/windows.h:87, from /usr/src/run2-0.3.2-2/src/run2/lib/checkX.c:72: /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../include/w32api/winspool.h:255: error: two or more data types in declaration specifiers /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../include/w32api/winspool.h:270: error: two or more data types in declaration specifiers /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../include/w32api/winspool.h:291: error: two or more data types in declaration specifiers /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../include/w32api/winspool.h:316: error: two or more data types in declaration specifiers /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../include/w32api/winspool.h:571: error: two or more data types in declaration specifiers /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../include/w32api/winspool.h:594: error: two or more data types in declaration specifiers /usr/src/run2-0.3.2-2/src/run2/lib/checkX.c: In function ‘computeTimespec’: /usr/src/run2-0.3.2-2/src/run2/lib/checkX.c:304: warning: incompatible implicit declaration of built-in function ‘floor’ /usr/src/run2-0.3.2-2/src/run2/lib/checkX.c: In function ‘try_with_timeout’: /usr/src/run2-0.3.2-2/src/run2/lib/checkX.c:322: warning: incompatible implicit declaration of built-in function ‘fabs’ There's no need for you to respond unless this has a simple answer. I can wait until you're ready to release a new version. Ken -- 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