Compilation of random/random-drbg.c under mingw-w64
Jussi Kivilinna
jussi.kivilinna at iki.fi
Sat Feb 20 20:38:42 CET 2016
Hello,
On 20.02.2016 19:12, John Warburton wrote:
> 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
I pushed commit to fix building for win32/64.
-Jussi
>
> Thanks for reading this,
> John
>
>
>
> _______________________________________________
> Gcrypt-devel mailing list
> Gcrypt-devel at gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gcrypt-devel
>
More information about the Gcrypt-devel
mailing list