Mixed shared/static libraries
Dear all,
Building Qemu fails because of a mix of shared and static libraries:
gcc -static -Wl,-T,/home/jmpoure/projets/qemu/qemu/i386-vl.ld -o qemu-fast vl.o osdep.o block.o monitor.o ide.o ne2000.o pckbd.o vga.o sb16.o dma.o oss.o fdc.o mc146818rtc.o serial.o i8259.o i8254.o pc.o gdbstub.o sdl.o libqemu.a -lm -lSDL -lpthread -lm -ldl -lasound -L/usr/X11R6/lib -lX11 -lXext -lvga -laa -L/usr/lib -laa -lm -L/usr/X11R6/lib -lX11 -lslang -lncurses -lutil
/usr/lib/libSDL.a(SDL_loadso.o)(.text+0x2a): dans la fonction « SDL_LoadObject »:
: 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): dans la fonction « _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): dans la fonction « _X11TransSocketINETConnect »:
: warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib/libaa.a(aastdin.o)(.text+0x114): dans la fonction « stdin_getchar »:
Any idea how the ./configure script can be fixed?
This is becoming a rather important issue...
Cheers,
Jean-Michel
It is a problem in your distribution (SDL package), not in QEMU. I'll try to make a faq for the next release. Maybe optionally disabling the build of qemu-fast could be a solution.
Fabrice.
Quoted 27 lines · Jean-Michel POURE
Dear all,
Building Qemu fails because of a mix of shared and static libraries:
gcc -static -Wl,-T,/home/jmpoure/projets/qemu/qemu/i386-vl.ld -o qemu-fast vl.o osdep.o block.o monitor.o ide.o ne2000.o pckbd.o vga.o sb16.o dma.o oss.o fdc.o mc146818rtc.o serial.o i8259.o i8254.o pc.o gdbstub.o sdl.o libqemu.a -lm -lSDL -lpthread -lm -ldl -lasound -L/usr/X11R6/lib -lX11
(quoted diff) +0
-2-lXext -lvga -laa -L/usr/lib -laa -lm -L/usr/X11R6/lib -lX11 -lslang -lncurses -lutil/usr/lib/libSDL.a(SDL_loadso.o)(.text+0x2a): dans la fonction «
SDL_LoadObject»:
: 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): dans la fonction «_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): dans la fonction «_X11TransSocketINETConnect»:
: warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib/libaa.a(aastdin.o)(.text+0x114): dans la fonction «stdin_getchar»:Any idea how the ./configure script can be fixed?
This is becoming a rather important issue...Cheers,
Jean-Michel_______________________________________________
Qemu-devel mailing list
[email protected]
http://mail.nongnu.org/mailman/listinfo/qemu-devel