[x264-devel] Re: [CinCVS] Re: Re: Cinelerra and vlc with x264 on x86_64

Sam Hocevar sam at zoy.org
Fri Oct 7 18:32:53 CEST 2005


On Tue, Oct 04, 2005, Brendan Conoboy wrote:

> >However, I tried other methods but nothing seemed to make a libx264 that
> >would compile with cinelerra.
> >
> >Just to make sure, it is x264 that needs the -fPIC flag, correct?
> >If cinelerra is configured with --disable-shared --enabled-static it
> >doesn't complain about -fPIC but it causes other issues.
> 
> In my own investigations with this problem, it appears yasm is unable to 
> produce an object file that can be dynamically linked on x86_64 (yasm 
> 0.4.0).  CVS head's yasm (0.5.ish) is unable to parse the amd64 specific 
> assembly files at all.

   Just do this:

     ./configure --extra-cflags=-fPIC --extra-asflags=-D__PIC__
     make

   The resulting .a library is PIC and can be linked against other
shared objects.

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