GNOME Bugzilla – Bug 169732
gstreamer (element) does not build on cygwin
Last modified: 2005-03-10 17:22:02 UTC
Steps to reproduce: 1. build gstreamer on a cygwin install Stack trace: Other information: It seems cygwin does not provide madvise(), which gst/elements/gstmultifilesrc.c uses indiscriminantly. It's also used in gst/elements/gstfilesrc.c and gst/gstinfo.c The documentation states that gstreamer builds on cygwin, without any other comment. This seems to be out of date. Another (corrected) problem was unrecognized struct timeval in gst/elements/gstfdsrc.c, around line 235: gstfdsrc.c: In function `gst_fdsrc_get': gstfdsrc.c:234: error: storage size of `t' isn't known gstfdsrc.c:253: warning: implicit declaration of function `select' gstfdsrc.c:234: warning: unused variable `t' This was corrected by adding #ifndef HAVE_WIN32 #include <sys/time.h> #endif at the beginning of the file.
Applied, thank you.