[Ffmpeg-devel] --enable-mingw32: Doesn't compiles

Martin Boehme boehme
Fri Oct 7 16:47:56 CEST 2005

Michael Pfeiffer wrote:
> I compiled ffmpeg after I configured it with the option --enable-mingw32 
> only but that failed with following error:
> In file included from /usr/include/unistd.h:4,
>                  from ffm.c:20:
> /usr/include/sys/unistd.h:203: error: parse error before '(' token
> make[1]: *** [ffm.o] Error 1
> make: *** [lib] Error 2
> Of course there can't be anything wrong with unistd.h and I can't find a 
> problem with ffm.c. so what may be the reason for that problem?
> Btw: I'm using the latest CVS version.

What environment are you compiling this under? If you're compiling under 
MinGW/MSYS, you _don't_ need the --enable-mingw32 flag. (AFAIK, it's 
only needed for Cygwin... maybe?)

What is the complete output of configure?


Martin B?hme
Inst. f. Neuro- and Bioinformatics
Ratzeburger Allee 160, D-23538 Luebeck
Phone: +49 451 500 5514
Fax:   +49 451 500 5502
boehme at inb.uni-luebeck.de

More information about the ffmpeg-devel mailing list