Relocation R_X86_64_PC32 against - compile error, please assist?

Simon <[email protected]> Mon, 19 Apr 2010 09:36:21 +1200
Newsgroups gmane.comp.video.transcode.user
Message-ID <[email protected]>
--0016364ec8a8aa13f9048489a27a
Content-Type: text/plain; charset=ISO-8859-1

Hi There,

We are trying to build transcode 1.1.5 on a debian lenny box:

./configure --enable-shared --enable-pthreads --enable-ffmpeg
--enable-libavcodec --enable-libav --enable-x264
--with-libavformat-libs=/usr/local/lib --with-libavcodec-libs=/usr/local/lib
--with-x264-libs=/usr/local/lib --prefix=/usr/local

Here is the output of configure:

http://www.nzlocal.com/simon/transcode.txt

But when i make to compile i get the following. I think this is something
todo with the fact that i have a 64bit system correct? But i dont know what
todo from here :(

/usr/bin/ld: /usr/local/lib/libavcodec.a(dsputil_mmx.o): relocation
R_X86_64_PC32 against `ff_pw_20' can not be used when making a shared
object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[2]: *** [export_divx5.la] Error 1
make[2]: Leaving directory `/usr/src/transcode-1.1.5/export'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/transcode-1.1.5'
make: *** [all] Error 2

Thanks

Simon

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

Hi There,<br><br>We are trying to build transcode 1.1.5 on a debian lenny b=
ox:<br><br>./configure --enable-shared --enable-pthreads --enable-ffmpeg --=
enable-libavcodec --enable-libav --enable-x264 --with-libavformat-libs=3D/u=
sr/local/lib --with-libavcodec-libs=3D/usr/local/lib --with-x264-libs=3D/us=
r/local/lib --prefix=3D/usr/local<br>
<br>Here is the output of configure:<br><br><a href=3D"http://www.nzlocal.c=
om/simon/transcode.txt">http://www.nzlocal.com/simon/transcode.txt</a><br><=
br>But when i make to compile i get the following. I think this is somethin=
g todo with the fact that i have a 64bit system correct? But i dont know wh=
at todo from here :( <br>
<br>/usr/bin/ld: /usr/local/lib/libavcodec.a(dsputil_mmx.o): relocation R_X=
86_64_PC32 against `ff_pw_20&#39; can not be used when making a shared obje=
ct; recompile with -fPIC<br>/usr/bin/ld: final link failed: Bad value<br>
collect2: ld returned 1 exit status<br>make[2]: *** [<a href=3D"http://expo=
rt_divx5.la">export_divx5.la</a>] Error 1<br>make[2]: Leaving directory `/u=
sr/src/transcode-1.1.5/export&#39;<br>make[1]: *** [all-recursive] Error 1<=
br>
make[1]: Leaving directory `/usr/src/transcode-1.1.5&#39;<br>make: *** [all=
] Error 2<br><br>Thanks<br><br>Simon<br>

--0016364ec8a8aa13f9048489a27a--