delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/06/06/05:43:39

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:from:subject:to:message-id:date:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=Ikv
/4GXYhGisAd+lgLiBCinoRCezL/mTsrRp69O7IXUHnMyK8WoP/9Y2eReLzgU7ZuD
UVMwDA+1BA7kjpGDBkD7It4IHqBuSoGh6W8OYfPsIJP7KMW6+EYPZOCSCxxovB2Z
7LZjunEbDQzsJWQUEn6XA92bp/OpLXYXiVZo0MsI=
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:from:subject:to:message-id:date:mime-version
:content-type:content-transfer-encoding; s=default; bh=h/9ufWcaU
hjomO67A9cjeALCnOw=; b=WHqMXsWU/3RCXajnBuh3THgqEpAnDiILVydFYlMf6
EQg0llxAVIhGLed7xCMH7b0cG8Q2yIJGHIuNkV0odHt9VXbVLhIprqQocI3j7yy8
PbTz1bbxmPzndByDrXIMQ8Vsv9sLCepfY3s3WjQ+63hAl+va8HqYW+HzRDLfsY4O
G4=
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=-2.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_ASCII_DIVIDERS,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=senders, sender's
X-HELO: mail-pa0-f45.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:subject:to:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=5OaXJO59oUUUBWkcURsExSCqNsZXHkR3e2iIzbJSXLo=; b=dQlv0LnHGKEdFqx3pAhDAPNUh1qBjOQVGKH9vXavZvZoAYQbGSEBdBEGhvYF6fYqIC MIxX5onOUuwwT/mSkEQ1n5qFquUzSx9LySur7aBGt/rjHNk60PRaBrKF3vSubL/XYpeN waPRcpve/6dFXFpioNdA7Vr3Zb+EbfzJEV89tciRrDyB3Sv6Bh6O1Dc0Py2OCUokQi7U BSu7xVJv9pMbxH5d6cIrbE796pzFS2ZKP3sNB8kb5bjFt9/WS83usEHeXftLWYSLXRdb slIpqm6Hm2KPXBjzP5QTSbK3xLqW1clPP8oYJ5yjtyjyssNxBaUcuMNDB5uTvAyKfAik iUpA==
X-Gm-Message-State: ALyK8tLxZ0YkvZmI4huTlBhLmd5R9aEUet6w001r1h5KaulD4FSMOcr0qnxxjbT8hVNJSg==
X-Received: by 10.67.3.227 with SMTP id bz3mr23029388pad.67.1465206199149; Mon, 06 Jun 2016 02:43:19 -0700 (PDT)
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Subject: guile-2.0.11 problem with cygin header
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Message-ID: <ac44ffb6-5db8-e86f-2fb9-fc854f2e0d24@gmail.com>
Date: Mon, 6 Jun 2016 11:43:10 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1
MIME-Version: 1.0
X-IsSubscribed: yes

I am reasonable sure that last time, long time ago,
there was not this problem on building guile 2.0.11.

I suspect is due to the re shuffle of cygwin header
plus the local version of "signal.h".
But I am a bit lost in following all the chain:

------------------------------------------------------
make[4]: Entering directory 
'/cygdrive/e/cyg_pub/devel/guile/prova20/guile-2.0.11-1.x86_64/build/lib'
   CC       binary-io.lo
In file included from /usr/include/sys/signal.h:112:0,
                  from /usr/include/signal.h:6,
                  from ./signal.h:52,
                  from ./sys/select.h:107,
                  from /usr/include/sys/time.h:47,
                  from ./sys/time.h:39,
                  from ./sys/select.h:86,
                  from /usr/include/sys/types.h:68,
                  from ./sys/types.h:27,
                  from ./fcntl.h:50,
                  from 
/cygdrive/e/cyg_pub/devel/guile/prova20/guile-2.0.11-1.x86_64/src/guile-2.0.11/lib/binary-io.h:22,
                  from 
/cygdrive/e/cyg_pub/devel/guile/prova20/guile-2.0.11-1.x86_64/src/guile-2.0.11/lib/binary-io.c:3:
/usr/include/cygwin/signal.h:178:3: error: unknown type name 
'pthread_attr_t'
    pthread_attr_t *sigev_notify_attributes; /* notification attributes */
    ^
/usr/include/cygwin/signal.h:213:3: error: unknown type name 'pid_t'
    pid_t si_pid;    /* sender's pid */
    ^
/usr/include/cygwin/signal.h:214:3: error: unknown type name 'uid_t'
    uid_t si_uid;    /* sender's uid */
    ^
/usr/include/cygwin/signal.h:230:2: error: unknown type name 'timer_t'
   timer_t si_tid;   /* timer id */
   ^
/usr/include/cygwin/signal.h:238:7: error: unknown type name 'clock_t'
        clock_t si_utime;   /* user time */
----------------------------------------------------------

local signal.h has a structure like:

-------------------------------------------------
/* Define pid_t, uid_t.
    Also, mingw defines sigset_t not in <signal.h>, but in <sys/types.h>.
    On Solaris 10, <signal.h> includes <sys/types.h>, which eventually 
includes
    us; so include <sys/types.h> now, before the second inclusion guard.  */
#include <sys/types.h>

/* The include_next requires a split double-inclusion guard.  */
#include_next <signal.h>
---------------------------------------------------

PS: I rebuilt 1.8.8 and it has no problem.
    But it clearly has a different structure.

Regards
Marco


--
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