[gnutls-devel] trying to compile gntls latest version

عمرو كمال الدين بشر محمود amr_mahmoud38 at yahoo.com
Fri Jun 13 15:53:22 CEST 2014



hi every one  ,
as I was trying to build the latest version  of gnutls version 3  , 

I first made the this step 

1- ./configure 
2- make 

I got the following error  

 CC       sha-padlock.lo
In file included from sha-padlock.c:29:0:
sha-padlock.c: In function 'padlock_sha1_update':
sha-padlock.c:81:46: error: 'struct sha1_ctx' has no member named 'count_high'
  MD_UPDATE(ctx, length, data, SHA1_COMPRESS, MD_INCR(ctx));
                                              ^
sha-padlock.c:81:46: error: 'struct sha1_ctx' has no member named 'count_low'
  MD_UPDATE(ctx, length, data, SHA1_COMPRESS, MD_INCR(ctx));
                                              ^
sha-padlock.c:81:46: error: 'struct sha1_ctx' has no member named 'count_high'
  MD_UPDATE(ctx, length, data, SHA1_COMPRESS, MD_INCR(ctx));
                                              ^
sha-padlock.c:81:46: error: 'struct sha1_ctx' has no member named 'count_low'
  MD_UPDATE(ctx, length, data, SHA1_COMPRESS, MD_INCR(ctx));
                                              ^
sha-padlock.c: In function 'padlock_sha256_update':
sha-padlock.c:88:48: error: 'struct sha256_ctx' has no member named 'count_high'
  MD_UPDATE(ctx, length, data, SHA256_COMPRESS, MD_INCR(ctx));
                                                ^
sha-padlock.c:88:48: error: 'struct sha256_ctx' has no member named 'count_low'
  MD_UPDATE(ctx, length, data, SHA256_COMPRESS, MD_INCR(ctx));
                                                ^
sha-padlock.c:88:48: error: 'struct sha256_ctx' has no member named 'count_high'
  MD_UPDATE(ctx, length, data, SHA256_COMPRESS, MD_INCR(ctx));
                                                ^
sha-padlock.c:88:48: error: 'struct sha256_ctx' has no member named 'count_low'
  MD_UPDATE(ctx, length, data, SHA256_COMPRESS, MD_INCR(ctx));
                                                ^
sha-padlock.c: In function 'padlock_sha1_digest':
sha-padlock.c:143:13: error: 'struct sha1_ctx' has no member named 'count_high'
  high = (ctx->count_high << 9) | (ctx->count_low >> 23);
             ^
sha-padlock.c:143:38: error: 'struct sha1_ctx' has no member named 'count_low'
  high = (ctx->count_high << 9) | (ctx->count_low >> 23);
                                      ^
sha-padlock.c:144:12: error: 'struct sha1_ctx' has no member named 'count_low'
  low = (ctx->count_low << 9) | (ctx->index << 3);
            ^
sha-padlock.c: In function 'padlock_sha256_digest':
sha-padlock.c:165:13: error: 'struct sha256_ctx' has no member named 'count_high'
  high = (ctx->count_high << 9) | (ctx->count_low >> 23);
             ^
sha-padlock.c:165:38: error: 'struct sha256_ctx' has no member named 'count_low'
  high = (ctx->count_high << 9) | (ctx->count_low >> 23);
                                      ^
sha-padlock.c:166:12: error: 'struct sha256_ctx' has no member named 'count_low'
  low = (ctx->count_low << 9) | (ctx->index << 3);

when  I issue this command 

 uname -a
this is the output 
Linux amr-LIFEBOOK-AH531 3.8.0-42-generic #62~precise1-Ubuntu SMP Wed Jun 4 22:06:29 UTC 2014 i686 i686 i386 GNU/Linux


can you please help me in building this successfully 

Thanks and Best Regards 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20140613/ff00944d/attachment-0001.html>


More information about the Gnutls-devel mailing list