[Ffmpeg-devel] unable to build shared ffmpeg on x86_64 withswscale
Wed Oct 4 09:44:13 CEST 2006
On Tue, 2006-10-03 at 17:40 +0200, Aurelien Jacobs wrote:
> Hum... I now tested it on another x86_64 box with gcc-4.1 and
> I can see this build failure:
> /usr/bin/ld: yuv2rgb.o: relocation R_X86_64_PC32 against
> `mmx_00ffw' can not be used when making a shared object;
> recompile with -fPIC
> I fixed it with the attached patch. It simply make some
> symbol static so it shouldn't be controversial.
> I intend to apply it soon.
I found an x86_64 machine, and I can confirm that on debian testing (gcc
4.2.1 and binutils 2.17-2) current svn does not compile (same relocation
error on yuv2rgb.o), and Aurelien's patch fixes the problem.
Copy this in your signature, if you think it is important:
N O W A R ! ! !
More information about the ffmpeg-devel