[SOLVED] Compile error `x264_cabac_range_lps' cannot be used

*nix specific usage questions
hackeron
Blank Cone
Blank Cone
Posts: 24
Joined: 18 Jul 2008 13:30

[SOLVED] Compile error `x264_cabac_range_lps' cannot be used

Postby hackeron » 23 Jul 2008 22:44

Code: Select all

/usr/bin/ld: /usr/local/lib/libx264.a(cabac-a.o): relocation R_X86_64_32 against `x264_cabac_range_lps' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libx264.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[5]: *** [libx264_plugin.la] Error 1
I've tried recompiling x264 with -fPIC -- no help :(

Also, I don't want 32bit support.

Any ideas?
Last edited by hackeron on 24 Jul 2008 01:07, edited 1 time in total.

hackeron
Blank Cone
Blank Cone
Posts: 24
Joined: 18 Jul 2008 13:30

Re: Compile error: `x264_cabac_range_lps' can not be used

Postby hackeron » 24 Jul 2008 01:06

Ah, had to add --enable-pic --enable-shared to the x264 ./configure -- Now vlc compiles!


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 20 guests