[Ffmpeg-devel] x264 configure prob: missing -lpthread

Måns Rullgård mru
Tue Jan 16 22:56:30 CET 2007


Ramiro Polla <angustia at arrozcru.no-ip.org> writes:

> Hello,
> Guillaume POIRIER wrote:
>> Hi,
>>
>> On 1/11/07, Axel Naumann <axel-naumann at gmx.de> wrote:
>>> Hi,
>>>
>>> I had to patch configure to get x264 to work on a x86_64 debian etch
>>> with libx264-dev 0.cvs20061107-0.0. The same seems to be needed in
>>> current SVN according to ViewVC. That build of libx264 needs pthread.
>>>
>>> Here's a dummy-diff because I'm too lazy, but you get the idea :-)
>>>
>>> < enabled x264    && require x264 x264.h x264_encoder_open -lx264
>>> > enabled x264    && require x264 x264.h x264_encoder_open -lx264
>>> -lpthread
>>
>> Rejected, pass --enable-pthreads to configure script instead.
>>
>
> This isn't really the best solution. Let's say I want to use
> w32threads for FFmpeg and pthreads for x264 (since now x264 doesn't
> have native w32 thread support anymore). We should check if x264
> itself needs pthread.

Mixing thread libraries is a very, very bad idea.

-- 
M?ns Rullg?rd
mru at inprovide.com




More information about the ffmpeg-devel mailing list