<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">
<pre><code><span>First of all thanks a lot!!
./configure --</span><span>extra</span><span>-</span><span>cflags</span><span>=</span><span>"-</span></code><code><span>fPIC"
assuming you do --enable-shared option, and not statically linking
</span></code>
<code><span>You are (still) trying to link a static library -
/usr/local/lib/libavcodec.a - with a shared object
compiled with -fpic which cannot work.
>> Im only did ./configure, make, make install, for obtaining the libavcodec.a, that is that Im using for creating mi libx.so
</span></code></pre>
<br>
<br>
<br>
On 05/01/2013 11:03 AM, Ratin wrote:<br>
</div>
<blockquote
cite="mid:CAC0Dzxw0-TUXbwePO6gFYiirT+6noDG_R2k4HW9E3vWyByXmhg@mail.gmail.com"
type="cite">
<div dir="ltr"><br>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Wed, May 1, 2013 at 8:00 AM, Ratin
<span dir="ltr"><<a moz-do-not-send="true"
href="mailto:ratin3@gmail.com" target="_blank">ratin3@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div class="im">On Wed, May 1, 2013 at 7:41 AM, Dayana <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:dribas@cenatav.co.cu" target="_blank">dribas@cenatav.co.cu</a>></span>
wrote:<br>
</div>
<div class="gmail_extra">
<div class="gmail_quote">
<div class="im">
<blockquote class="gmail_quote" style="margin:0px
0px 0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">Hi!!! Im
developing an aplication using libavcodec,
libavformat and libavutil. Im trying to make a
shared library and for that I have to get libavs
compiled with -fPIC ... I was trying to do it by
setting --enable-pic in the configure file,
however Im still have the same error:<br>
<br>
/usr/local/lib/libavcodec.a(lpc_mmx.o):
relocation R_X86_64_PC32 against symbol
`ff_pd_1' can not be used when making a shared
object; recompile with -fPIC<br>
<br>
<br>
could somebody give me a hint please??<span><font
color="#888888"><br>
<br>
:) dayana<br>
</font></span></blockquote>
</div>
<div><br>
<br>
<pre><code><span>
</span></code></pre>
<pre><code><span>./configure --</span><span>extra</span><span>-</span><span>cflags</span><span>=</span><span>"-</span></code><code><span>fPIC"
</span></code></pre>
<pre><code><span>assuming you do --enable-shared option, and not statically linking</span></code></pre>
</div>
</div>
</div>
</div>
</blockquote>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div class="im">
<blockquote class="gmail_quote" style="margin:0px
0px 0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex"><span><font
color="#888888">
_______________________________________________<br>
Libav-user mailing list<br>
<a moz-do-not-send="true"
href="mailto:Libav-user@ffmpeg.org"
target="_blank">Libav-user@ffmpeg.org</a><br>
<a moz-do-not-send="true"
href="http://ffmpeg.org/mailman/listinfo/libav-user"
target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
</font></span></blockquote>
</div>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Libav-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a>
<a class="moz-txt-link-freetext" href="http://ffmpeg.org/mailman/listinfo/libav-user">http://ffmpeg.org/mailman/listinfo/libav-user</a>
</pre>
</blockquote>
<br>
</body>
</html>