[内核源码][编译] 关于openssl/opensslv.h错误的解决方案

博客聚焦于openssl/opensslv.h错误,提供了该错误的解决方案,属于编译相关的信息技术问题解决内容。
sudo apt-get install libssl-dev
/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 出错了
12-24
^ /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 security/commoncap.o CC security/keys/key.o CC security/min_addr.o CC security/keys/keyring.o CC security/keys/keyctl.o CC security/keys/permission.o CC security/keys/process_keys.o CC security/keys/request_key.o CC security/keys/request_key_auth.o CC security/keys/user_defined.o CC security/keys/compat.o CC security/keys/proc.o CC security/keys/sysctl.o CC security/keys/keyctl_pkey.o AR security/keys/built-in.a AR security/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 出现这些问题怎么办
12-24
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值