Hi Rene,
The ffmpeg library is already compiled with the FPIC-QUIRK, I tried compiling with the 4 combinations of FPIC-QUIRK on and off. I have had a look on my system and I have the libswscale.so in the /usr/lib folder and the libswscale.a is in the /usr/lib64 folder. Do you have any idea how I can get it to compile with the dynamic libswscale.so? Regards Adam From: René Rebe [mailto:[EMAIL PROTECTED] Sent: 11 November 2008 10:20 To: Adam Stirk Cc: T2 developers mailing list Subject: Re: [t2] Fuppes Package (NEW) 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
