Problems build openssl

I'm trying to build openssl with openwrt sdk, I have take openssl package
from openwrt git (not github)
I need it to compile a package called "telnetd-ssl" to use it as alternative in case sshd fail.
The command

 make package/openssl/compile V=99

give me this error

mips-openwrt-linux-musl-gcc  -Iinclude  -fPIC -pthread -mabi=32 -Wa,--noexecstack -Wall -O3 -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/root/openwrt-sdk-lantiq-xrx200_gcc-13.3.0_musl.Linux-x86_64/build_dir/target-mips_24kc_musl/openssl-3.0.16=openssl-3.0.16 -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/root/openwrt-sdk-lantiq-xrx200_gcc-13.3.0_musl.Linux-x86_64/build_dir/target-mips_24kc_musl/openssl-3.0.16=openssl-3.0.16 -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -fpic -fuse-ld=bfd -znow -zrelro -DOPENSSL_BUILDING_OPENSSL -DNDEBUG -D_FORTIFY_SOURCE=1 -DPIC -DOPENSSL_PREFER_CHACHA_OVER_GCM -I/root/openwrt-sdk-lantiq-xrx200_gcc-13.3.0_musl.Linux-x86_64/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/usr/include -I/root/openwrt-sdk-lantiq-xrx200_gcc-13.3.0_musl.Linux-x86_64/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include -I/root/openwrt-sdk-lantiq-xrx200_gcc-13.3.0_musl.Linux-x86_64/staging_dir/toolchain-mips_24kc_gcc-13.3.0_musl/include/fortify -MMD -MF engines/devcrypto-dso-e_devcrypto.d.tmp -c -o engines/devcrypto-dso-e_devcrypto.o engines/e_devcrypto.c
cc1: note: someone does not honour COPTS correctly, passed 2 times
engines/e_devcrypto.c:27:10: fatal error: crypto/cryptodev.h: No such file or directory

any idea?

Probably I have to build kernel first
Now I try

Standing on makefile it require kmod-cryptodev but I cannot found the sources of this module on net

Found it

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.