Hi,

On 10.11.2008, at 22:15, Adam Stirk wrote:

Hi,

I am trying to compile fuppes (a new package) but I am getting the following error.

/usr/lib64/gcc/x86_64-t2-linux-gnu/4.3.2/../../../../x86_64-t2-linux- gnu/bin/ld: /usr/lib64/gcc/x86_64-t2-linux-gnu/4.3.2/../../../../ lib64/libswscale.a(swscale.o): relocation R_X86_64_PC32 against symbol `ff_M24A' can not be used when making a shared object; recompile with -fPIC /usr/lib64/gcc/x86_64-t2-linux-gnu/4.3.2/../../../../x86_64-t2-linux- gnu/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status

I have tried adding the FPIC-QUIRK to the .desc file but I still can’t get it to compile.

Normally FPIC-QUIRK is indeed exactly for this case, however the library
in question is not part of your new package, but probably part of ffmpeg.
So you rather would have to mark ffmpeg FPIC-QUIRK and rebuild it.

However, linking a static library into a dynamic one is not best practice,
is there no dynamic libswscale.so ?

Yours,

--
  René Rebe - ExactCODE GmbH - Europe, Germany, Berlin
  http://exactcode.de | http://t2-project.org | http://rene.rebe.name

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of: unsubscribe t2

Reply via email to