[Bug 753944] New: configure check for curl doesn't work on FreeBSD
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Aug 21 11:33:55 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=753944
Bug ID: 753944
Summary: configure check for curl doesn't work on FreeBSD
Classification: Platform
Product: GStreamer
Version: 1.5.90
OS: FreeBSD
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-bad
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: kwm at FreeBSD.org
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 309836
--> https://bugzilla.gnome.org/attachment.cgi?id=309836&action=edit
Patch to check netinet/ip.h with sys/types.h and netinet/in.h
For the curlsink plugin, configure checks for a handfull of headers.
The problem header in this set is netinet/ip.h. On FreeBSD the sys/types.h and
netinet/in.h header needs to be included before netinet/ip.h can be tested.
---------------------------
configure: *** checking feature: Curl plugin ***
configure: *** for plug-ins: curl ***
checking for CURL... yes
checking for unistd.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking netinet/ip.h usability... no
checking netinet/ip.h presence... yes
configure: WARNING: netinet/ip.h: present but cannot be compiled
configure: WARNING: netinet/ip.h: check for missing prerequisite headers?
configure: WARNING: netinet/ip.h: see the Autoconf documentation
configure: WARNING: netinet/ip.h: section "Present But Cannot Be Compiled"
configure: WARNING: netinet/ip.h: proceeding with the compiler's result
configure: WARNING: ##
------------------------------------------------------------------------ ##
configure: WARNING: ## Report this to
http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ##
configure: WARNING: ##
------------------------------------------------------------------------ ##
checking for netinet/ip.h... no
checking for unistd.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for winsock2.h... (cached) no
checking ws2tcpip.h usability... no
checking ws2tcpip.h presence... no
checking for ws2tcpip.h... no
checking for fcntl.h... (cached) yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking for fcntl.h... (cached) yes
checking for socket support needed by curlsink... no
checking for SSH2... yes
configure: *** These plugins will not be built: curl
configure: *** checking feature: DASH plug-in ***
snippet from config.log:
configure:37965: checking netinet/ip.h usability
configure:37965: cc -c -O2 -pipe -O2 -Wno-format -fstack-protector
-fno-strict-aliasing
In file included from conftest.c:106:
/usr/include/netinet/ip.h:69:17: error: field has incomplete type 'struct
in_addr'
struct in_addr ip_src,ip_dst; /* source and dest address */
^
/usr/include/netinet/ip.h:69:9: note: forward declaration of 'struct in_addr'
struct in_addr ip_src,ip_dst; /* source and dest address */
^
/usr/include/netinet/ip.h:69:24: error: field has incomplete type 'struct
in_addr'
struct in_addr ip_src,ip_dst; /* source and dest address */
^
/usr/include/netinet/ip.h:69:9: note: forward declaration of 'struct in_addr'
struct in_addr ip_src,ip_dst; /* source and dest address */
^
/usr/include/netinet/ip.h:181:19: error: field has incomplete type 'struct
in_addr'
struct in_addr ipt_addr;
^
/usr/include/netinet/ip.h:69:9: note: forward declaration of 'struct in_addr'
struct in_addr ip_src,ip_dst; /* source and dest address */
^
/usr/include/netinet/ip.h:216:17: error: field has incomplete type 'struct
in_addr'
struct in_addr ippseudo_src; /* source internet address */
^
/usr/include/netinet/ip.h:69:9: note: forward declaration of 'struct in_addr'
struct in_addr ip_src,ip_dst; /* source and dest address */
^
/usr/include/netinet/ip.h:217:17: error: field has incomplete type 'struct
in_addr'
struct in_addr ippseudo_dst; /* destination internet address */
^
/usr/include/netinet/ip.h:69:9: note: forward declaration of 'struct in_addr'
struct in_addr ip_src,ip_dst; /* source and dest address */
^
5 errors generated.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list