<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - underlinking: undefined reference to 'XGetPointerControl' [...]"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=97383">97383</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>underlinking: undefined reference to 'XGetPointerControl' [...]
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Spice
          </td>
        </tr>

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

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

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

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

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

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>spice-gtk
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>mgorny@gentoo.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=125848" name="attach_125848" title="Build log (for current git version)">attachment 125848</a> <a href="attachment.cgi?id=125848&action=edit" title="Build log (for current git version)">[details]</a></span>
Build log (for current git version)

When attempting to build spice-gtk with the GNU gold linker, the build fails
with the series of errors:

libtool: link: x86_64-pc-linux-gnu-gcc-5.4.0 -march=k8-sse3 -mcx16 -msahf
--param l1-cache-size=64 --param l1-cache-line-size=64 --param
l2-cache-size=512 -O2 -pipe -frecord-gcc-switches -Wl,-O1 -Wl,--hash-style=gnu
-o .libs/spicy spicy-spicy.o spicy-spicy-connect.o spicy-spice-cmdline.o
-pthread  -Wl,--as-needed ./.libs/libspice-client-gtk-3.0.so
/tmp/portage/net-misc/spice-gtk-9999/work/spice-gtk-9999/src/.libs/libspice-client-glib-2.0.so
./.libs/libspice-client-glib-2.0.so -lcelt051 /usr/lib64/libopus.so -ljpeg -lz
-llz4 -lpixman-1 -lssl -lcrypto -lusb-1.0 -lusbredirhost -lusbredirparser
-lgthread-2.0 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0
-lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0
-lepoxy -lm -pthread
./.libs/libspice-client-gtk-3.0.so: error: undefined reference to
'XGetPointerControl'
./.libs/libspice-client-gtk-3.0.so: error: undefined reference to
'XChangePointerControl'
./.libs/libspice-client-gtk-3.0.so: error: undefined reference to 'XkbGetMap'
./.libs/libspice-client-gtk-3.0.so: error: undefined reference to 'XkbGetNames'
./.libs/libspice-client-gtk-3.0.so: error: undefined reference to
'XkbFreeKeyboard'
./.libs/libspice-client-gtk-3.0.so: error: undefined reference to
'XListExtensions'
./.libs/libspice-client-gtk-3.0.so: error: undefined reference to
'XFreeExtensionList'
collect2: error: ld returned 1 exit status
distcc[5868] ERROR: compile (null) on localhost failed
make[4]: *** [Makefile:1151: spicy] Error 1

This indicates that the library is using some X11 APIs directly but not linking
to appropriate X11 libraries.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>