问题描述
我正在尝试构建wpa_supplicant,该文件在Visual Studio 2005上引用了openssl头文件x509v3.h.而我在构建编译器时,遇到的是x509v3.h头文件,并发现很多错误.有人可以帮我吗?有任何Bosy面对此错误.
我已经安装了openssl 1.0.1C最新版本的PC.
1> D:\ Interworking \ wpa_supplicant-1.0.tar \ wpa_supplicant-1.0 \ wpa_supplicant-1.0 \ src \ tls \ x509v3.h(192):错误C2059:语法错误:''(''
1> D:\ Interworking \ wpa_supplicant-1.0.tar \ wpa_supplicant-1.0 \ wpa_supplicant-1.0 \ src \ tls \ x509v3.h(200):错误C2059:语法错误:``类型''
1> D:\ Interworking \ wpa_supplicant-1.0.tar \ wpa_supplicant-1.0 \ wpa_supplicant-1.0 \ src \ tls \ x509v3.h(204):错误C2059:语法错误:''}''
1> D:\ Interworking \ wpa_supplicant-1.0.tar \ wpa_supplicant-1.0 \ wpa_supplicant-1.0 \ src \ tls \ x509v3.h(205):错误C2059:语法错误:''}''
1> D:\ Interworking \ wpa_supplicant-1.0.tar \ wpa_supplicant-1.0 \ wpa_supplicant-1.0 \ src \ tls \ x509v3.h(211):错误C2061:语法错误:标识符``GENERAL_NAME''
1> D:\ Interworking \ wpa_supplicant-1.0.tar \ wpa_supplicant-1.0 \ wpa_supplicant-1.0 \ src \ tls \ x509v3.h(212):错误C2059:语法错误:''}''
1> D:\ Interworking \ wpa_supplicant-1.0.tar \ wpa_supplicant-1.0 \ wpa_supplicant-1.0 \ src \ tls \ x509v3.h(231):错误C2059:语法错误:''(''
1> D:\ Interworking \ wpa_supplicant-1.0.tar \ wpa_supplicant-1.0 \ wpa_supplicant-1.0 \ src \ tls \ x509v3.h(232):错误C2059:语法错误:''}''
1> D:\ Interworking \ wpa_supplicant-1.0.tar \ wpa_supplicant-1.0 \ wpa_supplicant-1.0 \ src \ tls \ x509v3.h(249):错误C2061:语法错误:标识符``DIST_POINT_NAME''
1> D:\ Interworking \ wpa_supplicant-1.0.tar \ wpa_supplicant-1.0 \ wpa_supplicant-1.0 \ src \ tls \ x509v3.h(253):错误C2059:语法错误:''}''
1> D:\ Interworking \ wpa_supplicant-1.0.tar \ wpa_supplicant-1.0 \ wpa_supplicant-1.0 \ src \ tls \ x509v3.h(323):错误C2061:语法错误:标识符``GENERAL_NAME''
1> D:\ Interworking \ wpa_supplicant-1.0.tar \ wpa_supplicant-1.0 \ wpa_supplicant-1.0 \ src \ tls \ x509v3.h(326):错误C2059:语法错误:''}''
1> D:\ Interworking \ wpa_supplicant-1.0.tar \ wpa_supplicant-1.0 \ wpa_supplicant-1.0 \ src \ tls \ x509v3.h(358):错误C2061:语法错误:标识符``DIST_POINT_NAME''
1> D:\ Interworking \ wpa_supplicant-1.0.tar \ wpa_supplicant-1.0 \ wpa_supplicant-1.0 \ src \ tls \ x509v3.h(364):错误C2059:语法错误:''}''
1> D:\ Interworking \ wpa_supplicant-1.0.tar \ wpa_supplicant-1.0 \ wpa_supplicant-1.0 \ src \ tls \ x509v3.h(524):错误C2143:语法错误:``*''之前缺少``{''
1> D:\ Interworking \ wpa_supplicant-1.0.tar \ wpa_supplicant-1.0 \ wpa_supplicant-1.0 \ src \ tls \ x509v3.h(524):错误C2143:语法错误:在``*''之前缺少``)''
1> D:\ Interworking \ wpa_supplicant-1.0.tar \ wpa_supplicant-1.0 \ wpa_supplicant-1.0 \ src \ tls \ x509v3.h(524):错误C2143:语法错误:``*''之前缺少``{''
1> D:\ Interworking \ wpa_supplicant-1.0.tar \ wpa_supplicant-1.0 \ wpa_supplicant-1.0 \ src \ tls \ x509v3.h(524):错误C2059:语法错误:)"
I 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. Have any bosy face this error.
I have installed openssl 1.0.1C latest version PC.
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''
1>D:\Interworking\wpa_supplicant-1.0.tar\wpa_supplicant-1.0\wpa_supplicant-1.0\src\tls\x509v3.h(253) : error C2059: syntax error : ''}''
1>D:\Interworking\wpa_supplicant-1.0.tar\wpa_supplicant-1.0\wpa_supplicant-1.0\src\tls\x509v3.h(323) : 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(326) : error C2059: syntax error : ''}''
1>D:\Interworking\wpa_supplicant-1.0.tar\wpa_supplicant-1.0\wpa_supplicant-1.0\src\tls\x509v3.h(358) : error C2061: syntax error : identifier ''DIST_POINT_NAME''
1>D:\Interworking\wpa_supplicant-1.0.tar\wpa_supplicant-1.0\wpa_supplicant-1.0\src\tls\x509v3.h(364) : error C2059: syntax error : ''}''
1>D:\Interworking\wpa_supplicant-1.0.tar\wpa_supplicant-1.0\wpa_supplicant-1.0\src\tls\x509v3.h(524) : error C2143: syntax error : missing ''{'' before ''*''
1>D:\Interworking\wpa_supplicant-1.0.tar\wpa_supplicant-1.0\wpa_supplicant-1.0\src\tls\x509v3.h(524) : error C2143: syntax error : missing '')'' before ''*''
1>D:\Interworking\wpa_supplicant-1.0.tar\wpa_supplicant-1.0\wpa_supplicant-1.0\src\tls\x509v3.h(524) : error C2143: syntax error : missing ''{'' before ''*''
1>D:\Interworking\wpa_supplicant-1.0.tar\wpa_supplicant-1.0\wpa_supplicant-1.0\src\tls\x509v3.h(524) : error C2059: syntax error : '')''
推荐答案
这篇关于与openssl兼容的应用程序在Visual Studio 2005中编译时出现错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!