[Ffmpeg-devel] unable to build shared ffmpeg on x86_64 with swscale

Aurelien Jacobs aurel
Wed Oct 4 01:53:14 CEST 2006


On Tue, 3 Oct 2006 17:40:53 +0200
Aurelien Jacobs <aurel at gnuage.org> wrote:

> On Tue, 3 Oct 2006 15:49:26 +0200
> Aurelien Jacobs <aurel at gnuage.org> wrote:
> 
> > On Tue, 3 Oct 2006 17:35:52 +0400
> > Pavlov Konstantin <thresh at cpms.ru> wrote:
> > 
> > > On Tuesday 03 October 2006 17:28, Aurelien Jacobs wrote:
> > > >
> > > > Latest svn builds fine here on x86_64 with
> > > > ./configure --enable-gpl --enable-shared --enable-swscaler
> > > 
> > > compiler/binutils version?
> > 
> > gcc-3.3.5/binutils-2.15 (Debian stable).
> 
> 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.

commited.

Aurel




More information about the ffmpeg-devel mailing list