www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/26/11:27:39

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 <kbrown AT cornell DOT edu>
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>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019