Compilation of random/random-drbg.c under mingw-w64

John Warburton john at johnwarburton.net
Sat Feb 20 18:12:09 CET 2016


Hello,

I'm experiencing a compilation error when my build process (gcc-5.3.0 on
GNU/Linux with host=x86_64-w64-mingw32) meets the recently-added
random-drbg.c code. Until these changes, libgcrypt has compiled flawlessly.

The compiler is instructed to look for the header <asm/types.h>, which
doesn't exist in Mingw-w64 and, as far as I know, the W32 platform.

When manually adding #define u_int32_t in the code, I am then left with the
compiler not finding the function read_cb(), which is in random-system.c

Thanks for reading this,
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20160220/c495c649/attachment-0001.html>


More information about the Gcrypt-devel mailing list