/usr/include/openssl/ui.h:341:35: error: expected declaration specifiers or '...' before 'UI_STRING'
const char *UI_get0_action_string(UI_STRING *uis);
^
/usr/include/openssl/ui.h:343:35: error: expected declaration specifiers or '...' before 'UI_STRING'
const char *UI_get0_result_string(UI_STRING *uis);
^
/usr/include/openssl/ui.h:344:33: error: expected declaration specifiers or '...' before 'UI_STRING'
int UI_get_result_string_length(UI_STRING *uis);
^
/usr/include/openssl/ui.h:348:33: error: expected declaration specifiers or '...' before 'UI_STRING'
const char *UI_get0_test_string(UI_STRING *uis);
^
/usr/include/openssl/ui.h:350:27: error: expected declaration specifiers or '...' before 'UI_STRING'
int UI_get_result_minsize(UI_STRING *uis);
^
/usr/include/openssl/ui.h:352:27: error: expected declaration specifiers or '...' before 'UI_STRING'
int UI_get_result_maxsize(UI_STRING *uis);
^
/usr/include/openssl/ui.h:354:27: error: expected declaration specifiers or '...' before 'UI_STRING'
int UI_set_result(UI *ui, UI_STRING *uis, const char *result);
^
/usr/include/openssl/ui.h:355:30: error: expected declaration specifiers or '...' before 'UI_STRING'
int UI_set_result_ex(UI *ui, UI_STRING *uis, const char *result, int len);
^
/usr/include/openssl/ui.h:362:43: error: expected declaration specifiers or '...' before 'pem_password_cb'
UI_METHOD *UI_UTIL_wrap_read_pem_callback(pem_password_cb *cb, int rwflag);
^
In file included from /home/user/nvr8064/nvt98635/linux-6.12.46/certs/extract-cert.c:31:0:
/usr/include/openssl/engine.h:256:3: error: storage class specified for parameter 'ENGINE_CMD_DEFN'
} ENGINE_CMD_DEFN;
^
/usr/include/openssl/engine.h:259:15: error: storage class specified for parameter 'ENGINE_GEN_FUNC_PTR'
typedef int (*ENGINE_GEN_FUNC_PTR) (void);
^
/usr/include/openssl/engine.h:261:15: error: storage class specified for parameter 'ENGINE_GEN_INT_FUNC_PTR'
typedef int (*ENGINE_GEN_INT_FUNC_PTR) (ENGINE *);
^
/usr/include/openssl/engine.h:263:15: error: storage class specified for parameter 'ENGINE_CTRL_FUNC_PTR'
typedef int (*ENGINE_CTRL_FUNC_PTR) (ENGINE *, int, long, void *,
^
/usr/include/openssl/engine.h:266:21: error: storage class specified for parameter 'ENGINE_LOAD_KEY_PTR'
typedef EVP_PKEY *(*ENGINE_LOAD_KEY_PTR)(ENGINE *, const char *,
^
/usr/include/openssl/engine.h:269:15: error: storage class specified for parameter 'ENGINE_SSL_CLIENT_CERT_PTR'
typedef int (*ENGINE_SSL_CLIENT_CERT_PTR) (ENGINE *, SSL *ssl,
^
/usr/include/openssl/engine.h:290:15: error: storage class specified for parameter 'ENGINE_CIPHERS_PTR'
typedef int (*ENGINE_CIPHERS_PTR) (ENGINE *, const EVP_CIPHER **,
^
/usr/include/openssl/engine.h:292:15: error: storage class specified for parameter 'ENGINE_DIGESTS_PTR'
typedef int (*ENGINE_DIGESTS_PTR) (ENGINE *, const EVP_MD **, const int **,
^
/usr/include/openssl/engine.h:294:15: error: storage class specified for parameter 'ENGINE_PKEY_METHS_PTR'
typedef int (*ENGINE_PKEY_METHS_PTR) (ENGINE *, EVP_PKEY_METHOD **,
^
/usr/include/openssl/engine.h:296:15: error: storage class specified for parameter 'ENGINE_PKEY_ASN1_METHS_PTR'
typedef int (*ENGINE_PKEY_ASN1_METHS_PTR) (ENGINE *, EVP_PKEY_ASN1_METHOD **,
^
/usr/include/openssl/engine.h:475:44: error: expected declaration specifiers or '...' before 'ENGINE_GEN_INT_FUNC_PTR'
int ENGINE_set_destroy_function(ENGINE *e, ENGINE_GEN_INT_FUNC_PTR destroy_f);
^
/usr/include/openssl/engine.h:476:41: error: expected declaration specifiers or '...' before 'ENGINE_GEN_INT_FUNC_PTR'
int ENGINE_set_init_function(ENGINE *e, ENGINE_GEN_INT_FUNC_PTR init_f);
^
/usr/include/openssl/engine.h:477:43: error: expected declaration specifiers or '...' before 'ENGINE_GEN_INT_FUNC_PTR'
int ENGINE_set_finish_function(ENGINE *e, ENGINE_GEN_INT_FUNC_PTR finish_f);
^
/usr/include/openssl/engine.h:478:41: error: expected declaration specifiers or '...' before 'ENGINE_CTRL_FUNC_PTR'
int ENGINE_set_ctrl_function(ENGINE *e, ENGINE_CTRL_FUNC_PTR ctrl_f);
^
/usr/include/openssl/engine.h:480:38: error: expected declaration specifiers or '...' before 'ENGINE_LOAD_KEY_PTR'
ENGINE_LOAD_KEY_PTR loadpriv_f);
^
/usr/include/openssl/engine.h:481:48: error: expected declaration specifiers or '...' before 'ENGINE_LOAD_KEY_PTR'
int ENGINE_set_load_pubkey_function(ENGINE *e, ENGINE_LOAD_KEY_PTR loadpub_f);
^
/usr/include/openssl/engine.h:483:46: error: expected declaration specifiers or '...' before 'ENGINE_SSL_CLIENT_CERT_PTR'
ENGINE_SSL_CLIENT_CERT_PTR
^
/usr/include/openssl/engine.h:485:35: error: expected declaration specifiers or '...' before 'ENGINE_CIPHERS_PTR'
int ENGINE_set_ciphers(ENGINE *e, ENGINE_CIPHERS_PTR f);
^
/usr/include/openssl/engine.h:486:35: error: expected declaration specifiers or '...' before 'ENGINE_DIGESTS_PTR'
int ENGINE_set_digests(ENGINE *e, ENGINE_DIGESTS_PTR f);
^
/usr/include/openssl/engine.h:487:38: error: expected declaration specifiers or '...' before 'ENGINE_PKEY_METHS_PTR'
int ENGINE_set_pkey_meths(ENGINE *e, ENGINE_PKEY_METHS_PTR f);
^
/usr/include/openssl/engine.h:488:43: error: expected declaration specifiers or '...' before 'ENGINE_PKEY_ASN1_METHS_PTR'
int ENGINE_set_pkey_asn1_meths(ENGINE *e, ENGINE_PKEY_ASN1_METHS_PTR f);
^
/usr/include/openssl/engine.h:490:59: error: expected ';', ',' or ')' before '*' token
int ENGINE_set_cmd_defns(ENGINE *e, const ENGINE_CMD_DEFN *defns);
^
/usr/include/openssl/engine.h:518:1: error: expected declaration specifiers before 'ENGINE_GEN_INT_FUNC_PTR'
ENGINE_GEN_INT_FUNC_PTR ENGINE_get_destroy_function(const ENGINE *e);
^
/usr/include/openssl/engine.h:519:1: error: expected declaration specifiers before 'ENGINE_GEN_INT_FUNC_PTR'
ENGINE_GEN_INT_FUNC_PTR ENGINE_get_init_function(const ENGINE *e);
^
/usr/include/openssl/engine.h:520:1: error: expected declaration specifiers before 'ENGINE_GEN_INT_FUNC_PTR'
ENGINE_GEN_INT_FUNC_PTR ENGINE_get_finish_function(const ENGINE *e);
^
/usr/include/openssl/engine.h:521:1: error: expected declaration specifiers before 'ENGINE_CTRL_FUNC_PTR'
ENGINE_CTRL_FUNC_PTR ENGINE_get_ctrl_function(const ENGINE *e);
^
/usr/include/openssl/engine.h:522:1: error: expected declaration specifiers before 'ENGINE_LOAD_KEY_PTR'
ENGINE_LOAD_KEY_PTR ENGINE_get_load_privkey_function(const ENGINE *e);
^
/usr/include/openssl/engine.h:523:1: error: expected declaration specifiers before 'ENGINE_LOAD_KEY_PTR'
ENGINE_LOAD_KEY_PTR ENGINE_get_load_pubkey_function(const ENGINE *e);
^
/usr/include/openssl/engine.h:524:1: error: expected declaration specifiers before 'ENGINE_SSL_CLIENT_CERT_PTR'
ENGINE_SSL_CLIENT_CERT_PTR ENGINE_get_ssl_client_cert_function(const ENGINE
^
/usr/include/openssl/engine.h:526:1: error: expected declaration specifiers before 'ENGINE_CIPHERS_PTR'
ENGINE_CIPHERS_PTR ENGINE_get_ciphers(const ENGINE *e);
^
/usr/include/openssl/engine.h:527:1: error: expected declaration specifiers before 'ENGINE_DIGESTS_PTR'
ENGINE_DIGESTS_PTR ENGINE_get_digests(const ENGINE *e);
^
/usr/include/openssl/engine.h:528:1: error: expected declaration specifiers before 'ENGINE_PKEY_METHS_PTR'
ENGINE_PKEY_METHS_PTR ENGINE_get_pkey_meths(const ENGINE *e);
^
/usr/include/openssl/engine.h:529:1: error: expected declaration specifiers before 'ENGINE_PKEY_ASN1_METHS_PTR'
ENGINE_PKEY_ASN1_METHS_PTR ENGINE_get_pkey_asn1_meths(const ENGINE *e);
^
/usr/include/openssl/engine.h:540:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
const ENGINE_CMD_DEFN *ENGINE_get_cmd_defns(const ENGINE *e);
^
/usr/include/openssl/engine.h:659:17: error: storage class specified for parameter 'dyn_MEM_malloc_fn'
typedef void *(*dyn_MEM_malloc_fn) (size_t, const char *, int);
^
/usr/include/openssl/engine.h:660:17: error: storage class specified for parameter 'dyn_MEM_realloc_fn'
typedef void *(*dyn_MEM_realloc_fn) (void *, size_t, const char *, int);
^
/usr/include/openssl/engine.h:661:16: error: storage class specified for parameter 'dyn_MEM_free_fn'
typedef void (*dyn_MEM_free_fn) (void *, const char *, int);
^
/usr/include/openssl/engine.h:663:5: error: expected specifier-qualifier-list before 'dyn_MEM_malloc_fn'
dyn_MEM_malloc_fn malloc_fn;
^
/usr/include/openssl/engine.h:666:3: error: storage class specified for parameter 'dynamic_MEM_fns'
} dynamic_MEM_fns;
^
/usr/include/openssl/engine.h:674:5: error: expected specifier-qualifier-list before 'dynamic_MEM_fns'
dynamic_MEM_fns mem_fns;
^
/usr/include/openssl/engine.h:675:3: error: storage class specified for parameter 'dynamic_fns'
} dynamic_fns;
^
/usr/include/openssl/engine.h:689:25: error: storage class specified for parameter 'dynamic_v_check_fn'
typedef unsigned long (*dynamic_v_check_fn) (unsigned long ossl_version);
^
/usr/include/openssl/engine.h:715:55: error: expected ';', ',' or ')' before '*' token
const dynamic_fns *fns);
^
In file included from /home/user/nvr8064/nvt98635/linux-6.12.46/certs/extract-cert.c:34:0:
/home/user/nvr8064/nvt98635/linux-6.12.46/scripts/ssl-common.h:7:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{
^
/home/user/nvr8064/nvt98635/linux-6.12.46/certs/extract-cert.c:40:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{
^
/home/user/nvr8064/nvt98635/linux-6.12.46/certs/extract-cert.c:46:20: error: storage class specified for parameter 'key_pass'
static const char *key_pass;
^
/home/user/nvr8064/nvt98635/linux-6.12.46/certs/extract-cert.c:47:13: error: storage class specified for parameter 'wb'
static BIO *wb;
^
/home/user/nvr8064/nvt98635/linux-6.12.46/certs/extract-cert.c:48:14: error: storage class specified for parameter 'cert_dst'
static char *cert_dst;
^
/home/user/nvr8064/nvt98635/linux-6.12.46/certs/extract-cert.c:49:13: error: storage class specified for parameter 'verbose'
static bool verbose;
^
/home/user/nvr8064/nvt98635/linux-6.12.46/certs/extract-cert.c:52:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{
^
/home/user/nvr8064/nvt98635/linux-6.12.46/certs/extract-cert.c:66:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{
^
/home/user/nvr8064/nvt98635/linux-6.12.46/certs/extract-cert.c:126:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{
^
In file included from /home/user/nvr8064/nvt98635/linux-6.12.46/certs/extract-cert.c:21:0:
/usr/include/openssl/bio.h:686:1: error: old-style parameter declarations in prototyped function definition
DEPRECATEDIN_1_1_0(struct hostent *BIO_gethostbyname(const char *name))
^
/home/user/nvr8064/nvt98635/linux-6.12.46/certs/extract-cert.c:182:1: error: expected '{' at end of input
}
^
/home/user/nvr8064/nvt98635/linux-6.12.46/certs/extract-cert.c:182:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/user/nvr8064/nvt98635/linux-6.12.46/scripts/Makefile.host:116: recipe for target 'certs/extract-cert' failed
make[9]: *** [certs/extract-cert] Error 1
/home/user/nvr8064/nvt98635/linux-6.12.46/scripts/Makefile.build:478: recipe for target 'certs' failed
make[8]: *** [certs] Error 2
make[8]: *** Waiting for unfinished jobs....
CC ipc/util.o
CC ipc/msgutil.o
CC ipc/msg.o
CC ipc/sem.o
CC ipc/shm.o
CC ipc/syscall.o
CC ipc/ipc_sysctl.o
CC ipc/mqueue.o
CC ipc/namespace.o
CC ipc/mq_sysctl.o
AR ipc/built-in.a
/home/user/nvr8064/nvt98635/linux-6.12.46/Makefile:1952: recipe for target '.' failed
make[7]: *** [.] Error 2
/home/user/nvr8064/nvt98635/linux-6.12.46/Makefile:224: recipe for target '__sub-make' failed
make[6]: *** [__sub-make] Error 2
make[6]: Leaving directory '/home/user/nvr8064/torchlight/build_dir/linux-novatek_nvt98635/linux-6.12.46'
Makefile:224: recipe for target '__sub-make' failed
make[5]: *** [__sub-make] Error 2
make[5]: Leaving directory '/home/user/nvr8064/nvt98635/linux-6.12.46'
Makefile:43: recipe for target '/home/user/nvr8064/torchlight/build_dir/linux-novatek_nvt98635/linux-6.12.46/.modules' failed
make[4]: *** [/home/user/nvr8064/torchlight/build_dir/linux-novatek_nvt98635/linux-6.12.46/.modules] Error 2
make[4]: Leaving directory '/home/user/nvr8064/torchlight/target/linux/novatek'
Makefile:13: recipe for target 'compile' failed
make[3]: *** [compile] Error 2
make[3]: Leaving directory '/home/user/nvr8064/torchlight/target/linux'
target/Makefile:21: recipe for target 'target/linux/compile' failed
make[2]: *** [target/linux/compile] Error 2
make[2]: Leaving directory '/home/user/nvr8064/torchlight'
target/Makefile:16: recipe for target '/home/user/nvr8064/torchlight/staging_dir/target-aarch64-ca76ca55-linux/stamp/.target_compile' failed
make[1]: *** [/home/user/nvr8064/torchlight/staging_dir/target-aarch64-ca76ca55-linux/stamp/.target_compile] Error 2
make[1]: Leaving directory '/home/user/nvr8064/torchlight'
/home/user/nvr8064/torchlight/include/toplevel.mk:199: recipe for target 'world' failed
make: *** [world] Error 2
出错了