[FFmpeg-devel] Cannot compile under MinGW - ENABLE_GSM_DEMUXER

Dennis Volodomanov dennis.volodomanov
Fri May 2 01:33:12 CEST 2008

Hi all,

I've got the latest code (13030) and now I cannot compile ffmpeg. It
complains about the ENABLE_GSM_DEMUXER being undeclared:

-D_ISOC9X_SOURCE -I"/c/ffmpeg" -I"/c/ffmpeg" -I"/c/ffmpeg"/libavcodec
-I"/c/ffmpeg"/libavdevice -I"/c/ffmpeg"/libavfilter
-I"/c/ffmpeg"/libavformat -I"/c/ffmpeg"/libavutil
-I"/c/ffmpeg"/libpostproc -I"/c/ffmpeg"/libswscale -fomit-frame-pointer
-g -Wdeclaration-after-statement -Wall -Wno-switch
-Wdisabled-optimization -Wpointer-arith -Wredundant-decls
-Wno-pointer-sign -Wcast-qual -Wwrite-strings -O3 -fno-math-errno
-c -o libavformat/allformats.o libavformat/allformats.c
libavformat/allformats.c: In function 'av_register_all':
libavformat/allformats.c:85: error: 'ENABLE_GSM_DEMUXER' undeclared
(first use in this function)
libavformat/allformats.c:85: error: (Each undeclared identifier is
reported only once
libavformat/allformats.c:85: error: for each function it appears in.)
make: *** [libavformat/allformats.o] Error 1

Last time I compiled was last week and that was fine.

My configure is:

--enable-gpl --enable-swscale --enable-w32threads --enable-memalign-hack
--disable-shared --enable-static --enable-avfilter

Compiling on MinGW.

Can someone please shed some light on how to fix this?

Thanks in advance,


More information about the ffmpeg-devel mailing list