Discussion:
[vlc] VLC
Ryan Grewatz
2014-08-05 17:51:43 UTC
Permalink
Hello all,

I'm trying to compile vlc from source, but I keep coming up to this error:

/usr/bin/ld: /usr/local/lib/libavformat.a(allformats.o): relocation
R_X86_64_32 against `ff_a64_muxer' can not be used when making a shared
object; recompile with -fPIC

I've added -fPIC to both CFLAGS and CXXFLAGS within the makefile to try to
fix this, but I just get the same error over and over again. Any help would
be greatly appreciated, and if this is the wrong mailing list to post this
on, please let me know the correct one and I'll post there.

Thanks!

Ryan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc/attachments/20140805/9be93c67/attachment.html>
Jean-Paul Saman
2014-08-11 12:59:38 UTC
Permalink
Post by Ryan Grewatz
Hello all,
/usr/bin/ld: /usr/local/lib/libavformat.a(allformats.o): relocation
R_X86_64_32 against `ff_a64_muxer' can not be used when making a shared
object; recompile with -fPIC
I've added -fPIC to both CFLAGS and CXXFLAGS within the makefile to try to
fix this, but I just get the same error over and over again. Any help would
be greatly appreciated, and if this is the wrong mailing list to post this
on, please let me know the correct one and I'll post there.
You probably need to recompile libavformat (and the other libav/ffmpeg
libs) with -fPIC.

Kind regards,
Jean-Paul Saman

Thanks!
Post by Ryan Grewatz
Ryan
______________________________________________________
vlc mailing list
https://mailman.videolan.org/listinfo/vlc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc/attachments/20140811/eb60728e/attachment.html>
Loading...