Package: libsdl1.2-dev Version: 1.2.15-5 Severity: normal Compiling a program statically with `sdl-config --static-libs ...` will result in missing symbols:
/usr/lib/i386-linux-gnu/libX11.a(ClDisplay.o): In function `XCloseDisplay': (.text+0xbd): undefined reference to `xcb_disconnect' /usr/lib/i386-linux-gnu/libX11.a(OpenDis.o): In function `OutOfMemory': (.text+0x456): undefined reference to `xcb_disconnect' /usr/lib/i386-linux-gnu/libX11.a(OpenDis.o): In function `XOpenDisplay': (.text+0x81e): undefined reference to `xcb_get_setup' /usr/lib/i386-linux-gnu/libX11.a(OpenDis.o): In function `XOpenDisplay': (.text+0xc59): undefined reference to `xcb_get_maximum_request_length' /usr/lib/i386-linux-gnu/libX11.a(xcb_disp.o): In function `_XConnectXCB': (.text+0x187): undefined reference to `xcb_parse_display' /usr/lib/i386-linux-gnu/libX11.a(xcb_disp.o): In function `_XConnectXCB': (.text+0x1e8): undefined reference to `xcb_connect_to_display_with_auth_info' /usr/lib/i386-linux-gnu/libX11.a(xcb_disp.o): In function `_XConnectXCB': (.text+0x206): undefined reference to `xcb_get_file_descriptor' /usr/lib/i386-linux-gnu/libX11.a(xcb_disp.o): In function `_XConnectXCB': (.text+0x221): undefined reference to `xcb_generate_id' /usr/lib/i386-linux-gnu/libX11.a(xcb_disp.o): In function `_XConnectXCB': (.text+0x29b): undefined reference to `xcb_connection_has_error' /usr/lib/i386-linux-gnu/libX11.a(xcb_disp.o): In function `_XConnectXCB': (.text+0x2bc): undefined reference to `xcb_connect' /usr/lib/i386-linux-gnu/libX11.a(xcb_io.o): In function `require_socket.part.0': (.text+0x724): undefined reference to `xcb_take_socket' /usr/lib/i386-linux-gnu/libX11.a(xcb_io.o): In function `poll_for_event': (.text+0x7c6): undefined reference to `xcb_poll_for_event' /usr/lib/i386-linux-gnu/libX11.a(xcb_io.o): In function `poll_for_response': (.text+0x8fb): undefined reference to `xcb_poll_for_reply' /usr/lib/i386-linux-gnu/libX11.a(xcb_io.o): In function `_XSend': (.text+0xb44): undefined reference to `xcb_writev' /usr/lib/i386-linux-gnu/libX11.a(xcb_io.o): In function `_XReadEvents': (.text+0xd1f): undefined reference to `xcb_connection_has_error' /usr/lib/i386-linux-gnu/libX11.a(xcb_io.o): In function `_XReadEvents': (.text+0xdab): undefined reference to `xcb_wait_for_event' /usr/lib/i386-linux-gnu/libX11.a(xcb_io.o): In function `_XEventsQueued': (.text+0xec2): undefined reference to `xcb_connection_has_error' /usr/lib/i386-linux-gnu/libX11.a(xcb_io.o): In function `_XAllocIDs': (.text+0xfec): undefined reference to `xcb_generate_id' /usr/lib/i386-linux-gnu/libX11.a(xcb_io.o): In function `_XReply': (.text+0x1166): undefined reference to `xcb_wait_for_reply' A pkg-config based config (.pc) would use "Required.private: x11" to fix this. Adding also `pkg-config --static --libs x11` is currently used by me as workaround. But this is no real solution --- System information. --- Architecture: amd64 Kernel: Linux 3.2.0-4-amd64 Debian Release: 7.0 500 unstable www.deb-multimedia.org 500 unstable http.debian.net 500 testing http.debian.net 1 experimental www.deb-multimedia.org 1 experimental http.debian.net --- Package information. --- Depends (Version) | Installed =================================-+-============= libsdl1.2debian (= 1.2.15-5) | libasound2-dev | libcaca-dev | libdirectfb-dev (>= 0.9.22) | libglu1-mesa-dev | OR libglu-dev | libpulse-dev | libx11-dev | libts-dev | libxext-dev | Package's Recommends field is empty. Package's Suggests field is empty. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org