Hallo Wolfgang,
minisatip kann ich inzwischen für Ubuntu ohne weiteres compilieren fur VDR mit Netceiver support. Haber unter /opt:
-MCLI habe ich von :
https://projects.vdr-developer.org/git/vdr-plugin-mcli.git/
wie Du vorgeschlagen hast
-Minisatip :
git clone git://github.com/catalinii/minisatip.git
-Toolchain: mipsel-tuxbox-linux-gnu
Mein Ziel ist jetzt eine Minisatip mit Netceiver Suport zu bauen für eine VUPLUS box (Mipsel). Mit der Toolchain kann ich ein crosscompile Minisatip machen für VU ohne Netceiver support.
sudo./configure CC=/opt/cross/mipsel-tuxbox-linux-gnu/bin/mipsel-tuxbox-linux-gnu-gcc --host=mips --enable-netceiver=yes --with-mcli=/opt/minisatip/vdr-plugin-mcli --with-xml2=/usr/include/libxml2
Wenn ich diesen aktiviere unter Minisatip MAKEFILE fehlt natürlich libmcli für mipsel
root@BM2LTSR66MSvex:/opt/minisatip# make
/opt/cross/mipsel-tuxbox-linux-gnu/bin/mipsel-tuxbox-linux-gnu-gcc -ggdb -fPIC -I. -I../vdr-mcli-plugin/mcast/client -I../vdr-mcli-plugin/mcast/common -I/usr/include/libxml2 -DDISABLE_DVBCA -o minisatip minisatip.o socketworks.o stream.o adapter.o utils.o aes.o csa.o dvb**i.o tables.o satipc.o netceiver.o dvb.o -lpthread -lrt -lmcli -lxml2 -lcrypto -ldvbcsa -ldvbcsa
/opt/cross/mipsel-tuxbox-linux-gnu/bin/../lib/gcc/mipsel-tuxbox-linux-gnu/4.8.1/../../../../mipsel-tuxbox-linux-gnu/bin/ld: skipping incompatible /opt/cross/mipsel-tuxbox-linux-gnu/bin/../lib/gcc/mipsel-tuxbox-linux-gnu/4.8.1/libmcli.so when searching for -lmcli
/opt/cross/mipsel-tuxbox-linux-gnu/bin/../lib/gcc/mipsel-tuxbox-linux-gnu/4.8.1/../../../../mipsel-tuxbox-linux-gnu/bin/ld: skipping incompatible /opt/cross/mipsel-tuxbox-linux-gnu/bin/../lib/gcc/mipsel-tuxbox-linux-gnu/4.8.1/../../../../mipsel-tuxbox-linux-gnu/lib/libmcli.so when searching for -lmcli
/opt/cross/mipsel-tuxbox-linux-gnu/bin/../lib/gcc/mipsel-tuxbox-linux-gnu/4.8.1/../../../../mipsel-tuxbox-linux-gnu/bin/ld: skipping incompatible /opt/cross/mipsel-tuxbox-linux-gnu/bin/../mipsel-tuxbox-linux-gnu/sysroot/lib/libmcli.so when searching for -lmcli
/opt/cross/mipsel-tuxbox-linux-gnu/bin/../lib/gcc/mipsel-tuxbox-linux-gnu/4.8.1/../../../../mipsel-tuxbox-linux-gnu/bin/ld: skipping incompatible /opt/cross/mipsel-tuxbox-linux-gnu/bin/../mipsel-tuxbox-linux-gnu/sysroot/usr/lib/libmcli.so when searching for -lmcli
/opt/cross/mipsel-tuxbox-linux-gnu/bin/../lib/gcc/mipsel-tuxbox-linux-gnu/4.8.1/../../../../mipsel-tuxbox-linux-gnu/bin/ld: skipping incompatible /opt/cross/mipsel-tuxbox-linux-gnu/bin/../mipsel-tuxbox-linux-gnu/sysroot/lib/libmcli.so when searching for -lmcli
/opt/cross/mipsel-tuxbox-linux-gnu/bin/../lib/gcc/mipsel-tuxbox-linux-gnu/4.8.1/../../../../mipsel-tuxbox-linux-gnu/bin/ld: skipping incompatible /opt/cross/mipsel-tuxbox-linux-gnu/bin/../mipsel-tuxbox-linux-gnu/sysroot/usr/lib/libmcli.so when searching for -lmcli
/opt/cross/mipsel-tuxbox-linux-gnu/bin/../lib/gcc/mipsel-tuxbox-linux-gnu/4.8.1/../../../../mipsel-tuxbox-linux-gnu/bin/ld: cannot find -lmcli
/opt/cross/mipsel-tuxbox-linux-gnu/bin/../lib/gcc/mipsel-tuxbox-linux-gnu/4.8.1/../../../../mipsel-tuxbox-linux-gnu/bin/ld: cannot find -lxml2
collect2: error: ld returned 1 exit status
make: *** [minisatip] Fehler 1
Display More
Müsste also zuerst noch mit der Toolchain crosscompile die LIBMCLI für mipsel bauen. (Ev. auch Libxml?)
Ich habe mir mal Makefile von MCLI angesehen, man kann dort wohl auch ARCH:mipsel einstellen .
/opt/vdr-plugin-mcli/mcast/client# make ARCH=mipsel
make libmcli
make[1]: Verzeichnis »/opt/vdr-plugin-mcli/mcast/client« wird betreten
cc -c -fPIC -Wall -I../common -DCLIENT -DLIBRARY -D_REENTRANT -D_GNU_SOURCE -DMIPSEL -DAPI_SOCK -I../dvbloop -O3 -o mld_common.o mld_common.c
In file included from headers.h:12:0,
from mld_common.c:9:
../common/defs.h:232:29: fatal error: libxml/encoding.h: Datei oder Verzeichnis nicht gefunden
#include <libxml/encoding.h>
^
compilation terminated.
make[1]: *** [mld_common.o] Fehler 1
make[1]: Verzeichnis »/opt/vdr-plugin-mcli/mcast/client« wird verlassen
make: *** [all] Fehler 2
Display More
es fehlt jetzt libxml/encoding.h, diese ist zwar vorhanden, habe diese nach USR/INCLUDE kopiert
dann :
root@BM2LTSR66MSvex:/opt/minisatip# cd /opt/vdr-plugin-mcli/mcast/client
root@BM2LTSR66MSvex:/opt/vdr-plugin-mcli/mcast/client# make ARCH=mipsel
make libmcli
make[1]: Verzeichnis »/opt/vdr-plugin-mcli/mcast/client« wird betreten
cc -c -fPIC -Wall -I../common -DCLIENT -DLIBRARY -D_REENTRANT -D_GNU_SOURCE -DMIPSEL -DAPI_SOCK -I../dvbloop -O3 -o mld_common.o mld_common.c
cc -c -fPIC -Wall -I../common -DCLIENT -DLIBRARY -D_REENTRANT -D_GNU_SOURCE -DMIPSEL -DAPI_SOCK -I../dvbloop -O3 -o mld_client.o mld_client.c
cc -c -fPIC -Wall -I../common -DCLIENT -DLIBRARY -D_REENTRANT -D_GNU_SOURCE -DMIPSEL -DAPI_SOCK -I../dvbloop -O3 -o mld_reporter.o mld_reporter.c
cc -c -fPIC -Wall -I../common -DCLIENT -DLIBRARY -D_REENTRANT -D_GNU_SOURCE -DMIPSEL -DAPI_SOCK -I../dvbloop -O3 -o mcast.o mcast.c
cc -c -fPIC -Wall -I../common -DCLIENT -DLIBRARY -D_REENTRANT -D_GNU_SOURCE -DMIPSEL -DAPI_SOCK -I../dvbloop -O3 -o recv_tv.o recv_tv.c
cc -c -fPIC -Wall -I../common -DCLIENT -DLIBRARY -D_REENTRANT -D_GNU_SOURCE -DMIPSEL -DAPI_SOCK -I../dvbloop -O3 -o recv_ccpp.o recv_ccpp.c
cc -c -fPIC -Wall -I../common -DCLIENT -DLIBRARY -D_REENTRANT -D_GNU_SOURCE -DMIPSEL -DAPI_SOCK -I../dvbloop -O3 -o tools.o tools.c
cc -c -fPIC -Wall -I../common -DCLIENT -DLIBRARY -D_REENTRANT -D_GNU_SOURCE -DMIPSEL -DAPI_SOCK -I../dvbloop -O3 -o tca_handler.o tca_handler.c
cc -c -fPIC -Wall -I../common -DCLIENT -DLIBRARY -D_REENTRANT -D_GNU_SOURCE -DMIPSEL -DAPI_SOCK -I../dvbloop -O3 -o tra_handler.o tra_handler.c
cc -c -fPIC -Wall -I../common -DCLIENT -DLIBRARY -D_REENTRANT -D_GNU_SOURCE -DMIPSEL -DAPI_SOCK -I../dvbloop -O3 -o satlists.o satlists.c
cc -c -fPIC -Wall -I../common -DCLIENT -DLIBRARY -D_REENTRANT -D_GNU_SOURCE -DMIPSEL -DAPI_SOCK -I../dvbloop -O3 -o interfaces.o interfaces.c
cc -c -fPIC -Wall -I../common -DCLIENT -DLIBRARY -D_REENTRANT -D_GNU_SOURCE -DMIPSEL -DAPI_SOCK -I../dvbloop -O3 -o api_server.o api_server.c
cc -c -fPIC -Wall -I../common -DCLIENT -DLIBRARY -D_REENTRANT -D_GNU_SOURCE -DMIPSEL -DAPI_SOCK -I../dvbloop -O3 -o ciparser.o ciparser.c
cc -c -fPIC -Wall -I../common -DCLIENT -DLIBRARY -D_REENTRANT -D_GNU_SOURCE -DMIPSEL -DAPI_SOCK -I../dvbloop -O3 -o ci_handler.o ci_handler.c
cc -c -fPIC -Wall -I../common -DCLIENT -DLIBRARY -D_REENTRANT -D_GNU_SOURCE -DMIPSEL -DAPI_SOCK -I../dvbloop -O3 -o mmi_handler.o mmi_handler.c
cc -shared -o libmcli.so mld_common.o mld_client.o mld_reporter.o mcast.o recv_tv.o recv_ccpp.o tools.o tca_handler.o tra_handler.o satlists.o interfaces.o api_server.o ciparser.o ci_handler.o mmi_handler.o -lpthread -lz -lm
ar rv libmcli.a mld_common.o mld_client.o mld_reporter.o mcast.o recv_tv.o recv_ccpp.o tools.o tca_handler.o tra_handler.o satlists.o interfaces.o api_server.o ciparser.o ci_handler.o mmi_handler.o
ar: Erzeugen von libmcli.a
a - mld_common.o
a - mld_client.o
a - mld_reporter.o
a - mcast.o
a - recv_tv.o
a - recv_ccpp.o
a - tools.o
a - tca_handler.o
a - tra_handler.o
a - satlists.o
a - interfaces.o
a - api_server.o
a - ciparser.o
a - ci_handler.o
a - mmi_handler.o
make[1]: Verzeichnis »/opt/vdr-plugin-mcli/mcast/client« wird verlassen
make mcli-shared
make[1]: Verzeichnis »/opt/vdr-plugin-mcli/mcast/client« wird betreten
cc -shared -o libmcli.so mld_common.o mld_client.o mld_reporter.o mcast.o recv_tv.o recv_ccpp.o tools.o tca_handler.o tra_handler.o satlists.o interfaces.o api_server.o ciparser.o ci_handler.o mmi_handler.o -lpthread -lz -lm
ar rv libmcli.a mld_common.o mld_client.o mld_reporter.o mcast.o recv_tv.o recv_ccpp.o tools.o tca_handler.o tra_handler.o satlists.o interfaces.o api_server.o ciparser.o ci_handler.o mmi_handler.o
r - mld_common.o
r - mld_client.o
r - mld_reporter.o
r - mcast.o
r - recv_tv.o
r - recv_ccpp.o
r - tools.o
r - tca_handler.o
r - tra_handler.o
r - satlists.o
r - interfaces.o
r - api_server.o
r - ciparser.o
r - ci_handler.o
r - mmi_handler.o
cc -c -fPIC -Wall -I../common -DCLIENT -DLIBRARY -D_REENTRANT -D_GNU_SOURCE -DMIPSEL -DAPI_SOCK -I../dvbloop -O3 -ULIBRARY -o main.o main.c
cc -c -fPIC -Wall -I../common -DCLIENT -DLIBRARY -D_REENTRANT -D_GNU_SOURCE -DMIPSEL -DAPI_SOCK -I../dvbloop -O3 -ULIBRARY -o input.o input.c
cc -c -fPIC -Wall -I../common -DCLIENT -DLIBRARY -D_REENTRANT -D_GNU_SOURCE -DMIPSEL -DAPI_SOCK -I../dvbloop -O3 -ULIBRARY -o dvblo_handler.o dvblo_handler.c
cc -o mcli-shared main.o dvblo_handler.o input.o -lpthread -lz -lm -L. -lmcli
./libmcli.so: Nicht definierter Verweis auf `xmlFreeDoc'
./libmcli.so: Nicht definierter Verweis auf `xmlGetProp'
./libmcli.so: Nicht definierter Verweis auf `xmlCheckVersion'
./libmcli.so: Nicht definierter Verweis auf `xmlStrcmp'
./libmcli.so: Nicht definierter Verweis auf `xmlCleanupParser'
./libmcli.so: Nicht definierter Verweis auf `xmlMemoryDump'
./libmcli.so: Nicht definierter Verweis auf `UTF8Toisolat1'
./libmcli.so: Nicht definierter Verweis auf `xmlKeepBlanksDefault'
./libmcli.so: Nicht definierter Verweis auf `xmlNodeListGetString'
./libmcli.so: Nicht definierter Verweis auf `xmlReadMemory'
./libmcli.so: Nicht definierter Verweis auf `xmlFree'
./libmcli.so: Nicht definierter Verweis auf `xmlDocGetRootElement'
./libmcli.so: Nicht definierter Verweis auf `xmlParseMemory'
collect2: error: ld returned 1 exit status
make[1]: *** [mcli-shared] Fehler 1
make[1]: Verzeichnis »/opt/vdr-plugin-mcli/mcast/client« wird verlassen
make: *** [all] Fehler 2
Display More
Nun komme ich nicht so weiter, müsste ich auch libxml für MIPSEL kompilieren oder müsste ich unter VDR-PLUGIN-MCLI/MCAST/CLIENT make ARCH=mipsel noch eine toolchain angeben?
Konnte es inzwischen lösen Danke!
Grüsse
Vento