Hello,
I'm trying more the week to cross compile for IPQ8064 processor.
I've followed the guides in the thread. Also the official instructions for oscam cross compilling.
I've tried different distros - Mint, Ubuntu 32 and 64 bit. S3 simplebuild also ,bu t every time without success.
Something is wrong with cross compiling - for native I have no problems.
testov@testov-ThinkPad-T440:/tmp/trunk$ make -j9 CROSS=/opt/cross/openwrt-sdk-21.02.1-ipq806x-generic_gcc-8.4.0_musl_eabi.Linux-x86_64/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-8.4.0_musl_eabi/bin/arm-openwrt-linux-muslgnueabi- OSCAM_BIN=/tmp/bin/oscam/oscam CONF_DIR=/tmp/bin/oscam/etc
+-------------------------------------------------------------------------------
| OSCam ver: 1.20_svn rev: 11704 target: arm-openwrt-linux-muslgnueabi
| Tools:
| CROSS = /opt/cross/openwrt-sdk-21.02.1-ipq806x-generic_gcc-8.4.0_musl_eabi.Linux-x86_64/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-8.4.0_musl_eabi/bin/arm-openwrt-linux-muslgnueabi-
| CC = /opt/cross/openwrt-sdk-21.02.1-ipq806x-generic_gcc-8.4.0_musl_eabi.Linux-x86_64/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-8.4.0_musl_eabi/bin/arm-openwrt-linux-muslgnueabi-gcc
| Settings:
| CONF_DIR = /tmp/bin/oscam/etc
| CC_OPTS = -O2 -ggdb -pipe -ffunction-sections -fdata-sections
| CC_WARN = -W -Wall -Wshadow -Wredundant-decls -Wstrict-prototypes -Wold-style-definition
| CFLAGS =
| LDFLAGS = -Wl,--gc-sections
| LIBS = -lm -lpthread -ldl
| UseFlags =
| Config:
| Addons : WEBIF WEBIF_LIVELOG WEBIF_JQUERY HAVE_DVBAPI READ_SDT_CHARSETS IRDETO_GUESSING WITH_DEBUG MODULE_MONITOR WITH_LB
| Protocols: CAMD35 CAMD35_TCP NEWCAMD CCCAM CCCSHARE GBOX SCAM
| Readers : NAGRA NAGRA_MERLIN IRDETO CONAX CRYPTOWORKS SECA VIACCESS VIDEOGUARD DRE TONGFANG BULCRYPT GRIFFIN DGCRYPT
| CardRdrs : PHOENIX INTERNAL STINGER
| Compiler : arm-openwrt-linux-muslgnueabi-gcc (OpenWrt GCC 8.4.0 r16325-88151b8303) 8.4.0
| Config : build/arm-openwrt-linux-muslgnueabi/config.mak
| Binary : /tmp/bin/oscam/oscam
+-------------------------------------------------------------------------------
CC cscrypt/bn_asm.c
CC cscrypt/bn_ctx.c
CC cscrypt/bn_exp.c
CC cscrypt/bn_div.c
CC cscrypt/bn_print.c
CC cscrypt/bn_add.c
CC cscrypt/aes.c
CC cscrypt/bn_lib.c
CC cscrypt/bn_mul.c
CC cscrypt/bn_shift.c
CC cscrypt/bn_sqr.c
CC cscrypt/bn_word.c
CC cscrypt/mem.c
CC cscrypt/des.c
CC cscrypt/i_cbc.c
CC cscrypt/i_ecb.c
CC cscrypt/i_skey.c
CC cscrypt/rc6.c
CC cscrypt/sha1.c
CC cscrypt/md5.c
CC cscrypt/mdc2.c
CC cscrypt/fast_aes.c
In file included from cscrypt/mdc2.c:2:
cscrypt/mdc2.h:67:10: fatal error: openssl/des.h: No such file or directory
#include <openssl/des.h>
^~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:421: build/arm-openwrt-linux-muslgnueabi/cscrypt/mdc2.o] Error 1
make[1]: *** Waiting for unfinished jobs....
CC cscrypt/sha256.c
CC csctapi/atr.c
make: *** [Makefile:377: all] Error 2
Display More
I cannot solve the problem with openssl.
I've installed all *-dev packages, but again without success.
I will appreciate any help!
Installed SDK : openwrt-sdk-21.02.1-ipq806x-generic_gcc-8.4.0_musl_eabi.Linux-x86_64.tar.xz
Router : Netgear R7500 v1, (platform IPQ8064)
Thank you in advance!