lede icon indicating copy to clipboard operation
lede copied to clipboard

编译报错

Open Yangtian1971 opened this issue 7 years ago • 0 comments

sshkey.c: In function 'sshkey_size': sshkey.c:277:28: error: dereferencing pointer to incomplete type 'RSA' {aka 'struct rsa_st'} return BN_num_bits(k->rsa->n); ^~ sshkey.c:280:28: error: dereferencing pointer to incomplete type 'DSA' {aka 'struct dsa_st'} return BN_num_bits(k->dsa->p); ^~ sshkey.c: In function 'sshkey_new': sshkey.c:486:11: error: dereferencing pointer to incomplete type 'RSA' {aka 'struct rsa_st'} (rsa->n = BN_new()) == NULL || ^~ sshkey.c:497:11: error: dereferencing pointer to incomplete type 'DSA' {aka 'struct dsa_st'} (dsa->p = BN_new()) == NULL || ^~ sshkey.c: In function 'translate_libcrypto_error': sshkey.c:3710:8: error: 'EVP_R_BN_DECODE_ERROR' undeclared (first use in this function); did you mean 'DH_R_BN_DECODE_ERROR'? case EVP_R_BN_DECODE_ERROR: ^~~~~~~~~~~~~~~~~~~~~ DH_R_BN_DECODE_ERROR sshkey.c:3710:8: note: each undeclared identifier is reported only once for each function it appears in sshkey.c: In function 'sshkey_parse_private_pem_fileblob': sshkey.c:3775:8: error: dereferencing pointer to incomplete type 'EVP_PKEY' {aka 'struct evp_pkey_st'} if (pk->type == EVP_PKEY_RSA && ^~ make[4]: *** [sshkey.o] Error 1 make[4]: Leaving directory /home/yangchao/lede/build_dir/target-x86_64_musl/openssh-without-pam/openssh-7.7p1' make[3]: *** [/home/yangchao/lede/build_dir/target-x86_64_musl/openssh-without-pam/openssh-7.7p1/.built] Error 2 make[3]: Leaving directory /home/yangchao/lede/feeds/packages/net/openssh' time: package/feeds/packages/openssh/without-pam/compile#6.18#1.26#26.26 make[2]: *** [package/feeds/packages/openssh/compile] Error 2 make[2]: Leaving directory /home/yangchao/lede' make[1]: *** [/home/yangchao/lede/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2 make[1]: Leaving directory /home/yangchao/lede' make: *** [world] 错误 2 求大神指教,老是这个错误,梯子什么都是好的

Yangtian1971 avatar Oct 27 '19 02:10 Yangtian1971