I have cleaned it with
PROJECT=Amlogic DEVICE=S912 ARCH=arm scripts/clean openssl
PROJECT=Amlogic DEVICE=S912 ARCH=arm make image
but it failed again:
Code
ar: creating ../libssl.a
make[3]: Leaving directory '/home/le/LibreELEC.tv/build.LibreELEC-S912.arm-9.0-devel/openssl-1.0.2n/.x86_64-linux-gnu/engines'
make[3]: Entering directory '/home/le/LibreELEC.tv/build.LibreELEC-S912.arm-9.0-devel/openssl-1.0.2n/.x86_64-linux-gnu/engines'
ranlib ../libssl.a || echo Never mind.
make[3]: Leaving directory '/home/le/LibreELEC.tv/build.LibreELEC-S912.arm-9.0-devel/openssl-1.0.2n/.x86_64-linux-gnu/engines'
make[3]: Entering directory '/home/le/LibreELEC.tv/build.LibreELEC-S912.arm-9.0-devel/openssl-1.0.2n/.x86_64-linux-gnu/engines'
if [ -n "libcrypto.so.1.0.0 libssl.so.1.0.0" ]; then \
(cd ..; make libssl.so.1.0.0); \
fi
make[3]: Entering directory '/home/le/LibreELEC.tv/build.LibreELEC-S912.arm-9.0-devel/openssl-1.0.2n/.x86_64-linux-gnu'
[ -z "" ] || /home/le/LibreELEC.tv/build.LibreELEC-S912.arm-9.0-devel/toolchain/bin/host-gcc -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -O2 -Wall -pipe -I/home/le/LibreELEC.tv/build.LibreELEC-S912.arm-9.0-devel/toolchain/include -Wno-format-security -m64 -DL_ENDIAN -O3 -Wall -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DRC4_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -Iinclude \
-DFINGERPRINT_PREMAIN_DSO_LOAD -o fips_premain_dso \
fips_premain.c fipscanister.o \
libcrypto.a -Wl,-rpath,/home/le/LibreELEC.tv/build.LibreELEC-S912.arm-9.0-devel/toolchain/lib -L/home/le/LibreELEC.tv/build.LibreELEC-S912.arm-9.0-devel/toolchain/lib -ldl
make[4]: Entering directory '/home/le/LibreELEC.tv/build.LibreELEC-S912.arm-9.0-devel/openssl-1.0.2n/.x86_64-linux-gnu'
make[5]: Entering directory '/home/le/LibreELEC.tv/build.LibreELEC-S912.arm-9.0-devel/openssl-1.0.2n/.x86_64-linux-gnu'
make[3]: Leaving directory '/home/le/LibreELEC.tv/build.LibreELEC-S912.arm-9.0-devel/openssl-1.0.2n/.x86_64-linux-gnu/engines'
make[3]: Entering directory '/home/le/LibreELEC.tv/build.LibreELEC-S912.arm-9.0-devel/openssl-1.0.2n/.x86_64-linux-gnu/engines'
../libcrypto.so: file not recognized: File truncated
collect2: error: ld returned 1 exit status
make[3]: *** [../Makefile.shared:167: link_o.gnu] Error 1
make[3]: Leaving directory '/home/le/LibreELEC.tv/build.LibreELEC-S912.arm-9.0-devel/openssl-1.0.2n/.x86_64-linux-gnu/engines'
make[2]: *** [Makefile:76: lib] Error 2
make[2]: Leaving directory '/home/le/LibreELEC.tv/build.LibreELEC-S912.arm-9.0-devel/openssl-1.0.2n/.x86_64-linux-gnu/engines'
make[1]: *** [Makefile:291: build_engines] Error 1
make[1]: *** Waiting for unfinished jobs....
make[5]: Leaving directory '/home/le/LibreELEC.tv/build.LibreELEC-S912.arm-9.0-devel/openssl-1.0.2n/.x86_64-linux-gnu'
make[5]: Entering directory '/home/le/LibreELEC.tv/build.LibreELEC-S912.arm-9.0-devel/openssl-1.0.2n/.x86_64-linux-gnu'
make[5]: Leaving directory '/home/le/LibreELEC.tv/build.LibreELEC-S912.arm-9.0-devel/openssl-1.0.2n/.x86_64-linux-gnu'
make[4]: Leaving directory '/home/le/LibreELEC.tv/build.LibreELEC-S912.arm-9.0-devel/openssl-1.0.2n/.x86_64-linux-gnu'
make[4]: Entering directory '/home/le/LibreELEC.tv/build.LibreELEC-S912.arm-9.0-devel/openssl-1.0.2n/.x86_64-linux-gnu'
make[5]: Entering directory '/home/le/LibreELEC.tv/build.LibreELEC-S912.arm-9.0-devel/openssl-1.0.2n/.x86_64-linux-gnu'
make[5]: Leaving directory '/home/le/LibreELEC.tv/build.LibreELEC-S912.arm-9.0-devel/openssl-1.0.2n/.x86_64-linux-gnu'
make[5]: Entering directory '/home/le/LibreELEC.tv/build.LibreELEC-S912.arm-9.0-devel/openssl-1.0.2n/.x86_64-linux-gnu'
make[5]: Leaving directory '/home/le/LibreELEC.tv/build.LibreELEC-S912.arm-9.0-devel/openssl-1.0.2n/.x86_64-linux-gnu'
make[4]: Leaving directory '/home/le/LibreELEC.tv/build.LibreELEC-S912.arm-9.0-devel/openssl-1.0.2n/.x86_64-linux-gnu'
make[3]: Leaving directory '/home/le/LibreELEC.tv/build.LibreELEC-S912.arm-9.0-devel/openssl-1.0.2n/.x86_64-linux-gnu'
make[2]: Leaving directory '/home/le/LibreELEC.tv/build.LibreELEC-S912.arm-9.0-devel/openssl-1.0.2n/.x86_64-linux-gnu/ssl'
make[1]: Leaving directory '/home/le/LibreELEC.tv/build.LibreELEC-S912.arm-9.0-devel/openssl-1.0.2n/.x86_64-linux-gnu'
Makefile:12: recipe for target 'image' failed
make: *** [image] Error 2
Display More