[gnutls-devel] Cannot build GnuTLS 3.3.4 on top of Nettle 3.0

whitestone8214 at openmailbox.org whitestone8214 at openmailbox.org
Sat Jun 14 07:02:37 CEST 2014


(...)
sha-padlock.c: In function 'padlock_sha1_update':
sha-padlock.c:81:2: error: 'struct sha1_ctx' has no member named 
'count_high'
sha-padlock.c:81:2: error: 'struct sha1_ctx' has no member named 
'count_low'
sha-padlock.c:81:2: error: 'struct sha1_ctx' has no member named 
'count_high'
sha-padlock.c:81:2: error: 'struct sha1_ctx' has no member named 
'count_low'
sha-padlock.c: In function 'padlock_sha256_update':
sha-padlock.c:88:2: error: 'struct sha256_ctx' has no member named 
'count_high'
sha-padlock.c:88:2: error: 'struct sha256_ctx' has no member named 
'count_low'
sha-padlock.c:88:2: error: 'struct sha256_ctx' has no member named 
'count_high'
sha-padlock.c:88:2: error: 'struct sha256_ctx' has no member named 
'count_low'
sha-padlock.c: In function 'padlock_sha1_digest':
sha-padlock.c:143:13: error: 'struct sha1_ctx' has no member named 
'count_high'
sha-padlock.c:143:38: error: 'struct sha1_ctx' has no member named 
'count_low'
sha-padlock.c:144:12: error: 'struct sha1_ctx' has no member named 
'count_low'
sha-padlock.c: In function 'padlock_sha256_digest':
sha-padlock.c:165:13: error: 'struct sha256_ctx' has no member named 
'count_high'
sha-padlock.c:165:38: error: 'struct sha256_ctx' has no member named 
'count_low'
sha-padlock.c:166:12: error: 'struct sha256_ctx' has no member named 
'count_low'
make[5]: *** [sha-padlock.lo] Error 1
(...)

lib/accelerated/x86/sha-padlock.c uses 'count_high' and 'count_low' 
member in 'struct sha1_ctx' from Nettle.
But in Nettle 3.0 'struct sha1_ctx' does not have 'count_high' and 
'count_low'.
What should I do to build GnuTLS 3.3.4?



More information about the Gnutls-devel mailing list