run2.exe segfaults when GDI and X11 elements are present

Ken Brown kbrown@cornell.edu
Sat Dec 26 16:27:00 GMT 2009


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



More information about the Cygwin mailing list