Error when compiling VLC from source.

Ryan Grewatz <[email protected]> Wed, 6 Aug 2014 09:15:57 -0500
Newsgroups gmane.comp.video.videolan.vlc.general
Message-ID <CAGpaQJfrf3gLW4H1gS=vQ+69L4LLLz7Fbz2UWmGNwyDV=HAzmA@mail.gmail.com>
--===============3649848845249939828==
Content-Type: multipart/alternative; boundary=001a11c12a7a9b35c704fff69d5b

--001a11c12a7a9b35c704fff69d5b
Content-Type: text/plain; charset=ISO-8859-1

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. I'm running
this in virtualbox on 64 bit OS running Ubuntu 14.04

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

--001a11c12a7a9b35c704fff69d5b
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><span style=3D"font-family:arial,sans-serif;font-size:13px=
">Hello all,</span><br style=3D"font-family:arial,sans-serif;font-size:13px=
"><br style=3D"font-family:arial,sans-serif;font-size:13px"><span style=3D"=
font-family:arial,sans-serif;font-size:13px">I&#39;m trying to compile vlc =
from source, but I keep coming up to this error:</span><br style=3D"font-fa=
mily:arial,sans-serif;font-size:13px">

<br style=3D"font-family:arial,sans-serif;font-size:13px"><span style=3D"fo=
nt-family:arial,sans-serif;font-size:13px">/usr/bin/ld: /usr/local/lib/liba=
vformat.a(</span><span style=3D"font-family:arial,sans-serif;font-size:13px=
">allformats.o): relocation</span><br style=3D"font-family:arial,sans-serif=
;font-size:13px">

<span style=3D"font-family:arial,sans-serif;font-size:13px">R_X86_64_32 aga=
inst `ff_a64_muxer&#39; can not be used when making a shared</span><br styl=
e=3D"font-family:arial,sans-serif;font-size:13px"><span style=3D"font-famil=
y:arial,sans-serif;font-size:13px">object; recompile with -fPIC</span><br s=
tyle=3D"font-family:arial,sans-serif;font-size:13px">

<br style=3D"font-family:arial,sans-serif;font-size:13px"><span style=3D"fo=
nt-family:arial,sans-serif;font-size:13px">I&#39;ve added -fPIC to both CFL=
AGS and CXXFLAGS within the makefile to try to</span><br style=3D"font-fami=
ly:arial,sans-serif;font-size:13px">

<span style=3D"font-family:arial,sans-serif;font-size:13px">fix this, but I=
 just get the same error over and over again. I&#39;m running this in virtu=
albox on 64 bit OS running Ubuntu 14.04</span><div><span style=3D"font-fami=
ly:arial,sans-serif;font-size:13px"><br>

</span></div><div><span style=3D"font-family:arial,sans-serif;font-size:13p=
x">Any help would=A0</span><span style=3D"font-family:arial,sans-serif;font=
-size:13px">be greatly appreciated, and if this is the wrong mailing list t=
o post this</span><br style=3D"font-family:arial,sans-serif;font-size:13px"=
>

<span style=3D"font-family:arial,sans-serif;font-size:13px">on, please let =
me know the correct one and I&#39;ll post there.</span><br style=3D"font-fa=
mily:arial,sans-serif;font-size:13px"><br style=3D"font-family:arial,sans-s=
erif;font-size:13px">

<span style=3D"font-family:arial,sans-serif;font-size:13px">Thanks!</span><=
br style=3D"font-family:arial,sans-serif;font-size:13px"><br style=3D"font-=
family:arial,sans-serif;font-size:13px"><span style=3D"font-family:arial,sa=
ns-serif;font-size:13px">Ryan</span><br>

</div></div>

--001a11c12a7a9b35c704fff69d5b--

--===============3649848845249939828==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

______________________________________________________
vlc mailing list
To unsubscribe or modify your subscription options:
https://mailman.videolan.org/listinfo/vlc

--===============3649848845249939828==--