qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] compiling qemu 0.5.3
@ 2004-04-12 15:45 Ryan Freeman
  2004-04-12 16:47 ` Richard Zidlicky
  2004-04-12 18:48 ` Jean-Michel POURE
  0 siblings, 2 replies; 4+ messages in thread
From: Ryan Freeman @ 2004-04-12 15:45 UTC (permalink / raw)
  To: qemu-devel

hi,
i've been relentlessly trying to compile the latest version of qemu and
i keep having the same problem. here are the details of where the
compilation halts:

make[1]: Entering directory `/home/ryan/src/qemu-0.5.3/i386'
gcc  -static -Wl,-T,/home/ryan/src/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
-L/usr/X11R6/lib -lX11 -lXext -lutil
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make[1]: *** [qemu-fast] Error 1
make[1]: Leaving directory `/home/ryan/src/qemu-0.5.3/i386'
make: *** [all] Error 1
ryan@ryan:~/src/qemu-0.5.3$

i've tried cvs as well and it gives me the same error. what i don't
understand is how it can't find -lX11 when the include is _right there_.
/usr/bin/ld -L/usr/X11R6/lib -lX11 works as it should, so why can't it
work on that one line when trying to compile it?! anyway, my specs are
as follows:

arch linux -current
linux 2.6.5
gcc (GCC) 3.3.3

any help would really be appreciated :). the reason i'm trying to
compile the latest instead of using the 0.5.2 binaries is that although
the 0.5.2 binaries work to a degree (the linux test works, i can boot
the demo freedos and netbsd images fine), i can't load from a floppy or
cdrom. i can't load from a floppy image or a cdrom image, either. kinda
baffled at that too. everywhere else it seems that people have no
trouble at all getting it to work :/ the error i get for that is

ryan@ryan:~/src/qemu-0.5.3$ qemu -cdrom /dev/cdroms/cdrom1
warning: could not open /dev/net/tun: no virtual network emulation
BIOS panic at rombios.c, line 1558

sigh. thanks ahead of time, and sorry i'm not subscribed to the list but
i can't connect to the mail.nongnu.org servers to get the subscribe info
:/

- ryan

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] compiling qemu 0.5.3
  2004-04-12 15:45 [Qemu-devel] compiling qemu 0.5.3 Ryan Freeman
@ 2004-04-12 16:47 ` Richard Zidlicky
  2004-04-12 18:48 ` Jean-Michel POURE
  1 sibling, 0 replies; 4+ messages in thread
From: Richard Zidlicky @ 2004-04-12 16:47 UTC (permalink / raw)
  To: qemu-devel

On Mon, Apr 12, 2004 at 08:45:48AM -0700, Ryan Freeman wrote:
> hi,
> i've been relentlessly trying to compile the latest version of qemu and
> i keep having the same problem. here are the details of where the
> compilation halts:
> 
> make[1]: Entering directory `/home/ryan/src/qemu-0.5.3/i386'
> gcc  -static -Wl,-T,/home/ryan/src/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
> -L/usr/X11R6/lib -lX11 -lXext -lutil
> /usr/bin/ld: cannot find -lX11
> collect2: ld returned 1 exit status
> make[1]: *** [qemu-fast] Error 1
> make[1]: Leaving directory `/home/ryan/src/qemu-0.5.3/i386'
> make: *** [all] Error 1
> ryan@ryan:~/src/qemu-0.5.3$
> 
> i've tried cvs as well and it gives me the same error. what i don't
> understand is how it can't find -lX11 when the include is _right there_.
> /usr/bin/ld -L/usr/X11R6/lib -lX11 works as it should, so why can't it
> work on that one line when trying to compile it?! 

use "gcc -v -static..." to see in more detail what happens. 

Richard

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] compiling qemu 0.5.3
  2004-04-12 15:45 [Qemu-devel] compiling qemu 0.5.3 Ryan Freeman
  2004-04-12 16:47 ` Richard Zidlicky
@ 2004-04-12 18:48 ` Jean-Michel POURE
  2004-04-13  7:17   ` Hetz Ben Hamo
  1 sibling, 1 reply; 4+ messages in thread
From: Jean-Michel POURE @ 2004-04-12 18:48 UTC (permalink / raw)
  To: qemu-devel; +Cc: Ryan Freeman

Le lundi 12 Avril 2004 17:45, Ryan Freeman a écrit :
> i've been relentlessly trying to compile the latest version of qemu and
> i keep having the same problem.

The latest SDL libs are broken.

If you only need the PC emulator,
try like explained in the FAQ
http://fabrice.bellard.free.fr/qemu/faq.html:
./configure --target-list=i386-softmmu

Alternatively, if you need all Qemu binaries,
you can run ./configure and add "-lgpm"
in the sdl-config --static-libs line
of your config-host.mak file.

Cheers,
Jean-Michel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] compiling qemu 0.5.3
  2004-04-12 18:48 ` Jean-Michel POURE
@ 2004-04-13  7:17   ` Hetz Ben Hamo
  0 siblings, 0 replies; 4+ messages in thread
From: Hetz Ben Hamo @ 2004-04-13  7:17 UTC (permalink / raw)
  To: qemu-devel, jm; +Cc: Ryan Freeman

I also tracked the SDL breakages in some of my machines to XFree86 update from 
redhat (4.3.0-33). If you have this version, then upgrade to 4.3.0-55

Thanks,
Hetz

On Monday 12 April 2004 20:48, Jean-Michel POURE wrote:
> Le lundi 12 Avril 2004 17:45, Ryan Freeman a ֳ©crit :
> > i've been relentlessly trying to compile the latest version of qemu and
> > i keep having the same problem.
>
> The latest SDL libs are broken.
>
> If you only need the PC emulator,
> try like explained in the FAQ
> http://fabrice.bellard.free.fr/qemu/faq.html:
> ./configure --target-list=i386-softmmu
>
> Alternatively, if you need all Qemu binaries,
> you can run ./configure and add "-lgpm"
> in the sdl-config --static-libs line
> of your config-host.mak file.
>
> Cheers,
> Jean-Michel
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://mail.nongnu.org/mailman/listinfo/qemu-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-04-13  6:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-12 15:45 [Qemu-devel] compiling qemu 0.5.3 Ryan Freeman
2004-04-12 16:47 ` Richard Zidlicky
2004-04-12 18:48 ` Jean-Michel POURE
2004-04-13  7:17   ` Hetz Ben Hamo

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).