<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Aug 5, 2014 at 7:51 PM, Ryan Grewatz <span dir="ltr"><<a href="mailto:grewa008@d.umn.edu" target="_blank">grewa008@d.umn.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello all,<div><br></div><div>I'm trying to compile vlc from source, but I keep coming up to this error: </div>
<div><br></div><div>/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</div>

<div><br></div><div>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.</div>


<div><br></div></div></blockquote><div><br></div><div>You probably need to recompile libavformat (and the other libav/ffmpeg libs) with -fPIC.<br><br></div><div>Kind regards,<br>Jean-Paul Saman<br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div></div><div>Thanks!</div><span class="HOEnZb"><font color="#888888"><div><br>Ryan</div></font></span></div>
<br>______________________________________________________<br>
vlc mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="https://mailman.videolan.org/listinfo/vlc" target="_blank">https://mailman.videolan.org/listinfo/vlc</a><br>
<br></blockquote></div><br></div></div>