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=TKXlSBcWtsVqcXsx TsrAWiLmoxx3fu5y9UVM7NTBbJiDT10dgaJXXuyuwBQ4ETEK1Fs+VRhAcaQla7ZC 9/opHwP0DP8s3fkMeYW2SWkcng9kB0UHKVDwwAxZCDwjbjbKvD1AgowBtitz2qRn LXPLYm1LXfvkC8uTBKe0yTPNOmU= 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=Dtlx1VXhrqJzZexs4KnJ9m VmnNE=; b=y5cYpfviaomRb9QOj8uxIKx3LxCjA1HYPzxpSUEmohPsadRCW8BxbT f7JEy00QrTLZSqmitvggrW9w77TpPRgocAluiPJNn5g7Rv+LK55h6G4gX3+vxZWN 0tXmvW2ENOZrqitg3Ny/LHc+0LY/RyFrKaQh/uuDC0e3tozpJ39yM= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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.7 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=vzell, uleila, U-leila, Uleila X-HELO: limerock04.mail.cornell.edu X-CornellRouted: This message has been Routed already. Subject: Re: Errors when compiling gnutls-3.3.17 with gcc-5.4.0 To: cygwin AT cygwin DOT com References: From: Ken Brown Message-ID: Date: Thu, 30 Jun 2016 08:25:26 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Cornell-Gauge: Gauge=XXXXX X-IsSubscribed: yes 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