delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/12/17/13:48:01

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=WdkI4V8J+q9U6EyV
/SSi6gnIuJS85cvkWDg1c9Be9kQyBZej98eS4tI7kEydc1OssDUYBsLTS3V4kUUY
x2OrsUPb5sc3SPas8NXSRHik5qI8atXNDuC6FFAmkgd8j58r8z91ncqqrWDqJwbB
MHWyF+0aS3G6v+alzICA5i51ZbI=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=1SqVJxGcD9dWXNAWnkc+Ub
Pw+GI=; b=TelMxtTPTXj7VofB0J/tAGM7Oioc47f+5v8i8IqyYBDH2R5OqVNbsI
ImppHeuhLuJtY6zm7aFi6euYJid3SiMIKeq1fHwxRsmJI3qna8M67M9JGFvVH7KG
GzVYUG96zgGiVr9QzZVVHOsuQsaTQFFelfxSRnKt56xhHro07BQ2U=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=stc, STC, signal,h, puzzles
X-HELO: limerock02.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.4.0-0.11
To: cygwin AT cygwin DOT com
References: <20151216164848 DOT GM3507 AT calimero DOT vinschen DOT de> <5671EFF8 DOT 6030804 AT cornell DOT edu> <20151217093634 DOT GP3507 AT calimero DOT vinschen DOT de>
From: Ken Brown <kbrown AT cornell DOT edu>
Message-ID: <56730350.1080002@cornell.edu>
Date: Thu, 17 Dec 2015 13:47:44 -0500
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0
MIME-Version: 1.0
In-Reply-To: <20151217093634.GP3507@calimero.vinschen.de>
X-IsSubscribed: yes

Hi Corinna,

On 12/17/2015 4:36 AM, Corinna Vinschen wrote:
> Hi Ken,
>
> On Dec 16 18:12, Ken Brown wrote:
>> On 12/16/2015 11:48 AM, Corinna Vinschen wrote:
>>> - The header file layout has been cleaned up, mostly in terms of the
>>>     sys/select.h, sys/signal.h and sys/types.h files.  This is a generic
>>>     change in newlib and aligns the affected headers more closely to
>>>     the FreeBSD layout.
>>
>> These changes are leading to lots of errors when building emacs:
>>
>> /usr/include/cygwin/signal.h:178:3: error: unknown type name ‘pthread_attr_t’
>>
>> /usr/include/cygwin/signal.h:213:3: error: unknown type name ‘pid_t’
>>
>> /usr/include/cygwin/signal.h:230:2: error: unknown type name ‘timer_t’
>>
>> /usr/include/sys/signal.h:211:6: error: #error You need the winsup sources or a cygwin installation to compile the cygwin version of newlib.
>>
>> /usr/include/sys/signal.h:214:5: error: unknown type name ‘pthread_t’
>>
>> /usr/include/sys/time.h:104:34: error: unknown type name ‘u_int’
>>
>> [... and many more]
>
> This puzzles me.  It looks like you're missing sys/types.h when
> including sys/signal,h, but sys/signal.h includes sys/types.h by
> itself, prior to including cygwin/signal.h.
>
> How can I reproduce this?  An STC like this:
>
>    #include <signal.h>
>    main () {}
>
> is definitely not sufficient.

Sorry, I hadn't looked at what was happening closely enough before 
sending my mail.  The errors occur while compiling some Gnulib modules 
in the emacs source tree.  It may take me a while to sort this out. 
Maybe Gnulib will have to be patched to take Cygwin's new header layout 
into account.

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