help to compile oscam-emu for sh4-Stapi

shujah200

Registered
Messages
11
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
 

juli13

Staff member
Administrator
Messages
10,198
Try another sh4 oscam , does the problem occurs

Maybe the toolchain you use is not compatible with the receiver, just a thought
 

shujah200

Registered
Messages
11
Try another sh4 oscam , does the problem occurs

Maybe the toolchain you use is not compatible with the receiver, just a thought
yes toolchain error .

toolchain downloaded from s3 then use direct method not s3 method .
and after looking to compiling error log
fixed one by one
and at last
i have Compiled successfuly Thanks
 
Top