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

Ramiro Polla angustia
Tue Jan 16 22:18:16 CET 2007


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.

Ramiro Polla




More information about the ffmpeg-devel mailing list