Problems compling on W2k

Werner Koch wk at gnupg.org
Fri Oct 31 06:51:22 CET 2003


On Thu, 30 Oct 2003 20:14:28 -0800, Mike Feldmeier said:

> Hi,
> I am attempting to compile libgcrypt 1.1.42 on Windows 2000 with the 
> following components:

> MSYS 1.0.10-rc2
> MinGW 3.1.0-1

No guarantee that this will work.  As most of you know, I am not using
the mingw thing but the older mingw32/cpd.  However Libgcryt does currently 
not build for Windows for several reasons.

A fix for your specific problem is to replace the W32 API structure
DISK_PERFORMANCE by a plain buffer of size:

/* This used to be (6*8+5*4+8*2), but Peter Gutmann figured a larger
   value in a newer release. So we use a far larger value. */
#define SIZEOF_DISK_PERFORMANCE_STRUCT 256

hth,

  Werner

-- 
Werner Koch                                      <wk at gnupg.org>
The GnuPG Experts                                http://g10code.com
Free Software Foundation Europe	                 http://fsfeurope.org




More information about the Gcrypt-devel mailing list