I installed the azbox toolchain (smp86xx_toolchain_2.8.0.1). I can compile the sample programs like mwkeytest but I still can't compile oscam for the azbox:
Code:
$ source /DATA/Yellow/Working/SigmaDesign8634/SMP8634-2805/smp86xx_toolchain_2.8.0.1/toolchain-path.env
$ cmake -DCMAKE_TOOLCHAIN_FILE=toolchains/toolchain-mips-azbox.cmake
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- pthread found. Adding pthread support
-- Looking for openssl/aes.h
-- Looking for openssl/aes.h - found
-- Looking for openssl/sha.h
-- Looking for openssl/sha.h - found
-- Looking for time.h
-- Looking for time.h - found
-- librt found (needed by libusb).
-- Looking for libusb-1.0/libusb.h
-- Looking for libusb-1.0/libusb.h - not found
-- no libusb 1.0 found. No smartreader support
-- Looking for PCSC/wintypes.h
-- Looking for PCSC/wintypes.h - found
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
--
-- operating system: Linux
-- system type: unknown-pc-linux
-- system: linux
-- cpu: unknown
-- hw: pc
-- use system aes functions
-- use system sha functions
-- use system pcsc functions
-- use system pthread functions
--
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/oscam
$ make
[ 1%] Building C object CMakeFiles/csmodules.dir/module-radegast.o
[ 1%] Built target svnversion-log
[ 3%] Building C object CMakeFiles/csreaders.dir/reader-cryptoworks.o
[ 4%] Building C object CMakeFiles/csmodules.dir/module-constcw.o
[ 6%] Building C object CMakeFiles/csmodules.dir/module-monitor.o
[ 7%] Building C object CMakeFiles/csreaders.dir/reader-tongfang.o
[ 9%] Building C object CMakeFiles/csreaders.dir/reader-irdeto.o
[ 10%] Building C object CMakeFiles/csreaders.dir/reader-nagra.o
[ 12%] Building C object CMakeFiles/csmodules.dir/module-camd33.o
[ 13%] Building C object CMakeFiles/csmodules.dir/module-serial.o
[ 15%] Building C object CMakeFiles/csreaders.dir/reader-videoguard2.o
[ 16%] Building C object CMakeFiles/csreaders.dir/reader-videoguard1.o
[ 18%] Building C object CMakeFiles/csreaders.dir/reader-conax.o
[ 20%] Building C object CMakeFiles/csmodules.dir/module-camd35.o
[ 21%] Building C object CMakeFiles/csreaders.dir/reader-common.o
[ 23%] Building C object CMakeFiles/csreaders.dir/reader-seca.o
[ 24%] Building C object CMakeFiles/csmodules.dir/module-cccam.o
[ 26%] Building C object CMakeFiles/csreaders.dir/reader-videoguard12.o
[ 27%] Building C object CMakeFiles/csreaders.dir/reader-viaccess.o
[ 29%] Building C object CMakeFiles/csreaders.dir/reader-dre.o
[ 30%] Building C object CMakeFiles/csreaders.dir/reader-videoguard-common.o
Linking C static library libcsreaders.a
[ 30%] Built target csreaders
[ 32%] Building C object CMakeFiles/csmodules.dir/module-dvbapi.o
[ 33%] Building C object CMakeFiles/csmodules.dir/module-newcamd.o
[ 35%] Building C object CMakeFiles/csmodules.dir/module-stat.o
[ 36%] Building C object CMakeFiles/csmodules.dir/module-obj-llist.o
[ 36%] Built target svnversion
[ 38%] Building C object csctapi/CMakeFiles/csctapi.dir/io_serial.o
Linking C static library libcsmodules.a
[ 38%] Built target csmodules
[ 40%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_mp35.o
[ 41%] Building C object cscrypt/CMakeFiles/cscrypt.dir/i_cbc.o
[ 43%] Building C object csctapi/CMakeFiles/csctapi.dir/protocol_t1.o
[ 44%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_mul.o
[ 46%] Building C object csctapi/CMakeFiles/csctapi.dir/atr.o
[ 47%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_shift.o
[ 49%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_print.o
[ 50%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_phoenix.o
[ 52%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_add.o
[ 53%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_sc8in1.o
[ 55%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_smartreader.o
[ 56%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_cool.o
[ 58%] [ 60%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_word.o
Building C object csctapi/CMakeFiles/csctapi.dir/ifd_azbox.o
[ 61%] Building C object cscrypt/CMakeFiles/cscrypt.dir/crc32.o
[ 63%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_exp.o
[ 64%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_lib.o
[ 66%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_sci.o
[ 67%] Building C object csctapi/CMakeFiles/csctapi.dir/protocol_t0.o
[ 69%] Building C object cscrypt/CMakeFiles/cscrypt.dir/mem.o
[ 70%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_div.o
[ 72%] Building C object csctapi/CMakeFiles/csctapi.dir/t1_block.o
[ 73%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_ctx.o
[ 75%] Building C object csctapi/CMakeFiles/csctapi.dir/icc_async.o
[ 76%] Building C object cscrypt/CMakeFiles/cscrypt.dir/md5.o
[ 78%] Building C object cscrypt/CMakeFiles/cscrypt.dir/des.o
[ 80%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_pcsc.o
[ 81%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_asm.o
Linking C static library libcsctapi.a
[ 81%] Built target csctapi
[ 83%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_sqr.o
[ 84%] Building C object cscrypt/CMakeFiles/cscrypt.dir/i_skey.o
Scanning dependencies of target csoscam
[ 86%] Building C object CMakeFiles/csoscam.dir/oscam-reader.o
[ 87%] Building C object CMakeFiles/csoscam.dir/oscam-chk.o
[ 89%] Building C object CMakeFiles/csoscam.dir/oscam-http-helpers.o
[ 90%] Building C object CMakeFiles/csoscam.dir/oscam-ac.o
[ 92%] Building C object CMakeFiles/csoscam.dir/oscam-nano.o
[ 93%] Building C object CMakeFiles/csoscam.dir/oscam-log.o
[ 95%] Building C object CMakeFiles/csoscam.dir/oscam-config.o
Linking C static library libcscrypt.a
[ 95%] Built target cscrypt
[ 96%] Building C object CMakeFiles/csoscam.dir/oscam-http.o
[ 98%] Building C object CMakeFiles/csoscam.dir/os*****imples.o
Linking C static library libcsoscam.a
[ 98%] Built target csoscam
Scanning dependencies of target oscam
[100%] Building C object CMakeFiles/oscam.dir/oscam.o
Linking C executable oscam
[100%] Built target oscam
$ file oscam
oscam: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), for GNU/Linux 2.6.8, dynamically linked (uses shared libs), stripped
It's compiled for linux, not for the azbox.
What am I doing wrong?
Bookmarks