probleme beim Kompiliern von Plugins (amd64) (gelöst !!)

  • Hallo zusammen,


    ich den vdr nur ohne Plugins betreiben (gentoo für amd64). Jedes Mal beim Kompilieren von den Plugins erhalte ich untenstehende Fehlermeldung.


    Hat irgendjemand eine Idee?


    Vielen Dank schon einmal im Voraus.


    bash-2.05b# make plugins
    make[1]: Entering directory `/usr/local/vdr/vdr-1.3.17/PLUGINS/src/hello'
    g++ -O2 -Wall -Woverloaded-virtual -fPIC -shared hello.o i18n.o -o libvdr-hello.
    so
    /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: h
    ello.o: relocation R_X86_64_32S against `vtable for cMenuSetupHello' can not be
    used when making a shared object; recompile with -fPIC
    hello.o: could not read symbols: Bad value
    collect2: ld gab 1 als Ende-Status zurück
    make[1]: *** [libvdr-hello.so] Fehler 1
    make[1]: Leaving directory `/usr/local/vdr/vdr-1.3.17/PLUGINS/src/hello'
    make[1]: Entering directory `/usr/local/vdr/vdr-1.3.17/PLUGINS/src/osddemo'
    g++ -O2 -Wall -Woverloaded-virtual -shared osddemo.o -o libvdr-osddemo.so
    /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: o
    sddemo.o: relocation R_X86_64_32S against `vtable for cLineGame' can not be used
    when making a shared object; recompile with -fPIC
    osddemo.o: could not read symbols: Bad value
    collect2: ld gab 1 als Ende-Status zurück
    make[1]: *** [libvdr-osddemo.so] Fehler 1
    make[1]: Leaving directory `/usr/local/vdr/vdr-1.3.17/PLUGINS/src/osddemo'
    make[1]: Entering directory `/usr/local/vdr/vdr-1.3.17/PLUGINS/src/skincurses'
    g++ -O2 -Wall -Woverloaded-virtual -shared skincurses.o -lncurses -o libvdr-skin
    curses.so
    /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: s
    kincurses.o: relocation R_X86_64_32S against `vtable for cCursesOsd' can not be
    used when making a shared object; recompile with -fPIC
    skincurses.o: could not read symbols: Bad value
    collect2: ld gab 1 als Ende-Status zurück
    make[1]: *** [libvdr-skincurses.so] Fehler 1
    make[1]: Leaving directory `/usr/local/vdr/vdr-1.3.17/PLUGINS/src/skincurses'
    make[1]: Entering directory `/usr/local/vdr/vdr-1.3.17/PLUGINS/src/sky'
    g++ -O2 -Wall -Woverloaded-virtual -shared sky.o -o libvdr-sky.so
    /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: sky.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
    sky.o: could not read symbols: Bad value
    collect2: ld gab 1 als Ende-Status zurück
    make[1]: *** [libvdr-sky.so] Fehler 1
    make[1]: Leaving directory `/usr/local/vdr/vdr-1.3.17/PLUGINS/src/sky'
    make[1]: Entering directory `/usr/local/vdr/vdr-1.3.17/PLUGINS/src/status'
    g++ -O2 -Wall -Woverloaded-virtual -shared status.o -o libvdr-status.so
    /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: status.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
    status.o: could not read symbols: Bad value
    collect2: ld gab 1 als Ende-Status zurück
    make[1]: *** [libvdr-status.so] Fehler 1
    make[1]: Leaving directory `/usr/local/vdr/vdr-1.3.17/PLUGINS/src/status'
    make: *** [plugins] Fehler 2
    bash-2.05b#

  • Hallo zusammen,


    habe endlich mein Problem gelöst! Es muß das Makefile jedes Plugins angpaßt werden.
    Im Makefile muß bei den CXXFLAGS, die Option -fPIC eingetragen werden.
    z.B.: Hello-Plugin: CXXFLAGS ?= -O2 -Wall -Woverloaded-virtual -fPIC


    grüße
    herwig.

  • also ich bekomme trotz -fPIC beim DVDplugin das problem. hat das schon jemand erfolgreich unter 64bit eingefügt ?

    AMD64 3000+, ASUS A8N-VM CSM, TT-S2300, HP NOVA-SE2, 512 MB RAM
    Gentoo, VDR 1.4.7, Kernel 2.6.18-gentoo-r2

Jetzt mitmachen!

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