From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B6ggp-0003Jq-7F for qemu-devel@nongnu.org; Thu, 25 Mar 2004 21:03:19 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B6ggI-0003Az-3C for qemu-devel@nongnu.org; Thu, 25 Mar 2004 21:03:17 -0500 Received: from [212.216.176.206] (helo=vsmtp12.tin.it) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B6ggH-0003An-Pj for qemu-devel@nongnu.org; Thu, 25 Mar 2004 21:02:45 -0500 Received: from wallace (82.51.4.122) by vsmtp12.tin.it (7.0.027) id 405984ED001919C7 for qemu-devel@nongnu.org; Fri, 26 Mar 2004 03:02:40 +0100 Date: Fri, 26 Mar 2004 03:03:03 +0100 From: Luca Ferroni Subject: Fw: Re: [Qemu-devel] Problem in compiling qemu on Gentoo unstable Message-Id: <20040326030303.4a6b54ef.fferroni@cs.unibo.it> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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 Subject: Re: [Qemu-devel] Problem in compiling qemu on Gentoo unstable Il Tue, 23 Mar 2004 13:57:49 +0200, Hetz Ben Hamo ha scritto: > On Tuesday 23 March 2004 02:42, Luca Ferroni wrote: > > 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 > > > > /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../../i686-pc-linux-gnu/bin/ > >ld: cannot find -lasound > > Install 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 -- ---------------------------------------- Luca Ferroni ICQ #317977679 www.cs.unibo.it/~fferroni/ ----------------------------------------