* Errors when compiling gnutls-3.3.17 with gcc-5.4.0
@ 2016-06-30 13:30 U-leila\vzell
2016-06-30 13:48 ` Ken Brown
0 siblings, 1 reply; 2+ messages in thread
From: U-leila\vzell @ 2016-06-30 13:30 UTC (permalink / raw)
To: Cygwin List
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 */
^
/usr/include/cygwin/signal.h:210:3: error: unknown type name 'pid_t'
pid_t si_pid; /* sender's pid */
^
/usr/include/cygwin/signal.h:211:3: error: unknown type name 'uid_t'
uid_t si_uid; /* sender's uid */
^
/usr/include/cygwin/signal.h:227:2: error: unknown type name 'timer_t'
timer_t si_tid; /* timer id */
^
/usr/include/cygwin/signal.h:235:7: error: unknown type name 'clock_t'
clock_t si_utime; /* user time */
^
/usr/include/cygwin/signal.h:236:7: error: unknown type name 'clock_t'
clock_t si_stime; /* system time */
^
/usr/include/cygwin/signal.h:408:21: error: expected ')' before 'int'
int sigqueue(pid_t, int, const union sigval);
Any hints ?
Thanks
Volker
--
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] 2+ messages in thread
* Re: Errors when compiling gnutls-3.3.17 with gcc-5.4.0
2016-06-30 13:30 Errors when compiling gnutls-3.3.17 with gcc-5.4.0 U-leila\vzell
@ 2016-06-30 13:48 ` Ken Brown
0 siblings, 0 replies; 2+ messages in thread
From: Ken Brown @ 2016-06-30 13:48 UTC (permalink / raw)
To: cygwin
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-06-30 12:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-30 13:30 Errors when compiling gnutls-3.3.17 with gcc-5.4.0 U-leila\vzell
2016-06-30 13:48 ` Ken Brown
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).