Errors when compiling gnutls-3.3.17 with gcc-5.4.0
Ken Brown
kbrown@cornell.edu
Thu Jun 30 13:48:00 GMT 2016
On 6/30/2016 7:56 AM, U-leila\vzell wrote:
> Hi
>
> I get the following error when trying to recompile gnutls-3.3.17 with
> latest gcc-5.4.0, last successful build was for cygwin 2.2.1 with gcc-4.9.2:
>
> Has anything changed in between....have been absent for quite a time now.
>
> CC gettime.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:108,
> from /usr/include/sys/time.h:47,
> from ./sys/time.h:39,
> from ./sys/select.h:87,
> from /usr/include/sys/types.h:68,
> from ./sys/types.h:28,
> from /usr/include/time.h:28,
> from ./time.h:39,
> from /cygdrive/d/misc/src/release/gnutls-3.3.17-1.i686/src/gnutls-3.3.17/src/gl/timespec.h:22,
> from /cygdrive/d/misc/src/release/gnutls-3.3.17-1.i686/src/gnutls-3.3.17/src/gl/gettime.c:22:
> /usr/include/cygwin/signal.h:175:3: error: unknown type name 'pthread_attr_t'
> pthread_attr_t *sigev_notify_attributes; /* notification attributes */
> ^
[...]
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 gl subdirectory of the gnutls source. Or
just manually apply the patch from the gnulib fix.
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