I'll send you my exact VS 2010 .h sequence tomorrow. -- Sent from my mobile phone. Please excuse my brevity.
Charles "Dr. Stephen Henson" <st...@openssl.org> wrote: On Tue, Sep 25, 2012, david preetham wrote: > am trying to build wpa_supplicant which is referencing openssl header file > x509v3.h on Visual studio 2005. while i am building compiler hitting > x509v3.h header file and finding hell lot of errors. Can anybody please > help me. > > 1>D:\Interworking\wpa_supplicant-1.0.tar\wpa_supplicant-1.0\wpa_supplicant-1.0\src\tls\x509v3.h(192) > : error C2059: syntax error : '(' > > 1>D:\Interworking\wpa_supplicant-1.0.tar\wpa_supplicant-1.0\wpa_supplicant-1.0\src\tls\x509v3.h(200) > : error C2059: syntax error : 'type' > > 1>D:\Interworking\wpa_supplicant-1.0.tar\wpa_supplicant-1.0\wpa_supplicant-1.0\src\tls\x509v3.h(204) > : error C2059: syntax error : '}' > > 1>D:\Interworking\wpa_supplicant-1.0.tar\wpa_supplicant-1.0\wpa_supplicant-1.0\src\tls\x509v3.h(205) > : error C2059: syntax error : '}' > > 1>D:\Interworking\wpa_supplicant-1.0.tar\wpa_supplicant-1.0\wpa_supplicant-1.0\src\tls\x509v3.h(211) > : error C2061: syntax error : identifier 'GENERAL_NAME' > > 1>D:\Interworking\wpa_supplicant-1.0.tar\wpa_supplicant-1.0\wpa_supplicant-1.0\src\tls\x509v3.h(212) > : error C2059: syntax error : '}' > > 1>D:\Interworking\wpa_supplicant-1.0.tar\wpa_supplicant-1.0\wpa_supplicant-1.0\src\tls\x509v3.h(231) > : error C2059: syntax error : '(' > > 1>D:\Interworking\wpa_supplicant-1.0.tar\wpa_supplicant-1.0\wpa_supplicant-1.0\src\tls\x509v3.h(232) > : error C2059: syntax error : '}' > 1>D:\Interworking\wpa_supplicant-1.0.tar\wpa_supplicant-1.0\wpa_supplicant-1.0\src\tls\x509v3.h(249) > : error C2061: syntax error : identifier 'DIST_POINT_NAME' > .......continues.. > This is caused by clashes between the OpenSSL and some Windows header files. There are some #undefs in various OpenSSL header files which should work around this in crypto/x509.h for example: #undef X509_NAME #undef X509_CERT_PAIR #undef X509_EXTENSIONS but they may not be being picked up in this case or there may be some new ones. Steve. -- Dr Stephen N. Henson. OpenSSL project core developer. Commercial tech support now available see: http://www.openssl.org _____________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org