GEN libavutil/libavutil.version GEN libswscale/libswscale.version GEN libswresample/libswresample.version GEN libpostproc/libpostproc.version GEN libavresample/libavresample.version GEN libavcodec/libavcodec.version GEN libavformat/libavformat.version GEN libavfilter/libavfilter.version GEN libavdevice/libavdevice.version CC libavdevice/alldevices.o In file included from src/libavutil/thread.h:133:0, from src/libavdevice/alldevices.c:22: src/compat/w32pthreads.h:122:1: error: unknown type name 'INIT_ONCE' src/compat/w32pthreads.h: In function 'pthread_once': src/compat/w32pthreads.h:128:5: warning: passing argument 1 of 'InitOnceBeginInitialize' from incompatible pointer type [enabled by default] /usr/lib/gcc/i686-w64-mingw32/4.6/../../../../i686-w64-mingw32/include/winbase.h:2806:65: note: expected 'LPINIT_ONCE' but argument is of type 'pthread_once_t *' src/compat/w32pthreads.h:131:5: warning: passing argument 1 of 'InitOnceComplete' from incompatible pointer type [enabled by default] /usr/lib/gcc/i686-w64-mingw32/4.6/../../../../i686-w64-mingw32/include/winbase.h:2807:65: note: expected 'LPINIT_ONCE' but argument is of type 'pthread_once_t *' src/libavdevice/alldevices.c: In function 'avdevice_register_all': src/libavdevice/alldevices.c:75:37: error: 'INIT_ONCE_STATIC_INIT' undeclared (first use in this function) src/libavdevice/alldevices.c:75:37: note: each undeclared identifier is reported only once for each function it appears in make: *** [libavdevice/alldevices.o] Error 1