After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 169732 - gstreamer (element) does not build on cygwin
gstreamer (element) does not build on cygwin
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.8.9
Other All
: High critical
: 0.8.10
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-03-09 17:21 UTC by Jean de Largentaye
Modified: 2005-03-10 17:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jean de Largentaye 2005-03-09 17:21:13 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.
Comment 1 Ronald Bultje 2005-03-10 17:22:02 UTC
Applied, thank you.