help to compile oscam-emu for sh4-Stapi

shujah200

Newbie
Registriert
1. November 2019
Beiträge
17
Reaktionspunkte
2
Punkte
235
i have compiled oscam for X86_64 on my PC.

now i want to compile oscam for my sh4-stapi-linux box from same oscam-svn.

please help in cross compiling

i have tried this ./s3 method but did not go well for me



compile completed but segmentation fault when try to run in stapi box



set : USE_UTF8=1

| set : USE_LIBCRYPTO=1

| set : USE_PATCH=1

| set : USE_STAPI=1

| LIB : liboscam_stapi.a

| set : CONF_DIR=/var/keys

| PATCH : apply oscam-emu.patch

| PATCH : apply patchv4.patch

| PATCH : done all ok

| PROFILE : sh4.profile

| ISPATCHED : YES

| MAX_CPUS : use 4 of 4 CPU(s)

| CONF_DIR : /var/keys

| UseFlags : USE_STAPI=1 USE_SSL=1 USE_LIBCRYPTO=1 USE_UTF8=1

| Addons : WEBIF LIVELOG JQUERY SSL DVBAPI READ_SDT IRDETO_GUESSING ANTICASC DEBUG LB CACHEEX CACHEEX_AIO CWCC

, Protocols: CAMD33 NEWCAMD CCCAM CCCSHARE

| Readers : NAGRA NAGRA_MERLIN IRDETO CONAX CRYPTOWORKS SECA VIACCESS VIDEOGUARD DRE TONGFANG BULCRYPT GRIFFIN DGCRYPT

| CardRdrs : INTERNAL STAPI

| Binary : /opt/s3/support/binaries/oscam-svn11714-sh4-webif-dvbapi-ssl-stapi
 
Zuletzt bearbeitet von einem Moderator:
by using Simplebuild 3

i have tried both sh4 and sh_4

Save one of the two patches ( oscam-stapi.patch , oscam-stapi-wi.patch ) in folder support/patches (without txt at the end)

Adjust toolchain.cfg in folder support/toolchain.cfg/TOOLCHAIN-NAME when using oscam-stapi.patch (old DVB API):

default_use="USE_UTF8 USE_LIBCRYPTO";

stapi_lib_custom="libwi.a";

Adjust toolchain.cfg in folder support/toolchain.cfg/TOOLCHAIN-NAME when using oscam-stapi-wi.patch (new DVB API):

default_use="USE_UTF8 USE_LIBCRYPTO USE_WI";

stapi_lib_custom="libwi2.a";

Perform SVN checkout: ./s3 checkout

oscam patch: ./s3 svnpatch

build oscam: ./s3 TOOLCHAIN-NAME -p=PROFILE-NAME or ./s3 menu

here is my profile

WEBIF LIVELOG JQUERY DVBAPI READ_SDT IRDETO_GUESSING ANTICASC DEBUG LB CACHEEX CACHEEX_AIO CWCC CAMD33 NEWCAMD CCCAM CCCSHARE NAGRA NAGRA_MERLIN IRDETO CONAX CRYPTOWORKS SECA VIACCESS VIDEOGUARD DRE TONGFANG BULCRYPT GRIFFIN DGCRYPT INTERNAL STAPI USE_PATCH USE_LIBCRYPTO USE__UTFAPITO.8._UTFAPITO



my box details attached
 

Anhänge

Sie müssen registriert sein, um die Liste der Anhänge zu sehen
Zuletzt bearbeitet von einem Moderator:
with dvbapi there is error at compiling end

CONF build/sh4-linux-stapi-ssl/config.c
LINK Distribution/oscam-1.20_svn11714-798-sh4-linux-stapi-ssl.debug
/opt/cross/sh4/bin/../lib/gcc/sh4-linux/4.6.3/../../../../sh4-linux/bin/ld: cannot find -loscam_stapi
collect2: ld returned 1 exit status
make[1]: *** [Makefile:437: Distribution/oscam-1.20_svn11714-798-sh4-linux-stapi-ssl.debug] Error 1
make: *** [Makefile:409: all] Error 2
 
Für die Nutzung dieser Website sind Cookies erforderlich. Du musst diese akzeptieren, um die Website weiter nutzen zu können. Erfahre mehr…