[gstreamer-bugs] [Bug 586397] New: gstudpnetutils.h fails to build on FreeBSD
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Fri Jun 19 08:00:55 PDT 2009
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=586397
GStreamer | gst-plugins-good | Ver: 0.10.15
Summary: gstudpnetutils.h fails to build on FreeBSD
Product: GStreamer
Version: 0.10.15
Platform: Other
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-good
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: kwm at FreeBSD.org
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: 2.25/2.26
GNOME milestone: Unspecified
Please describe the problem:
On FreeBSD #include <sys/socket.h> needs to be included before #includes
<net/if.h>. Otherwise complilation fails.
In file included from gstudpnetutils.h:43,
from gstudpsrc.h:33,
from gstudp.c:26:
/usr/include/net/if.h:294: error: field 'ifru_addr' has incomplete type
/usr/include/net/if.h:295: error: field 'ifru_dstaddr' has incomplete type
/usr/include/net/if.h:296: error: field 'ifru_broadaddr' has incomplete type
/usr/include/net/if.h:328: error: field 'ifra_addr' has incomplete type
/usr/include/net/if.h:329: error: field 'ifra_broadaddr' has incomplete type
/usr/include/net/if.h:330: error: field 'ifra_mask' has incomplete type
gmake[2]: *** [libgstudp_la-gstudp.lo] Error 1
net/if.h uses sockaddr on these lines. This struct is defined in sys/socket.h.
Steps to reproduce:
Actual results:
Expected results:
Does this happen every time?
Other information:
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=586397.
More information about the Gstreamer-bugs
mailing list