vdr-plugin-image

  • Hallo,


    ich möchte unter vdr 2.0 das Image plugin nutzen. Bei e-tobi gibt es das Plugin für wheezy nicht mehr zum runterladen, deshalb versuche ich es selbst zu übersetzen. Dabei kommen folgende Fehler:


    g++ -D__STDC_CONSTANT_MACROS -I/usr/include/libexif -shared image.o data.o menu.o data-image.o menu-image.o setup-image.o player-image.o control-image.o commands.o menu-commands.o list.o exif.o liboutput/liboutput.a libimage/libimage.a -lavformat -lavcodec -lswscale -lexif -o libvdr-image.so
    /usr/bin/ld: image.o: relocation R_X86_64_32 against `ImageSetup' can not be used when making a shared object; recompile with -fPIC
    image.o: could not read symbols: Bad value
    collect2: error: ld returned 1 exit status
    make[2]: *** [libvdr-image.so] Fehler 1
    make[2]: Leaving directory `/usr/local/src/image/vdr-image-0.4.0'
    dh_auto_build: make -j1 all VDRDIR=/usr/include/vdr LIBDIR=. LOCALEDIR=locale returned exit code 2
    make[1]: *** [override_dh_auto_build] Fehler 2
    make[1]: Leaving directory `/usr/local/src/image/vdr-image-0.4.0'
    make: *** [build] Fehler 2
    dpkg-buildpackage: Fehler: Fehler-Exitstatus von debian/rules build war 2
    root@hdvdr:/usr/local/src/image/vdr-image-0.4.0#


    Was mache ich falsch?


    MFG
    Mario.

    HD-VDR: Activy 570 Gehäuse, MSI 880GMA-E55, AMD Athlon II X2 245, DIMM 4GB DDR3-1066, WD Red NAS-Festplatte 4 TB, TT S2-6400, Debian GNU/Linux 12 (bookworm), VDR 2.6.0

  • Versuch mal vorm Kompileiren sowas: export CXXFLAGS="$CXXFLAGS -fPIC"


    Oder im Makefile ändern.

    - Client1: Thermaltake DH 102 mit 7" TouchTFT * Debian Stretch/vdr-2.4.0/graphtft/MainMenuHooks-Patch * Zotac H55-ITX WiFi * Core i3 540 * 4GB RAM ** Zotac GT630 * 1 TB System HDD * 4 GB RAM * Harmony 900 * satip-Plugin

    - Client2: Alfawise H96 Pro Plus * KODI
    - Server: Intel Pentium G3220 * DH87RL * 16GB RAM * 4x4TB 3.5" WD RED + 1x500GB 2.5" * satip-Plugin
    - SAT>IP: Inverto iLNB

  • Versuch mal vorm Kompileiren sowas: export CXXFLAGS="$CXXFLAGS -fPIC"


    Hat leider nichts gebracht, immer noch die gleiche Meldung:


    g++ -D__STDC_CONSTANT_MACROS -I/usr/include/libexif -shared image.o data.o menu.o data-image.o menu-image.o setup-image.o player-image.o control-image.o commands.o menu-commands.o list.o exif.o liboutput/liboutput.a libimage/libimage.a -lavformat -lavcodec -lswscale -lexif -o libvdr-image.so
    /usr/bin/ld: image.o: relocation R_X86_64_32 against `ImageSetup' can not be used when making a shared object; recompile with -fPIC
    image.o: could not read symbols: Bad value
    collect2: error: ld returned 1 exit status
    make[2]: *** [libvdr-image.so] Fehler 1
    make[2]: Leaving directory `/usr/local/src/image/vdr-image-0.4.0'
    dh_auto_build: make -j1 all VDRDIR=/usr/include/vdr LIBDIR=. LOCALEDIR=locale returned exit code 2
    make[1]: *** [override_dh_auto_build] Fehler 2
    make[1]: Leaving directory `/usr/local/src/image/vdr-image-0.4.0'
    make: *** [build] Fehler 2
    dpkg-buildpackage: Fehler: Fehler-Exitstatus von debian/rules build war 2
    root@hdvdr:/usr/local/src/image/vdr-image-0.4.0#

    HD-VDR: Activy 570 Gehäuse, MSI 880GMA-E55, AMD Athlon II X2 245, DIMM 4GB DDR3-1066, WD Red NAS-Festplatte 4 TB, TT S2-6400, Debian GNU/Linux 12 (bookworm), VDR 2.6.0

  • live Plugin lässt sich nicht bauen auf 64Bit System


    Vielleicht dann so:


    Code
    export CC="gcc -fPIC"
    export CXX="g++ -fPIC"

    - Client1: Thermaltake DH 102 mit 7" TouchTFT * Debian Stretch/vdr-2.4.0/graphtft/MainMenuHooks-Patch * Zotac H55-ITX WiFi * Core i3 540 * 4GB RAM ** Zotac GT630 * 1 TB System HDD * 4 GB RAM * Harmony 900 * satip-Plugin

    - Client2: Alfawise H96 Pro Plus * KODI
    - Server: Intel Pentium G3220 * DH87RL * 16GB RAM * 4x4TB 3.5" WD RED + 1x500GB 2.5" * satip-Plugin
    - SAT>IP: Inverto iLNB

  • Hallo,


    export CC="gcc -fPIC"
    export CXX="g++ -fPIC"


    bauen scheint jetzt zu gehen, aber nun fällt es beim dh_install Skript raus:


    install -D -m644 po/tr_TR.mo /usr/local/src/image/vdr-plugin-image-0.4.0/debian/vdr-plugin-vdr-image/usr/share/locale/tr_TR/LC_MESSAGES/vdr-image.mo
    install -D -m644 po/uk_UA.mo /usr/local/src/image/vdr-plugin-image-0.4.0/debian/vdr-plugin-vdr-image/usr/share/locale/uk_UA/LC_MESSAGES/vdr-image.mo
    make[1]: Leaving directory `/usr/local/src/image/vdr-plugin-image-0.4.0'
    dh_install
    dh_install: vdr-plugin-vdr-image missing files (libvdr-vdr-image.so.*), aborting
    make: *** [binary] Fehler 2
    dpkg-buildpackage: Fehler: Fehler-Exitstatus von fakeroot debian/rules binary war 2
    root@hdvdr:/usr/local/src/image/vdr-plugin-image-0.4.0# ls -l lib
    libimage/ liboutput/ libvdr-image.so
    root@hdvdr:/usr/local/src/image/vdr-plugin-image-0.4.0# ls -l lib


    Gruß
    Mario.

    HD-VDR: Activy 570 Gehäuse, MSI 880GMA-E55, AMD Athlon II X2 245, DIMM 4GB DDR3-1066, WD Red NAS-Festplatte 4 TB, TT S2-6400, Debian GNU/Linux 12 (bookworm), VDR 2.6.0

  • Dann pass halt debian/install an, mit dem neuen Makefile-System werden die Plugin-Library und die Übersetzungsdateien automatisch an den Zielort kopiert.

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • Mit Debian-Paketen kenne ich mich nicht aus, aber das hier sieht komisch aus:


    Code
    (libvdr-vdr-image.so.*)

    - Client1: Thermaltake DH 102 mit 7" TouchTFT * Debian Stretch/vdr-2.4.0/graphtft/MainMenuHooks-Patch * Zotac H55-ITX WiFi * Core i3 540 * 4GB RAM ** Zotac GT630 * 1 TB System HDD * 4 GB RAM * Harmony 900 * satip-Plugin

    - Client2: Alfawise H96 Pro Plus * KODI
    - Server: Intel Pentium G3220 * DH87RL * 16GB RAM * 4x4TB 3.5" WD RED + 1x500GB 2.5" * satip-Plugin
    - SAT>IP: Inverto iLNB

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!