Menu

#108 Error when running make @ idjc-0.9.5

v1.0 (example)
closed
nobody
None
5
2023-09-22
2022-12-08
No

Hello,

I'm trying to build idjc-0.9.5 following website's instructions. Already installed the dependencies and libshout-idjc. So, when running make this errors appear:

/usr/bin/ld: /usr/local/lib/libavcodec.a(h264_weight_10bit.o): warning: relocation against `ff_pw_1' in read-only section `.text'
/usr/bin/ld: /usr/local/lib/libavcodec.a(vc1dsp_mmx.o): relocation R_X86_64_PC32 against symbol `ff_pw_9' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:602: idjc.la] Error 1
make[2]: se sale del directorio '/home/.../idjc-0.9.5/c'
make[1]: *** [Makefile:675: all-recursive] Error 1
make[1]: se sale del directorio '/home/.../idjc-0.9.5'
make: *** [Makefile:480: all] Error 2

How can I solve this?

Discussion

  • Stephen Fairchild

    Interesting one this. I am curious which distribution you are using?

    Suggestion based upon the information provided:

    make clean
    ./configure CFLAGS=-fPIC
    make
    

    If that doesn't work this will but you lose AAC and WebM support:

    make clean
    ./configure --disable-libav
    make
    
     
    • Hogar de la Brisa

      ./configure --disable-libav
      

      This one did the trick, but then I had to run make with sudo because it wanted to delete a file in root. Strange. Anyway, now it's installed and runs. Thank you!

      By the way, I'm using Linux Mint 20.3 MATE.

       
  • Stephen Fairchild

    • status: open --> closed
     

Log in to post a comment.