<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - module-tunnel: Fails to build with HAVE_X11 due to missing XCB link"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=69448">69448</a>
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>lennart@poettering.net
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>pulseaudio-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>module-tunnel: Fails to build with HAVE_X11 due to missing XCB link
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>pulseaudio-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>emanuele.aina@collabora.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>build-system
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>PulseAudio
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Build fails on current git master (v4.0-173-g81ac0db) with the following error:

  CCLD     module-tunnel-sink.la
  CCLD     module-tunnel-source.la
  .libs/module_tunnel_sink_la-module-tunnel.o: In function
`module_tunnel_sink_LTX_pa__init':
  /build/pulseaudio/src/modules/module-tunnel.c:1987: undefined reference to
`xcb_connect'
  /build/pulseaudio/src/modules/module-tunnel.c:1990: undefined reference to
`xcb_connection_has_error'
  /build/pulseaudio/src/modules/module-tunnel.c:1992: undefined reference to
`xcb_disconnect'
  /build/pulseaudio/src/modules/module-tunnel.c:2235: undefined reference to
`xcb_disconnect'
  /build/pulseaudio/src/modules/module-tunnel.c:2253: undefined reference to
`xcb_disconnect'
  collect2: error: ld returned 1 exit status
  make[3]: *** [module-tunnel-sink.la] Error 1
  make[3]: *** Waiting for unfinished jobs....
  .libs/module-tunnel.o: In function `module_tunnel_source_LTX_pa__init':
  /build/pulseaudio/src/modules/module-tunnel.c:1987: undefined reference to
`xcb_connect'
  /build/pulseaudio/src/modules/module-tunnel.c:1990: undefined reference to
`xcb_connection_has_error'
  /build/pulseaudio/src/modules/module-tunnel.c:1992: undefined reference to
`xcb_disconnect'
  /build/pulseaudio/src/modules/module-tunnel.c:2235: undefined reference to
`xcb_disconnect'
  /build/pulseaudio/src/modules/module-tunnel.c:2253: undefined reference to
`xcb_disconnect'
  collect2: error: ld returned 1 exit status
  make[3]: *** [module-tunnel-source.la] Error 

It seems that if HAVE_X11 is defined, module-tunnel.c should link to XCB. Patch
attached.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>