qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Qemu 0.5x not compiling with XFree86 4.3


From: Theodore Ts'o
Subject: [Qemu-devel] Qemu 0.5x not compiling with XFree86 4.3
Date: Fri, 26 Dec 2003 16:30:59 -0500

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]