[solved] compile error "relocation R_X86_64_32S against .."

  • hallo,


    seit einem manuellem update von ffmpeg auf die git-version unter ubuntu, kommt folgender fehler beim compilieren (bsp: xine-lib, softhddevice)


    bei xinelib

    Code
    /usr/bin/ld: /usr/local/lib/libavutil.a(base64.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
    /usr/local/lib/libavutil.a: could not read symbols: Bad value
    collect2: ld returned 1 exit status


    bei softhddevice

    Code
    /usr/bin/ld: /usr/local/lib/libavcodec.a(allcodecs.o): relocation R_X86_64_32 against `ff_mpeg1_vdpau_hwaccel' can not be used when making a shared object; recompile with -fPIC
    /usr/local/lib/libavcodec.a: could not read symbols: Bad value
    collect2: ld returned 1 exit status
    make[1]: *** [libvdr-softhddevice.so] Error 1


    "-fPIC" war schon aktiviert. weiß jemand rat?


    ciax

    Lascala LC17 - tribute to viking ;o) + atric IR / SoC ASUS J3455M-E / OctopusNet S4 / yavdr ubuntu jammy / output: osd2web + kivy-osd2web / branch 'python3' via 6.4" TFT & sat>ip DVB-S/S2 via FullHD / NVidia GT1030 passiv

    Einmal editiert, zuletzt von ciax ()

  • danke - hab nun ffmpeg auch mit "-fPIC" übersetzt. damit geht's bei xinelib und softhddevice etwas weiter zu kompilieren. bei beiden bricht es nun mit folgender meldung ab - jetzt weiß ich auch nivht weiter:


    xinelib:

    Code
    /usr/bin/ld: /usr/local/lib/libavcodec.a(lpc_mmx.o): relocation R_X86_64_PC32 against symbol `ff_pd_1' can not be used when making a shared object; recompile with -fPIC
    /usr/bin/ld: final link failed: Bad value
    collect2: ld returned 1 exit status


    softhddevice:

    Code
    /usr/bin/ld: /usr/local/lib/libavcodec.a(lpc_mmx.o): relocation R_X86_64_PC32 against symbol `ff_pd_1' can not be used when making a shared object; recompile with -fPIC
    /usr/bin/ld: final link failed: Bad value
    collect2: ld returned 1 exit status
    make[1]: *** [libvdr-softhddevice.so] Error 1


    hmm ..

Jetzt mitmachen!

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