Also some Qnap nas boxes uses same type of CPU or atleast Oscam can run with a Coolstream compilation https://rodezio.wordpress.com/2014/05/16/oscam-on-qnap/ so might work with some ARM routers too.
In my case I have an old Hypercube that runs Enigma2, Oscam compilations for the PrismCube runs fine on the HyperCube (Compiled with arm-marvell-linux-gnueabi cross compiler that I have not found), however the Coolstream compilations of Oscam also runs fine provided I put http://www.streamboard.tv/oscam/attachment/wiki/crosscompiling/libnxp.so.gz in /usr/lib in the box, so I guess a compilation with the Coolstream cross compiler ( http://streamboard.de.vu/wbb2/tut-pics/toolchains/Toolchain-cross-arm-cx2450x-linux-gnueabi.tar.bz2 ) should work for Minisatip too.
So far I've setup the cross compiler and tried to make a compilation.
Code: Select all
xxx@lubuntu:/minisatip# ./configure CC=/opt/cross_arm/arm-cx2450x-linux-gnueabi/bin/arm-cx2450x-linux-gnueabi-gcc --host=arm --enable-static
checking for arm-gcc... /opt/cross_arm/arm-cx2450x-linux-gnueabi/bin/arm-cx2450x-linux-gnueabi-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /opt/cross_arm/arm-cx2450x-linux-gnueabi/bin/arm-cx2450x-linux-gnueabi-gcc accepts -g... yes
checking for /opt/cross_arm/arm-cx2450x-linux-gnueabi/bin/arm-cx2450x-linux-gnueabi-gcc option to accept ISO C89... none needed
checking for main in -lrt... yes
checking how to run the C preprocessor... /opt/cross_arm/arm-cx2450x-linux-gnueabi/bin/arm-cx2450x-linux-gnueabi-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking for int16_t... yes
checking for int64_t... yes
checking for int8_t... yes
checking for size_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... no
checking for bzero... yes
checking for clock_gettime... yes
checking for dup2... yes
checking for gethostbyname... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for memset... yes
checking for munmap... yes
checking for socket... yes
checking for strchr... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strstr... yes
configure: == Checking LINUX DVB ==
checking linux/dvb/frontend.h usability... yes
checking linux/dvb/frontend.h presence... yes
checking for linux/dvb/frontend.h... yes
configure: == Checking DVBEN50221 ==
checking libdvben50221/en50221_app_dvb.h usability... no
checking libdvben50221/en50221_app_dvb.h presence... no
checking for libdvben50221/en50221_app_dvb.h... no
configure: == Checking OpenSSL ==
checking openssl/aes.h usability... yes
checking openssl/aes.h presence... yes
checking for openssl/aes.h... yes
configure: == Checking Embedded ==
checking for backtrace... yes
configure: == Checking DVBCSA ==
checking dvbcsa/dvbcsa.h usability... no
checking dvbcsa/dvbcsa.h presence... no
checking for dvbcsa/dvbcsa.h... no
configure: == Checking NETCVCLIENT ==
checking netceiver.h usability... cat: confdefs.h: No such file or directory
no
checking netceiver.h presence... cat: confdefs.h: No such file or directory
no
checking for netceiver.h... no
configure: creating ./config.status
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating Makefile
minisatip configuration
Linux DVB: enabled
Common Interface (needs DVBEN50221): disabled
OpenSSL (AES as part of DVBAPI): enabled
Embedded system: disabled
DVBCSA (needs libdvbcsa): disabled
Netceiver support: disabled
SatIP Client: enabled
Static: enabled
dvbapi: enabled
axe: disabled
enigma: disabled
Code: Select all
xxx@lubuntu:/minisatip# make
make -C src
make[1]: Entering directory `/minisatip/src'
In file included from dvb.c:39:
dvb.h:32:2: error: #error minisatip requires Linux DVB driver API version 5.0 or higher!
In file included from stream.h:6,
from minisatip.h:6,
from adapter.h:3,
from dvbapi.h:5,
from satipc.c:43:
dvb.h:32:2: error: #error minisatip requires Linux DVB driver API version 5.0 or higher!
In file included from tables.c:41:
dvb.h:32:2: error: #error minisatip requires Linux DVB driver API version 5.0 or higher!
In file included from pmt.c:42:
dvb.h:32:2: error: #error minisatip requires Linux DVB driver API version 5.0 or higher!
In file included from dvbapi.c:42:
dvb.h:32:2: error: #error minisatip requires Linux DVB driver API version 5.0 or higher!
In file included from aes.c:42:
dvb.h:32:2: error: #error minisatip requires Linux DVB driver API version 5.0 or higher!
In file included from utils.c:50:
dvb.h:32:2: error: #error minisatip requires Linux DVB driver API version 5.0 or higher!
In file included from adapter.c:33:
dvb.h:32:2: error: #error minisatip requires Linux DVB driver API version 5.0 or higher!
In file included from stream.h:6,
from minisatip.h:6,
from stream.c:40:
dvb.h:32:2: error: #error minisatip requires Linux DVB driver API version 5.0 or higher!
In file included from stream.h:6,
from minisatip.h:6,
from socketworks.c:42:
dvb.h:32:2: error: #error minisatip requires Linux DVB driver API version 5.0 or higher!
In file included from stream.h:6,
from minisatip.h:6,
from minisatip.c:21:
dvb.h:32:2: error: #error minisatip requires Linux DVB driver API version 5.0 or higher!
make[1]: Leaving directory `/minisatip/src'
make[1]: Entering directory `/minisatip/src'
/opt/cross_arm/arm-cx2450x-linux-gnueabi/bin/arm-cx2450x-linux-gnueabi-gcc -Wall -Wno-switch -ggdb -fPIC -DDISABLE_DVBCSA -DDISABLE_DVBCA -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -c minisatip.c -o ../build/minisatip.o
In file included from stream.h:6,
from minisatip.h:6,
from minisatip.c:21:
dvb.h:32:2: error: #error minisatip requires Linux DVB driver API version 5.0 or higher!
In file included from stream.h:6,
from minisatip.h:6,
from minisatip.c:21:
dvb.h:206: error: expected specifier-qualifier-list before 'fe_delivery_system_t'
dvb.h:260: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dvb_delsys'
In file included from minisatip.c:43:
adapter.h:25: error: expected declaration specifiers or '...' before '*' token
adapter.h:26: error: expected declaration specifiers or '...' before 'fe_delivery_system_t'
adapter.h:26: warning: type defaults to 'int' in declaration of 'fe_delivery_system_t'
adapter.h:26: error: 'fe_delivery_system_t' declared as function returning a function
adapter.h:48: error: declaration of 'sys' as array of functions
adapter.h:96: error: expected specifier-qualifier-list before 'Dvb_delsys'
make[1]: *** [../build/minisatip.o] Error 1
make[1]: Leaving directory `/minisatip/src'
make: *** [minisatip] Error 2
Also how do I enable DVBEN50221 and DVBCSA, I guess I do that in the cross compiler?
The Oscam cross compiler for MIPS (dm800hd/VU/gigablue), does work to compile a working static version (no DVBEN50221 or DVBCSA though) of Minisatip without any problems...
Any clues how to make this compile for the ARM?
Thanks in advance and best regards!