Compilation error gnutls-3.1.1 with nettle-2.5 on cygwin

Ilya Tumaykin itumaykin at gmail.com
Sun Sep 9 11:19:39 CEST 2012


Did that patch fixed the issue for you?
wMNAF code has not yet been tested on Windows platform.

Could you please tell me the versions of Windows itself, cygwin and gmp you 
are trying to build gnutls against, so I can reproduce this error?

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.




More information about the Gnutls-devel mailing list