[FFserver-user] unable to compile ffserver on windows.

Kishore kisree at gmail.com
Tue Jul 17 13:55:25 CEST 2012

Hi There,

I am trying to compile the ffmpeg sources on windows 7 32 bit env through
minGW & msys.

It is able to compile all libs with ffmpeg.exe and ffprob.exe but failed to
compile ffserver.exe and ffplay.exe

While compiling ffserver.exe it is expecting sys/ioctl.h and sys/wait.h --
where can I find windows ported headerfiles.

$ make ffserver_g.exe
CC      ffserver.o
In file included from ffserver.c:35:0:
libavformat/network.h:168:0: warning: "gai_strerror" redefined [enabled by
In file included from libavformat/network.h:36:0,
                 from ffserver.c:35:
: this is the location of the previous definition
ffserver.c:53:23: fatal error: sys/ioctl.h: No such file or directory
compilation terminated.
make: *** [ffserver.o] Error 1

When compiling ffplay.exe it is saying SDL.h is not found.

$ make ffplay_g.exe
CC      ffplay.o
ffplay.c:56:17: fatal error: SDL.h: No such file or directory
compilation terminated.
make: *** [ffplay.o] Error 1

Thanks in advance for your help.

Thanks & Regards
Success is never permanent....Failure is never final....
So, always do not stop effort until your victory makes a history...!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/ffserver-user/attachments/20120717/84757896/attachment.html>

More information about the ffserver-user mailing list