Oscam compile how to?

Question & Answer
Post Reply
joker@
Posts: 3
Joined: Fri Sep 15, 2017 12:13 am

Oscam compile how to?

Post by joker@ » Mon Oct 02, 2017 2:29 pm

Hi
Just wondering is there anyone who can explain how to do it as I was trying couple time with multiple errors results. No problem to compile oscam binary for linux, arm debian version but for Android Hisilicon.sky compleatly no luck. Those version for debian android cant recognize dvbapi of our box so is almost useless.

Regards

User avatar
Michu7
Posts: 20
Joined: Fri Nov 03, 2017 9:30 pm

Re: Oscam compile how to?

Post by Michu7 » Tue Nov 21, 2017 7:49 pm

According to this:
I did clone repo form github.com but according to this:
HiOSCAM

His OSCAM

How to compile OSCAM for U5/U4 Quad

download github files and modify oscam.source
Use Ubuntu 14.04 to compile
U5 model : ./make-u5.sh
After compiling it, related OSCAM files will be located "u5.release" folder for U5 or "u5.release" for U4 Quad.
copy all files in u5.release or u4.release folder to /system/oscam folder in box.
reboot box then you can use own your OSCAM.
How I should modify, which file and where?

After make steps according the first link, I have got error like this:
michal@michal-VirtualBox:~/HiOSCAM$ ./make-u5.sh
/home/michal/HiOSCAM/android9-gcc4.8-toolchain/bin:/home/michal/HiOSCAM/arm-histbv310-linux/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

RM build/-his
RM tests
make --no-print-directory \
LIB_RT= \
LIB_PTHREAD= \
CROSS=arm-linux-androideabi- \
USE_HISKY=1 \
--jobserver-fds=3,4 -j -- HISKY_FLAGS=-D__ARMEL__\ -I/home/michal/HiOSCAM/u5sdk/include\ -DWITH_HISILICON=1\ -DSDKV600\ -DSDKV660\ -DSDK3798C HISKY_LIB=-L/home/michal/HiOSCAM/u5sdk/lib\ -lhi_msp\ -lhi_common
+-------------------------------------------------------------------------------
| OSCam ver: 1.20.sky rev: 0 target: -his
| Tools:
| CROSS = arm-linux-androideabi-
| CC = arm-linux-androideabi-gcc
| Settings:
| CONF_DIR = /data/oscam
| CC_OPTS = -fPIE
| CC_WARN = -W -Wall -Wshadow -Wredundant-decls -Wstrict-prototypes -Wold-style-definition -Wno-unused-function -Wno-unused-parameter
| CFLAGS = -D__ARMEL__ -I/home/michal/HiOSCAM/u5sdk/include -DWITH_HISILICON=1 -DSDKV600 -DSDKV660 -DSDK3798C
| LDFLAGS = -fPIE -pie -D__ARMEL__ -I/home/michal/HiOSCAM/u5sdk/include -DWITH_HISILICON=1 -DSDKV600 -DSDKV660 -DSDK3798C
| LIBS = -L/home/michal/HiOSCAM/u5sdk/lib -lhi_msp -lhi_common -ldl
| UseFlags = USE_HISKY=1
| Config:
| Addons : WEBIF WEBIF_LIVELOG WEBIF_JQUERY TOUCH HAVE_DVBAPI IRDETO_GUESSING CS_ANTICASC WITH_DEBUG MODULE_MONITOR WITH_LB CS_CACHEEX CW_CYCLE_CHECK
| Protocols: XCAS CAMD33 CAMD35 CAMD35_TCP NEWCAMD CCCAM CCCSHARE GBOX RADEGAST SCAM SERIAL CONSTCW PANDORA GHTTP
| Readers : NAGRA IRDETO CONAX CRYPTOWORKS SECA VIACCESS VIDEOGUARD DRE TONGFANG BULCRYPT GRIFFIN DGCRYPT
| CardRdrs : INTERNAL
| Compiler :
| Config : build/-his/config.mak
| Binary : Distribution/oscam-1.20.sky.0
+-------------------------------------------------------------------------------
GEN webif/pages.c
GEN Compressed 385720 template bytes into 160827 bytes. 224893 saved bytes (58.30%).
make[2]: arm-linux-androideabi-gcc: Polecenie nie znalezione
make[2]: *** [build/-his/cscrypt/aes.o] Błąd 127
make[1]: *** [all] Błąd 2
make: *** [android-arm-hisky] Błąd 2
SVN_REVISION:0

/home/michal/HiOSCAM/u5.release.........
How to set up environment, tell me please. :-)

Post Reply

Return to “User's Q&A”