Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1Aa0Vz-0000JO-1y for qemu-devel@nongnu.org; Fri, 26 Dec 2003 17:33:03 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1Aa0VS-00009t-71 for qemu-devel@nongnu.org; Fri, 26 Dec 2003 17:33:02 -0500 Received: from [140.239.227.29] (helo=thunker.thunk.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1Aa0VR-00009c-V6 for qemu-devel@nongnu.org; Fri, 26 Dec 2003 17:32:30 -0500 From: "Theodore Ts'o" Message-Id: Sender: Theodore Ts'o Date: Fri, 26 Dec 2003 16:30:59 -0500 Subject: [Qemu-devel] Qemu 0.5x not compiling with XFree86 4.3 Reply-To: qemu-devel@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi there, I've been trying to compile qemu with XFree86 4.3 under Debian Unstable, and it's been bombing out with the following error: gcc -static -Wl,-T,/usr/projects/qemu/qemu-0.5.1/i386-vl.ld -o qemu-fast vl.o block.o ide.o vga.o sb16.o dma.o oss.o sdl.o libqemu.a -lm -lSDL -lpthread -lm -ldl -L/usr/X11R6/lib -lX11 -lXext /usr/lib/gcc-lib/i386-linux/3.2.3/../../../libSDL.a(SDL_x11gl.lo)(.text+0x946): In function `X11_GL_LoadLibrary': : warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/X11R6/lib/libX11.a(x11trans.o)(.text+0x995): In function `_X11TransSocketINETConnect': : warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/X11R6/lib/libX11.a(x11trans.o)(.text+0x76a): In function `_X11TransSocketINETConnect': : warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/X11R6/lib/libX11.a(imDefIm.o)(.text+0x291f): In function `_XimProtoOpenIM':: undefined reference to `XimShutdown' collect2: ld returned 1 exit status make[1]: *** [qemu-fast] Error 1 make[1]: Leaving directory `/usr/projects/qemu/qemu-0.5.1/i386' make: *** [all] Error 1 If I forcibly remove -static, it seems to compile. Is this a known problem? Is removing -static from the linker line the best workaround? Many thanks! - Ted