[MPlayer-users] compilation error

Abu Abdullah falcon.sheep at gmail.com
Mon Mar 18 16:59:12 CET 2013


> > I have faced today this compilation error (windows):
> >
> > libavutil/atomic.c:101:2: error: #error "Threading is enabled,
> > but there is no implementation of atomic operations available"
>
> Please try "--disable-w32threads" (or "--enable-pthreads").
>
> Carl Eugen
>

now it gives me ( --disable-w32threads):

make -C ffmpeg libavcodec/libavcodec.a
make[1]: Entering directory `/home/me/mplayer/ffmpeg'
CC      libavcodec/frame_thread_encoder.o
libavcodec/frame_thread_encoder.c:50:5: error: unknown type name
'pthread_mutex_
t'
libavcodec/frame_thread_encoder.c:53:5: error: unknown type name
'pthread_mutex_
t'
libavcodec/frame_thread_encoder.c:54:5: error: unknown type name
'pthread_cond_t
'
libavcodec/frame_thread_encoder.c:57:5: error: unknown type name
'pthread_mutex_
t'
libavcodec/frame_thread_encoder.c:58:5: error: unknown type name
'pthread_cond_t
'
libavcodec/frame_thread_encoder.c:63:5: error: unknown type name 'pthread_t'
libavcodec/frame_thread_encoder.c: In function 'worker':
libavcodec/frame_thread_encoder.c:81:9: warning: implicit declaration of
functio
n 'pthread_mutex_lock' [-Wimplicit-function-declaration]
libavcodec/frame_thread_encoder.c:84:17: warning: implicit declaration of
functi
on 'pthread_mutex_unlock' [-Wimplicit-function-declaration]
libavcodec/frame_thread_encoder.c:87:13: warning: implicit declaration of
functi
on 'pthread_cond_wait' [-Wimplicit-function-declaration]
libavcodec/frame_thread_encoder.c:107:9: warning: implicit declaration of
functi
on 'pthread_cond_signal' [-Wimplicit-function-declaration]
libavcodec/frame_thread_encoder.c: In function
'ff_frame_thread_encoder_init':
libavcodec/frame_thread_encoder.c:150:5: warning: implicit declaration of
functi
on 'pthread_mutex_init' [-Wimplicit-function-declaration]
libavcodec/frame_thread_encoder.c:153:5: warning: implicit declaration of
functi
on 'pthread_cond_init' [-Wimplicit-function-declaration]
libavcodec/frame_thread_encoder.c:179:9: warning: implicit declaration of
functi
on 'pthread_create' [-Wimplicit-function-declaration]
libavcodec/frame_thread_encoder.c: In function
'ff_frame_thread_encoder_free':
libavcodec/frame_thread_encoder.c:200:5: warning: implicit declaration of
functi
on 'pthread_cond_broadcast' [-Wimplicit-function-declaration]
libavcodec/frame_thread_encoder.c:204:10: warning: implicit declaration of
funct
ion 'pthread_join' [-Wimplicit-function-declaration]
libavcodec/frame_thread_encoder.c:207:5: warning: implicit declaration of
functi
on 'pthread_mutex_destroy' [-Wimplicit-function-declaration]
libavcodec/frame_thread_encoder.c:210:5: warning: implicit declaration of
functi
on 'pthread_cond_destroy' [-Wimplicit-function-declaration]
make[1]: *** [libavcodec/frame_thread_encoder.o] Error 1
make[1]: Leaving directory `/home/me/mplayer/ffmpeg'
make: *** [ffmpeg/libavcodec/libavcodec.a] Error 2



It was working couple of weeks ago. this is my configuration:
./configure \
 --prefix=/mingw \
 --disable-mencoder \
 --disable-langinfo \
 --disable-vm \
 --disable-xf86keysym \
 --disable-radio-v4l2 \
 --disable-radio-bsdbt848 \
 --disable-tv \
 --disable-tv-v4l1 \
 --disable-tv-v4l2 \
 --disable-tv-bsdbt848 \
 --disable-pvr \
 --disable-rtc \
 --disable-vcd \
 --disable-bluray \
 --disable-dvdnav \
 --disable-dvdread \
 --disable-dvdread-internal \
 --disable-libdvdcss-internal \
 --disable-cdparanoia \
 --disable-cddb \
 --disable-unrarexec \
 --disable-sortsub \
 --disable-enca \
 --disable-maemo \
 --disable-inet6 \
 --disable-pthreads \
 --disable-ass \
 --disable-qtx \
 --disable-xanim \
 --disable-xvid \
 --disable-xvid-lavc \
 --disable-x264 \
 --disable-x264-lavc \
 --disable-libdirac-lavc \
 --disable-libschroedinger-lavc \
 --disable-libvpx-lavc \
 --disable-libnut \
 --disable-libvorbis \
 --disable-speex \
 --disable-libgsm \
 --disable-faac \
 --disable-faac-lavc \
 --disable-ladspa \
 --disable-libbs2b \
 --disable-libdv \
 --disable-libilbc \
 --disable-mad \
 --disable-xss \
 --disable-toolame \
 --disable-twolame \
 --disable-liba52 \
 --disable-libmpeg2 \
 --disable-libmpeg2-internal \
 --disable-libopencore_amrnb \
 --disable-libopencore_amrwb \
 --disable-libopenjpeg \
 --disable-crystalhd \
 --disable-vidix \
 --disable-vidix-pcidb \
 --disable-matrixview \
 --disable-tga \
 --disable-pnm \
 --disable-md5sum \
 --disable-yuv4mpeg \
 --disable-corevideo \
 --disable-quartz \
 --disable-fontconfig \
 --disable-ftp \
 --enable-static \
 --enable-runtime-cpudetection \
 --disable-bitmap-font \
 --disable-sctp \
 --disable-vstream \
 --charset=UTF-8


More information about the MPlayer-users mailing list