This repository was archived by the owner on Aug 24, 2025. It is now read-only.
forked from openssl/openssl
-
Notifications
You must be signed in to change notification settings - Fork 15
This repository was archived by the owner on Aug 24, 2025. It is now read-only.
openssl build error #1
Copy link
Copy link
Open
Description
build error
Context
When compiling openssl on VS2019, I get the following error
1>F:\source\FFmpeg-VS\openssl\include\openssl\x509.h(75,1): error C2059: syntax error: '<parameter-list>' (compiling source file ..\crypto\asn1\asn_moid.c)
1>F:\source\FFmpeg-VS\openssl\include\openssl\x509.h(75,1): error C2143: syntax error: missing ')' before '(' (compiling source file ..\crypto\asn1\asn_moid.c)
1>F:\source\FFmpeg-VS\openssl\include\openssl\x509.h(75,1): error C2059: syntax error: ')' (compiling source file ..\crypto\asn1\asn_moid.c)
1>F:\source\FFmpeg-VS\openssl\include\openssl\x509.h(75,1): error C2143: syntax error: missing ')' before 'constant' (compiling source file ..\crypto\asn1\asn_moid.c)
1>F:\source\FFmpeg-VS\openssl\include\openssl\x509.h(75,1): error C2091: function returns function (compiling source file ..\crypto\asn1\asn_moid.c)
1>F:\source\FFmpeg-VS\openssl\include\openssl\x509.h(75,1): error C2143: syntax error: missing '{' before 'constant' (compiling source file ..\crypto\asn1\asn_moid.c)
1>F:\source\FFmpeg-VS\openssl\include\openssl\x509.h(75,1): error C2059: syntax error: 'constant' (compiling source file ..\crypto\asn1\asn_moid.c)
1>F:\source\FFmpeg-VS\openssl\include\openssl\x509.h(81,34): error C2059: syntax error: '<parameter-list>' (compiling source file ..\crypto\asn1\asn_moid.c)
1>F:\source\FFmpeg-VS\openssl\include\openssl\x509_vfy.h(77,59): error C2059: syntax error: '(' (compiling source file ..\crypto\asn1\asn_moid.c)
1>F:\source\FFmpeg-VS\openssl\include\openssl\x509_vfy.h(77,59): error C2143: syntax error: missing ')' before '(' (compiling source file ..\crypto\asn1\asn_moid.c)
1>F:\source\FFmpeg-VS\openssl\include\openssl\x509_vfy.h(77,59): error C2059: syntax error: ')' (compiling source file ..\crypto\asn1\asn_moid.c)
1>F:\source\FFmpeg-VS\openssl\include\openssl\x509_vfy.h(77,59): error C2143: syntax error: missing ')' before 'constant' (compiling source file ..\crypto\asn1\asn_moid.c)
1>F:\source\FFmpeg-VS\openssl\include\openssl\x509_vfy.h(77,59): error C2091: function returns function (compiling source file ..\crypto\asn1\asn_moid.c)
1>F:\source\FFmpeg-VS\openssl\include\openssl\x509_vfy.h(77,59): error C2143: syntax error: missing '{' before 'constant' (compiling source file ..\crypto\asn1\asn_moid.c)
1>F:\source\FFmpeg-VS\openssl\include\openssl\x509_vfy.h(77,59): error C2059: syntax error: 'constant' (compiling source file ..\crypto\asn1\asn_moid.c)
1>F:\source\FFmpeg-VS\openssl\include\openssl\x509_vfy.h(77,72): error C2059: syntax error: ')' (compiling source file ..\crypto\asn1\asn_moid.c)
1>F:\source\FFmpeg-VS\openssl\include\openssl\x509_vfy.h(79,62): error C2059: syntax error: '(' (compiling source file ..\crypto\asn1\asn_moid.c)
1>F:\source\FFmpeg-VS\openssl\include\openssl\x509_vfy.h(79,62): error C2143: syntax error: missing ')' before '(' (compiling source file ..\crypto\asn1\asn_moid.c)
1>F:\source\FFmpeg-VS\openssl\include\openssl\x509_vfy.h(79,62): error C2059: syntax error: ')' (compiling source file ..\crypto\asn1\asn_moid.c)
1>F:\source\FFmpeg-VS\openssl\include\openssl\x509_vfy.h(79,62): error C2143: syntax error: missing ')' before 'constant' (compiling source file ..\crypto\asn1\asn_moid.c)
1>F:\source\FFmpeg-VS\openssl\include\openssl\x509_vfy.h(79,62): error C2091: function returns function (compiling source file ..\crypto\asn1\asn_moid.c)
1>F:\source\FFmpeg-VS\openssl\include\openssl\x509_vfy.h(79,62): error C2143: syntax error: missing '{' before 'constant' (compiling source file ..\crypto\asn1\asn_moid.c)
1>F:\source\FFmpeg-VS\openssl\include\openssl\x509_vfy.h(79,62): error C2059: syntax error: 'constant' (compiling source file ..\crypto\asn1\asn_moid.c)
1>F:\source\FFmpeg-VS\openssl\include\openssl\x509_vfy.h(79,75): error C2059: syntax error: ')' (compiling source file ..\crypto\asn1\asn_moid.c)
1>F:\source\FFmpeg-VS\openssl\include\openssl\x509_vfy.h(249,32): error C2059: syntax error: '(' (compiling source file ..\crypto\asn1\asn_moid.c)
1>F:\source\FFmpeg-VS\openssl\include\openssl\x509_vfy.h(249,32): error C2143: syntax error: missing ')' before '(' (compiling source file ..\crypto\asn1\asn_moid.c)
1>F:\source\FFmpeg-VS\openssl\include\openssl\x509_vfy.h(249,32): error C2059: syntax error: ')' (compiling source file ..\crypto\asn1\asn_moid.c)
1>F:\source\FFmpeg-VS\openssl\include\openssl\x509_vfy.h(249,32): error C2143: syntax error: missing ')' before 'constant' (compiling source file ..\crypto\asn1\asn_moid.c)
1>F:\source\FFmpeg-VS\openssl\include\openssl\x509_vfy.h(249,32): error C2091: function returns function (compiling source file ..\crypto\asn1\asn_moid.c)
1>F:\source\FFmpeg-VS\openssl\include\openssl\x509_vfy.h(249,32): error C2143: syntax error: missing '{' before 'constant' (compiling source file ..\crypto\asn1\asn_moid.c)
1>F:\source\FFmpeg-VS\openssl\include\openssl\x509_vfy.h(249,32): error C2059: syntax error: 'constant' (compiling source file ..\crypto\asn1\asn_moid.c)
1>F:\source\FFmpeg-VS\openssl\include\openssl\x509_vfy.h(249,47): error C2059: syntax error: ')' (compiling source file ..\crypto\asn1\asn_moid.c)
1>F:\source\FFmpeg-VS\openssl\include\openssl\x509_vfy.h(252,46): error C2059: syntax error: '(' (compiling source file ..\crypto\asn1\asn_moid.c)
1>F:\source\FFmpeg-VS\openssl\include\openssl\x509_vfy.h(252,46): error C2143: syntax error: missing ')' before '(' (compiling source file ..\crypto\asn1\asn_moid.c)
1>F:\source\FFmpeg-VS\openssl\include\openssl\x509_vfy.h(252,46): error C2059: syntax error: ')' (compiling source file ..\crypto\asn1\asn_moid.c)
1>F:\source\FFmpeg-VS\openssl\include\openssl\x509_vfy.h(252,46): error C2143: syntax error: missing ')' before 'constant' (compiling source file ..\crypto\asn1\asn_moid.c)
1>F:\source\FFmpeg-VS\openssl\include\openssl\x509_vfy.h(252,46): error C2091: function returns function (compiling source file ..\crypto\asn1\asn_moid.c)
1>F:\source\FFmpeg-VS\openssl\include\openssl\x509_vfy.h(252,46): error C2143: syntax error: missing '{' before 'constant' (compiling source file ..\crypto\asn1\asn_moid.c)
1>F:\source\FFmpeg-VS\openssl\include\openssl\x509_vfy.h(252,46): error C2059: syntax error: 'constant' (compiling source file ..\crypto\asn1\asn_moid.c)
Your Environment
vs version: VS2019
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels