[x264-devel] Re: Cinelerra and vlc with x264 on x86_64
Sam Hocevar
sam at zoy.org
Fri Oct 7 19:51:18 CEST 2005
On Fri, Oct 07, 2005, Daniel Fort wrote:
> I tried your suggestion:
>
> > ./configure --extra-cflags=-fPIC --extra-asflags=-D__PIC__
> > make
> >
> > The resulting .a library is PIC and can be linked against other
> > shared objects.
>
> I also applied Anssi Hannula's x264-315-x86_64fix.patch but I'm still
> getting:
>
> usr/local/lib64/libx264.a(dct-a.o): relocation R_X86_64_32 against `a
> local symbol' can not be used when making a shared object; recompile with
> -fPIC
> /usr/local/lib64/libx264.a: could not read symbols: Bad value
> collect2: ld returned 1 exit status
>
> when compiling Cinelerra on a Gentoo AMD64 box.
Check that you are using an up to date SVN tree of x264 and that you
cleaned your tree before recompiling. If it still does not work, let us
know:
- whether you did any modifications to common/amd64/dct-a.asm
- whether -D__PIC__ appears in the build log when compiling
- your Yasm version
Regards,
--
Sam.
--
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html
More information about the x264-devel
mailing list