On 2/14/2017 8:14 AM, Kostas Liakakis wrote: > Well, I gave up on it :) > Instead commented the #include in cm_nls.c and added a typedef for > _NORM_FORM enum copied out of the MS documentation.
The NORM_FORM enum is defined in the Windows SDK. The normalization.h include is protected by a conditional #if (_WIN32_WINNT < 0x0600) /* This is part of the Microsoft Internationalized Domain Name Mitigation APIs. */ # include <normalization.h> #endif which matches the conditional in the SDK headers: #if (WINVER >= 0x0600) // // Normalization forms // typedef enum _NORM_FORM { ... } NORM_FORM; > Amazingingly, this was enough for the build to proceed and end in > success. The cm_nls.c uses run-time loading of the functions so that the code can be compiled for versions of Windows that do not ship with the NormalizeString() and IsNormalizedString() functions. The IDN is required when building for pre-Vista because you have to install the normaliz.dll library as part of the installer. > Well, at least my openafs/dest directory is now populated and I > could at least run "pts help" and "fs help". Neither pts nor fs use the normalization routines directly. Jeffrey Altman
<<attachment: jaltman.vcf>>
smime.p7s
Description: S/MIME Cryptographic Signature