0

我正在尝试构建 wpa_supplicant,它在 Visual Studio 2005 上引用 openssl 头文件 x509v3.h。而我正在构建编译器,点击 x509v3.h 头文件并发现大量错误。任何人都可以帮助我。

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:语法错误:')'

4

1 回答 1

0

由于变量和结构变量的#define,这个问题得到了解决。

于 2012-09-27T13:25:47.007 回答