Compilation error gnutls-3.1.1 with nettle-2.5 on cygwin

Ilya Tumaykin itumaykin at gmail.com
Fri Sep 7 11:36:31 CEST 2012


Hello.

Please try the attached patch. It should workaround this issue for a while.

On 07.09.12 10:08:00 Dr. Volker Zell wrote:
> Hi
> 
> I got the following error when compiling gnutls-3.1.1 with nettle-2.5 on
> cygwin:
> 
> 
>   CC     wmnaf.lo
> /misc/src/release/gnutls-3.1.1-1/src/gnutls-3.1.1/lib/nettle/wmnaf.c:44:30:
> error: expected declaration specifiers or '...' before 'mp_bitcnt_t'
> /misc/src/release/gnutls-3.1.1-1/src/gnutls-3.1.1/lib/nettle/wmnaf.c: In
> function 'mpz_unitstbit':
> /misc/src/release/gnutls-3.1.1-1/src/gnutls-3.1.1/lib/nettle/wmnaf.c:50:26:
> error: 'bit_index' undeclared (first use in this function)
> /misc/src/release/gnutls-3.1.1-1/src/gnutls-3.1.1/lib/nettle/wmnaf.c:50:26:
> note: each undeclared identifier is reported only once for each function it
> appears in
> /misc/src/release/gnutls-3.1.1-1/src/gnutls-3.1.1/lib/nettle/wmnaf.c: In
> function 'ecc_wMNAF':
> /misc/src/release/gnutls-3.1.1-1/src/gnutls-3.1.1/lib/nettle/wmnaf.c:138:7:
> error: too many arguments to function 'mpz_unitstbit'
> /misc/src/release/gnutls-3.1.1-1/src/gnutls-3.1.1/lib/nettle/wmnaf.c:44:1:
> note: declared here Makefile:1595: recipe for target `wmnaf.lo' failed
> 
> 
> Any ideas ?
> 
> Ciao
>   Volker
> 
> 
> _______________________________________________
> Gnutls-devel mailing list
> Gnutls-devel at gnu.org
> https://lists.gnu.org/mailman/listinfo/gnutls-devel
-- 
Best regards.
Tumaykin Ilya.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: workaround.patch
Type: text/x-patch
Size: 1095 bytes
Desc: not available
URL: </pipermail/attachments/20120907/222c9f07/attachment-0001.bin>


More information about the Gnutls-devel mailing list