[Bug 797348] New: curl fails to build on Ubuntu 18.04

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun Oct 28 11:33:11 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=797348

            Bug ID: 797348
           Summary: curl fails to build on Ubuntu 18.04
    Classification: Platform
           Product: GStreamer
           Version: 1.12.x
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: xclaesse at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

../subprojects/gst-plugins-bad/ext/curl/gstcurlbasesink.c: In function
‘gst_curl_base_sink_setup_dscp_unlocked’:
../subprojects/gst-plugins-bad/ext/curl/gstcurlbasesink.c:1386:25: error: field
‘sa_in6’ has incomplete type
     struct sockaddr_in6 sa_in6;
                         ^~~~~~
../subprojects/gst-plugins-bad/ext/curl/gstcurlbasesink.c:1400:9: warning:
implicit declaration of function ‘IN6_IS_ADDR_V4MAPPED’
[-Wimplicit-function-declaration]
     if (IN6_IS_ADDR_V4MAPPED (&(sa.sa_in6.sin6_addr))) {
         ^~~~~~~~~~~~~~~~~~~~
../subprojects/gst-plugins-bad/ext/curl/gstcurlbasesink.c:1400:9: warning:
nested extern declaration of ‘IN6_IS_ADDR_V4MAPPED’ [-Wnested-externs]
../subprojects/gst-plugins-bad/ext/curl/gstcurlbasesink.c:1410:38: error:
‘IPPROTO_IP’ undeclared (first use in this function); did you mean
‘EPROTOTYPE’?
       ret = setsockopt (sink->fd.fd, IPPROTO_IP, IP_TOS, (void *) &tos,
                                      ^~~~~~~~~~
                                      EPROTOTYPE
../subprojects/gst-plugins-bad/ext/curl/gstcurlbasesink.c:1410:38: note: each
undeclared identifier is reported only once for each function it appears in
../subprojects/gst-plugins-bad/ext/curl/gstcurlbasesink.c:1410:50: error:
‘IP_TOS’ undeclared (first use in this function)
       ret = setsockopt (sink->fd.fd, IPPROTO_IP, IP_TOS, (void *) &tos,
                                                  ^~~~~~

-- 
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