在论坛中已经有人询问了,但是没有人回答。T113 添加 openssh 编译错误
板子:100ASK_T113_PRO Base V1.3
环境:TINA_V2.0
报错如下:
make[5]: Entering directory '/home/t115/T113S3/tina-d1-h/out/t113-100ask/compile_dir/target/openssh-without-pam/openssh-8.0p1/openbsd-compat'
arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -march=armv7-a -mtune=cortex-a7 -mfpu=neon -fno-caller-saves -Wno-unused-result -mfloat-abi=hard -Wformat -Werror=format-security -fPIC -fstack-protector -D_FORTIFY_SOURCE=2 -Wl,-z,now -Wl,-z,relro -pipe -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fPIE -I. -I.. -I. -I./.. -I/home/t115/T113S3/tina-d1-h/out/t113-100ask/staging_dir/target/usr/include -I/home/t115/T113S3/tina-d1-h/out/t113-100ask/staging_dir/target/include -I/home/t115/T113S3/tina-d1-h/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/usr/include -I/home/t115/T113S3/tina-d1-h/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/include -I/home/t115/T113S3/tina-d1-h/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/include/fortify -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_CONFIG_H -c libressl-api-compat.c
libressl-api-compat.c: In function 'RSA_get0_key':
libressl-api-compat.c:234:9: error: dereferencing pointer to incomplete type 'RSA {aka const struct rsa_st}'
*n = r->n;
^~
libressl-api-compat.c: In function 'RSA_set0_key':
libressl-api-compat.c:246:8: error: dereferencing pointer to incomplete type 'RSA {aka struct rsa_st}'
if ((r->n == NULL && n == NULL) || (r->e == NULL && e == NULL))
^~
libressl-api-compat.c: In function 'RSA_meth_free':
libressl-api-compat.c:532:20: error: dereferencing pointer to incomplete type 'RSA_METHOD {aka struct rsa_meth_st}'
free((char *)meth->name);
^~
libressl-api-compat.c: In function 'RSA_meth_dup':
libressl-api-compat.c:547:31: error: dereferencing pointer to incomplete type 'RSA_METHOD {aka const struct rsa_meth_st}'
if ((copy->name = strdup(meth->name)) == NULL) {
^~
libressl-api-compat.c: In function 'EVP_PKEY_get0_RSA':
libressl-api-compat.c:611:10: error: dereferencing pointer to incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
if (pkey->type != EVP_PKEY_RSA) {