Message-ID: Date: Tue, 20 Jan 2009 15:00:13 -0600 From: "Luis Enrique Amaya Gonzalez" MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_11645_29608003.1232485213748" Subject: [Openvpn-devel] weird problem List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: openvpn-devel@lists.sourceforge.net ------=_Part_11645_29608003.1232485213748 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 ------=_Part_11645_29608003.1232485213748 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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

 
------=_Part_11645_29608003.1232485213748--