* [Qemu-devel] Mixed shared/static libraries
@ 2004-04-01 9:12 Jean-Michel POURE
2004-04-01 22:02 ` Fabrice Bellard
0 siblings, 1 reply; 2+ messages in thread
From: Jean-Michel POURE @ 2004-04-01 9:12 UTC (permalink / raw)
To: qemu-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] Mixed shared/static libraries
2004-04-01 9:12 [Qemu-devel] Mixed shared/static libraries Jean-Michel POURE
@ 2004-04-01 22:02 ` Fabrice Bellard
0 siblings, 0 replies; 2+ messages in thread
From: Fabrice Bellard @ 2004-04-01 22:02 UTC (permalink / raw)
To: jm, qemu-devel
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.
Jean-Michel POURE wrote:
> 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
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://mail.nongnu.org/mailman/listinfo/qemu-devel
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-04-01 22:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-01 9:12 [Qemu-devel] Mixed shared/static libraries Jean-Michel POURE
2004-04-01 22:02 ` Fabrice Bellard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).