qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Carlos Valiente <lists@virutass.net>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Gentoo & qemu & non-static build
Date: Mon, 05 Apr 2004 19:19:31 +0100	[thread overview]
Message-ID: <1081189171.686.1.camel@rilke> (raw)
In-Reply-To: <20040404202705.GA30876@jbrown.mylinuxbox.org>

On Sun, 2004-04-04 at 21:27, Jim C. Brown wrote:
> On Sun, Apr 04, 2004 at 10:11:19PM +0200, rutger@mail.com wrote:
> > Hi,
> > 
> > I cannot get qemu to build on Gentoo ~x86. Is has to do with the known
> > problem that alsa-lib is not build staticly, and therefore libsdl.a
> > cannot be linked to, and therefore qemu cannot be build staticly also.
> > 
> > Output in that case:
> > 
> > ...
> > gcc  -static -Wl,-T,/home/rutger/download/qemu-0.5.3/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 -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -lm -ldl -lasound -L/usr/X11R6/lib -lX11 -lXext -laa -L/usr/lib -Wl,-rpath,/usr/lib -laa -lm -L/usr/X11R6/lib -lX11 -lncurses -lutil
> 
> Try using this command instead:
> 
> gcc  -static -Wl,-T,/home/rutger/download/qemu-0.5.3/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 -shared -lm -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -lm -ldl -lasound -L/usr/X11R6/lib -lX11 -lXext -laa -L/usr/lib -Wl,-rpath,/usr/lib -laa -lm -L/usr/X11R6/lib -lX11 -lncurses -lutil
> 
> [..]

Doing a "gcc -shared [..]" ans then the rest as per the original gcc
invocation worked for me, as well

Carlos

  reply	other threads:[~2004-04-05 18:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-04 20:11 [Qemu-devel] Gentoo & qemu & non-static build rutger
2004-04-04 20:27 ` Jim C. Brown
2004-04-05 18:19   ` Carlos Valiente [this message]
2004-04-07 18:04     ` [Qemu-devel] SIGSEGV on start of qemu-fast under gentoo Grzegorz Kulewski
2004-04-07 20:13       ` Fabrice Bellard
2004-04-06 20:23   ` [Qemu-devel] Gentoo & qemu & non-static build rutger
2004-04-15 19:21     ` [Qemu-devel] [PATCH] /dev/tun support (was: Re: Gentoo & qemu & non-static build) Gabriel Ebner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1081189171.686.1.camel@rilke \
    --to=lists@virutass.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).