Problem in compiling qemu on Gentoo unstable
Sorry I've been out of qemu-devel mailing-list for some days because of a problem in changing my email subscription address.
I send you this message I wrote few days ago and it's never been delivered.
Notice: Gentoo is an up-to-date distribution, there are no precompiled packages, all is built from source. The source is placed in distribution very soon as it is developed, so I don't think the post
"[Qemu-devel] libnas,lib-alsa-devel and other compilation error - SOLUTION" by Hetz Ben Hamo, will solve the problem for Gentoo users.
I will try the solution anyway as soon as I have a timeslice :)
Following my friend suggestion
in these days I compile qemu-fast on a Debian unstable system in a static way. Then I copy executable in Gentoo system.
Bye
-----------------------------
Forwarded message:
Date: Tue, 23 Mar 2004 16:59:14 +0100
From: Luca Ferroni <[email protected]>
Subject: Re: [Qemu-devel] Problem in compiling qemu on Gentoo unstable
Il Tue, 23 Mar 2004 13:57:49 +0200, Hetz Ben Hamo <[email protected]> ha scritto:
Quoted 9 lines · Luca Ferroni
Quoted 8 lines
Hi all,
I have an up to date x86 Gentoo and I can't compile qemu-fast I get this warning followed by an error:/usr/lib/libSDL.a(SDL_loadso.o)(.text+0x1b): In function `SDL_LoadObject':
: warning: Using 'dlopen' in statically linked applications requires at : runtime the shared libraries from the glibc version used for linking
Quoted 6 lines
Quoted 2 lines
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../../i686-pc-linux-gnu/bin/
ld: cannot find -lasoundInstall the alsa-lib-devel package and retry ;)
Hetz
There is not alsa-lib-devel ebuild in gentoo, but I succeded in installing static alsa-lib. For gentoo users:
cd /usr/portage/media-libs/alsa-lib/ ebuild alsa-lib-x.y.z.ebuild unpack cd /var/tmp/portage/alsa-lib-x.y.z/work/alsa-lib-x.y.z/ ./configure --enable-shared=no --enable-static=yes
You can't build shared and library together
But now the challenge is to do this with libgii and libggi wich --enable-static flag is not supported.
Paste from INSTALL
------------------------------
In case you are toying with the thought to build LibGGI statically for some reason, please note, that due to the dynamic nature of LibGGI this makes no sense and is unsupported, so don't use:
--enable-static not supported
-------------------------------
So, what kind of library qemu-fast need?
Thanks
Signature · 5 lines
---------------------------------------- Luca Ferroni ICQ #317977679 www.cs.unibo.it/~fferroni/ ----------------------------------------