Hi guys

 I'm trying to compile openvpn-2.1_rc1[3-5] in a WIN platform , with
ming/msys environment , but I cannot get it with this task , I googled this
problem and tried to figure out where is the problem , but i cannot . I
guess is not a problem with the mingw environment /compiler , had seen many
post with patches for cryptoapi.c , and well , I want to know if the problem
is located in my computer /installation or may be is there's a chance that
something in the source is not working properly, and is there a solution.

This is what I'm facing when tried to compile openvpn ( using prebuilds ! )


cryptoapi.c:55 error: 'CryptoAcquireCertificatePrivateKey' redeclared as
different kind of symbol
c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/wincrypt.h:1298:
error: previous declaration of 'CryptAcquireCertificatePrivateKey' was here
cryptoapi.c:55 error: 'CryptoAcquireCertificatePrivateKey' redeclared as
different kind of symbol
c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/wincrypt.h:1298:
error: previous declaration of 'CryptAcquireCertificatePrivateKey' was here
make[2]: ***[cryptoapi.o] Error 1
make[2]: *** Waiting for unfinished jobs ....
make[2]: Leaving directory
`/c/Download/openvpn-2.1_rc13-prebuild/openvpn-2.1_rc13'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/c/Download/openvpn-2.1_rc13-prebuild/openvpn-2.1_rc13'
make: *** [all] Error 2

Thanks in advance for any help or solution

Reply via email to