In file included from /home/user/nvr8064/nvt98635/linux-6.12.46/certs/extract-cert.c:21:0:
/usr/include/openssl/bio.h: In function 'DEPRECATEDIN_1_1_0':
/usr/include/openssl/bio.h:687:1: error: expected declaration specifiers before 'DEPRECATEDIN_1_1_0'
DEPRECATEDIN_1_1_0(int BIO_get_port(const char *str, unsigned short *port_ptr))
^
/usr/include/openssl/bio.h:694:2: error: expected declaration specifiers before ';' token
};
^
In file included from /usr/include/openssl/asn1.h:23:0,
from /usr/include/openssl/objects.h:15,
from /usr/include/openssl/evp.h:28,
from /usr/include/openssl/pem.h:16,
from /home/user/nvr8064/nvt98635/linux-6.12.46/certs/extract-cert.c:22:
/usr/include/openssl/bn.h:326:1: error: expected declaration specifiers before 'DEPRECATEDIN_0_9_8'
DEPRECATEDIN_0_9_8(BIGNUM *BN_generate_prime(BIGNUM *ret, int bits, int safe,
^
/usr/include/openssl/bn.h:402:1: error: expected declaration specifiers before 'DEPRECATEDIN_0_9_8'
DEPRECATEDIN_0_9_8(void BN_set_params(int mul, int high, int low, int mont))
^
In file included from /usr/include/openssl/crypto.h:23:0,
from /usr/include/openssl/bio.h:20,
from /home/user/nvr8064/nvt98635/linux-6.12.46/certs/extract-cert.c:21:
/usr/include/openssl/asn1.h:119:1: error: storage class specified for parameter 'sk_X509_ALGOR_compfunc'
DEFINE_STACK_OF(X509_ALGOR)
^
/usr/include/openssl/asn1.h:119:1: error: storage class specified for parameter 'sk_X509_ALGOR_freefunc'
DEFINE_STACK_OF(X509_ALGOR)
^
/usr/include/openssl/asn1.h:119:1: error: storage class specified for parameter 'sk_X509_ALGOR_copyfunc'
DEFINE_STACK_OF(X509_ALGOR)
^
/usr/include/openssl/asn1.h:119:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
DEFINE_STACK_OF(X509_ALGOR)
^
/usr/include/openssl/asn1.h:119:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
DEFINE_STACK_OF(X509_ALGOR)
^
/usr/include/openssl/asn1.h:119:1: error: expected declaration specifiers or '...' before 'sk_X509_ALGOR_compfunc'
DEFINE_STACK_OF(X509_ALGOR)
^
/usr/include/openssl/asn1.h:119:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
DEFINE_STACK_OF(X509_ALGOR)
^
/usr/include/openssl/asn1.h:119:1: error: expected declaration specifiers or '...' before 'sk_X509_ALGOR_compfunc'
DEFINE_STACK_OF(X509_ALGOR)
^
/usr/include/openssl/asn1.h:119:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
DEFINE_STACK_OF(X509_ALGOR)
^
/usr/include/openssl/asn1.h:119:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
DEFINE_STACK_OF(X509_ALGOR)
^
/usr/include/openssl/asn1.h:119:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
DEFINE_STACK_OF(X509_ALGOR)
^
/usr/include/openssl/asn1.h:119:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
DEFINE_STACK_OF(X509_ALGOR)
^
/usr/include/openssl/asn1.h:119:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
DEFINE_STACK_OF(X509_ALGOR)
^
/usr/include/openssl/asn1.h:119:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
DEFINE_STACK_OF(X509_ALGOR)
^
/usr/include/openssl/asn1.h:119:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
DEFINE_STACK_OF(X509_ALGOR)
^
/usr/include/openssl/asn1.h:119:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
DEFINE_STACK_OF(X509_ALGOR)
^
/usr/include/openssl/asn1.h:119:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
DEFINE_STACK_OF(X509_ALGOR)
^
/usr/include/openssl/asn1.h:119:1: error: expected declaration specifiers or '...' before 'sk_X509_ALGOR_freefunc'
DEFINE_STACK_OF(X509_ALGOR)
^
/usr/include/openssl/asn1.h:119:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
DEFINE_STACK_OF(X509_ALGOR)
^
/usr/include/openssl/asn1.h:119:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
DEFINE_STACK_OF(X509_ALGOR)
^
/usr/include/openssl/asn1.h:119:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
DEFINE_STACK_OF(X509_ALGOR)
^
/usr/include/openssl/asn1.h:119:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
DEFINE_STACK_OF(X509_ALGOR)
^
/usr/include/openssl/asn1.h:119:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
DEFINE_STACK_OF(X509_ALGOR)
^
/usr/include/openssl/asn1.h:119:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
DEFINE_STACK_OF(X509_ALGOR)
^
/usr/include/openssl/asn1.h:119:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
DEFINE_STACK_OF(X509_ALGOR)
^
/usr/include/openssl/asn1.h:119:1: error: expected declaration specifiers or '...' before 'sk_X509_ALGOR_copyfunc'
DEFINE_STACK_OF(X509_ALGOR)
^
/usr/include/openssl/asn1.h:119:1: error: expected declaration specifiers or '...' before 'sk_X509_ALGOR_freefunc'
DEFINE_STACK_OF(X509_ALGOR)
^
/usr/include/openssl/asn1.h:119:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sk_X509_ALGOR_set_cmp_func'
DEFINE_STACK_OF(X509_ALGOR)
^
In file included from /usr/include/openssl/objects.h:15:0,
from /usr/include/openssl/evp.h:28,
from /usr/include/openssl/pem.h:16,
from /home/user/nvr8064/nvt98635/linux-6.12.46/certs/extract-cert.c:22:
/usr/include/openssl/asn1.h:168:3: error: storage class specified for parameter 'ASN1_ENCODING'
} ASN1_ENCODING;
^
/usr/include/openssl/asn1.h:192:3: error: storage class specified for parameter 'ASN1_STRING_TABLE'
} ASN1_STRING_TABLE;
^
In file included from /usr/include/openssl/crypto.h:23:0,
from /usr/include/openssl/bio.h:20,
from /home/user/nvr8064/nvt98635/linux-6.12.46/certs/extract-cert.c:21:
/usr/include/openssl/asn1.h:194:1: error: expected ';', ',' or ')' before '*' token
DEFINE_STACK_OF(ASN1_STRING_TABLE)
^
/usr/include/openssl/asn1.h:194:1: error: expected declaration specifiers or '...' before 'ASN1_STRING_TABLE'
DEFINE_STACK_OF(ASN1_STRING_TABLE)
^
/usr/include/openssl/asn1.h:194:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
DEFINE_STACK_OF(ASN1_STRING_TABLE)
^
/usr/include/openssl/asn1.h:194:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
DEFINE_STACK_OF(ASN1_STRING_TABLE)
^
/usr/include/openssl/asn1.h:194:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
DEFINE_STACK_OF(ASN1_STRING_TABLE)
^
/usr/include/openssl/asn1.h:194:1: error: unknown type name 'sk_ASN1_STRING_TABLE_compfunc'
DEFINE_STACK_OF(ASN1_STRING_TABLE)
^
/usr/include/openssl/asn1.h:194:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
DEFINE_STACK_OF(ASN1_STRING_TABLE)
^
/usr/include/openssl/asn1.h:194:1: error: unknown type name 'sk_ASN1_STRING_TABLE_compfunc'
DEFINE_STACK_OF(ASN1_STRING_TABLE)
^
/usr/include/openssl/asn1.h:194:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
DEFINE_STACK_OF(ASN1_STRING_TABLE)
^
/usr/include/openssl/asn1.h:194:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
DEFINE_STACK_OF(ASN1_STRING_TABLE)
^
/usr/include/openssl/asn1.h:194:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
DEFINE_STACK_OF(ASN1_STRING_TABLE)
^
/usr/include/openssl/asn1.h:194:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
DEFINE_STACK_OF(ASN1_STRING_TABLE)
^
/usr/include/openssl/asn1.h:194:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
DEFINE_STACK_OF(ASN1_STRING_TABLE)
^
/usr/include/openssl/asn1.h:194:1: error: expected declaration specifiers or '...' before 'ASN1_STRING_TABLE'
DEFINE_STACK_OF(ASN1_STRING_TABLE)
^
/usr/include/openssl/asn1.h:194:1: error: expected declaration specifiers or '...' before 'ASN1_STRING_TABLE'
DEFINE_STACK_OF(ASN1_STRING_TABLE)
^
/usr/include/openssl/asn1.h:194:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
DEFINE_STACK_OF(ASN1_STRING_TABLE)
^
/usr/include/openssl/asn1.h:194:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
DEFINE_STACK_OF(ASN1_STRING_TABLE)
这是什么编译问题,一大堆
最新发布