Compiling the CVS tree
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
Quoted 6 lines · Patrick Ale
Hi,
I did a checkout of the CVS repository.
On ./configure time I get this CSV as a result:
<snip>
Quoted 4 lines
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).
Quoted 16 lines
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.oslirp/cksum.oslirp/if.oslirp/ip_icmp.oslirp/ip_input.oslirp/ip_output.oslirp/slirp.oslirp/mbuf.oslirp/misc.oslirp/sbuf.oslirp/socket.oslirp/tcp_input.oslirp/tcp_output.oslirp/tcp_subr.oslirp/tcp_timer.oslirp/udp.oslirp/bootp.oslirp/debug.oslirp/tftp.olibqemu.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
Quoted 2 lines
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.)
Quoted 14 lines
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
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel
Signature · 2 lines
Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection.
Quoted 6 lines · Jim C. Brown
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