qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Compiling the CVS tree
@ 2004-11-09 10:18 Patrick Ale
  2004-11-09 13:20 ` Jim C. Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Patrick Ale @ 2004-11-09 10:18 UTC (permalink / raw)
  To: qemu-devel

Hi,

I did a checkout of the CVS repository.

On ./configure time I get this CSV as a result:

patrick@juliana:~/workspace/qemu/qemu$ ./configure --prefix=/usr/local/qemu
Install prefix    /usr/local/qemu
BIOS directory    /usr/local/qemu/share/qemu
binary directory  /usr/local/qemu/bin
Manual directory  /usr/local/qemu/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Source path       /home/patrick/workspace/qemu/qemu
C compiler        gcc
make              make
host CPU          i386
host big endian   no
target list       i386-user i386 i386-softmmu arm-user sparc-user ppc-user ppc-s
oftmmu sparc-softmmu
gprof enabled     no
static build      no
SDL support       yes
SDL static link   no
mingw32 support   no
WARNING: cannot compile statically with SDL - qemu-fast won't have a graphical o
utput

Which was allright for me, I dont intend to use qemu-fast anyway.

But when I run make I get:
gcc  -static -Wl,-T,/home/patrick/workspace/qemu/qemu/i386-vl.ld  -o qemu-fast v
l.o osdep.o block.o readline.o monitor.o pci.o console.o block-cow.o block-qcow.
o aes.o block-vmdk.o block-cloop.o ide.o ne2000.o pckbd.o vga.o sb16.o dma.o aud
io.o ossaudio.o sdlaudio.o wavaudio.o fdc.o mc146818rtc.o serial.o i8259.o i8254
.o pc.o cirrus_vga.o mixeng.o gdbstub.o slirp/cksum.o slirp/if.o slirp/ip_icmp.o
slirp/ip_input.o slirp/ip_output.o slirp/slirp.o slirp/mbuf.o slirp/misc.o slir
p/sbuf.o slirp/socket.o slirp/tcp_input.o slirp/tcp_output.o slirp/tcp_subr.o sl
irp/tcp_timer.o slirp/udp.o slirp/bootp.o slirp/debug.o slirp/tftp.o libqemu.a
-lm -lz  -lutil
slirp/misc.o(.text+0x2a): In function `getouraddr':
/home/patrick/workspace/qemu/qemu/slirp/misc.c:96: warning: Using 'gethostbyname
' in statically linked applications requires at runtime the shared libraries fro
m the glibc version used for linking

Obviously I am missing something but I have no idea what shared
librarie I am missing. I run Debian/Testing. Does anyone have an idea
what addition deb package I need or what I have to compile manualy to
get QEMU into compiling?

Cheers,

Patrick

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

* Re: [Qemu-devel] Compiling the CVS tree
  2004-11-09 10:18 [Qemu-devel] Compiling the CVS tree Patrick Ale
@ 2004-11-09 13:20 ` Jim C. Brown
  2004-11-09 14:02   ` Patrick Ale
  0 siblings, 1 reply; 3+ messages in thread
From: Jim C. Brown @ 2004-11-09 13:20 UTC (permalink / raw)
  To: Patrick Ale, qemu-devel

On Tue, Nov 09, 2004 at 11:18:28AM +0100, Patrick Ale wrote:
> Hi,
> 
> I did a checkout of the CVS repository.
> 
> On ./configure time I get this CSV as a result:
> 
<snip>
> WARNING: cannot compile statically with SDL - qemu-fast won't have a graphical o
> utput
> 
> Which was allright for me, I dont intend to use qemu-fast anyway.

Then you need to tell configure not to bother compiling qemu-fast. You
probably only want i386-softmmu. (This is in the FAQ so I won't repeat it here).

> 
> But when I run make I get:
> gcc  -static -Wl,-T,/home/patrick/workspace/qemu/qemu/i386-vl.ld  -o qemu-fast v
> l.o osdep.o block.o readline.o monitor.o pci.o console.o block-cow.o block-qcow.
> o aes.o block-vmdk.o block-cloop.o ide.o ne2000.o pckbd.o vga.o sb16.o dma.o aud
> io.o ossaudio.o sdlaudio.o wavaudio.o fdc.o mc146818rtc.o serial.o i8259.o i8254
> .o pc.o cirrus_vga.o mixeng.o gdbstub.o slirp/cksum.o slirp/if.o slirp/ip_icmp.o
> slirp/ip_input.o slirp/ip_output.o slirp/slirp.o slirp/mbuf.o slirp/misc.o slir
> p/sbuf.o slirp/socket.o slirp/tcp_input.o slirp/tcp_output.o slirp/tcp_subr.o sl
> irp/tcp_timer.o slirp/udp.o slirp/bootp.o slirp/debug.o slirp/tftp.o libqemu.a
> -lm -lz  -lutil
> slirp/misc.o(.text+0x2a): In function `getouraddr':
> /home/patrick/workspace/qemu/qemu/slirp/misc.c:96: warning: Using 'gethostbyname
> ' in statically linked applications requires at runtime the shared libraries fro
> m the glibc version used for linking
> 
> Obviously I am missing something but I have no idea what shared
> librarie I am missing.

That would be /lib/libc.so.6 ... except that this is not missing. The message
is a warning (which is why it says "warning:") not an error. Does this actually
cause make to abort or something? Because it shouldn't. (I get this error too
when compiling qemu-fast but qemu-fast still works fine. It would just stop
working if I upgraded (or downgraded) glibc.)

> I run Debian/Testing. Does anyone have an idea
> what addition deb package I need or what I have to compile manualy to
> get QEMU into compiling?
> 
> Cheers,
> 
> Patrick
> 
> 
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
> 

-- 
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.

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

* Re: [Qemu-devel] Compiling the CVS tree
  2004-11-09 13:20 ` Jim C. Brown
@ 2004-11-09 14:02   ` Patrick Ale
  0 siblings, 0 replies; 3+ messages in thread
From: Patrick Ale @ 2004-11-09 14:02 UTC (permalink / raw)
  To: jbrown106; +Cc: qemu-devel

On Tue, 9 Nov 2004 08:20:37 -0500, Jim C. Brown <jbrown106@phreaker.net> wrote:

> 
> That would be /lib/libc.so.6 ... except that this is not missing. The message
> is a warning (which is why it says "warning:") not an error. Does this actually
> cause make to abort or something? Because it shouldn't. (I get this error too
> when compiling qemu-fast but qemu-fast still works fine. It would just stop
> working if I upgraded (or downgraded) glibc.)

No actually this was the first warning/error I got followed by some
SDL errors. I thought they had to do with eachother but obviously they
didnt. I did a ./configure --target-list=i386-softmmu followed by a
make and now it does work.

Thanks for pointing me out to the FAQ, I totaly overread that on the
site, maybe it's time for new glasses or less coffee ;-)

Cheers,

Patrick

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

end of thread, other threads:[~2004-11-09 14:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-09 10:18 [Qemu-devel] Compiling the CVS tree Patrick Ale
2004-11-09 13:20 ` Jim C. Brown
2004-11-09 14:02   ` Patrick Ale

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