public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* guile-2.0.11 problem with cygin header
@ 2016-06-06  9:43 Marco Atzeri
  2016-06-06 12:46 ` Ken Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Marco Atzeri @ 2016-06-06  9:43 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: guile-2.0.11 problem with cygin header
  2016-06-06  9:43 guile-2.0.11 problem with cygin header Marco Atzeri
@ 2016-06-06 12:46 ` Ken Brown
  2016-06-07 22:51   ` Marco Atzeri
  0 siblings, 1 reply; 3+ messages in thread
From: Ken Brown @ 2016-06-06 12:46 UTC (permalink / raw)
  To: cygwin

On 6/6/2016 5:43 AM, Marco Atzeri wrote:
> 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'

This is a gnulib problem that has already been fixed upstream.  See the 
thread starting at

   http://lists.gnu.org/archive/html/bug-gnulib/2016-03/msg00054.html

So you just have to update the lib subdirectory of the guile source.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: guile-2.0.11 problem with cygin header
  2016-06-06 12:46 ` Ken Brown
@ 2016-06-07 22:51   ` Marco Atzeri
  0 siblings, 0 replies; 3+ messages in thread
From: Marco Atzeri @ 2016-06-07 22:51 UTC (permalink / raw)
  To: cygwin

On 06/06/2016 14:46, Ken Brown wrote:
> On 6/6/2016 5:43 AM, Marco Atzeri wrote:
>> 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:
>>

>
> This is a gnulib problem that has already been fixed upstream.  See the
> thread starting at
>
>   http://lists.gnu.org/archive/html/bug-gnulib/2016-03/msg00054.html
>
> So you just have to update the lib subdirectory of the guile source.
>
> Ken
>

thanks, it worked

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-06-07 22:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-06  9:43 guile-2.0.11 problem with cygin header Marco Atzeri
2016-06-06 12:46 ` Ken Brown
2016-06-07 22:51   ` Marco Atzeri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).