Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JLGPf-0007h2-O3 for qemu-devel@nongnu.org; Sat, 02 Feb 2008 06:19:59 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JLGPd-0007eJ-5C for qemu-devel@nongnu.org; Sat, 02 Feb 2008 06:19:58 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JLGPd-0007dz-03 for qemu-devel@nongnu.org; Sat, 02 Feb 2008 06:19:57 -0500 Received: from mailfe13.tele2.fr ([212.247.155.140] helo=swip.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JLGPc-0001Op-Ko for qemu-devel@nongnu.org; Sat, 02 Feb 2008 06:19:56 -0500 Received: from d77-218-89-163.cust.tele2.fr (account eu1339945@tele2.fr [77.218.89.163] verified) by mailfe13.swip.net (CommuniGate Pro SMTP 5.1.13) with ESMTPA id 401825829 for qemu-devel@nongnu.org; Sat, 02 Feb 2008 12:19:52 +0100 From: solsTiCe d'Hiver Date: Sat, 2 Feb 2008 12:19:41 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200802021219.41689.solstice.dhiver@gmail.com> Subject: [Qemu-devel] [qemu 0.9.1] broken build system 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 hi. i am trying to compile qemu 0.9.1 on archlinux 64 (x86_64) when i try to compile it with : ./configure --prefix=/usr --enable-alsa --host-cc=gcc-3.4 --target-list="i386-softmmu ppc-softmmu sparc-softmmu x86_64-softmmu arm-softmmu mips-softmmu" avoiding all the *-user target as specified in the original PKGBUILD i use, because they do not compile on x86_64 (???) i got this error: gcc-3.4 -m64 -Wl,-T,/home/solstice/abs/qemu/src/qemu-0.9.1/x86_64.ld -g -o qemu vl.o osdep.o monitor.o pci.o loader.o isa_mmio.o block-raw-posix.o lsi53c895a.o usb-ohci.o eeprom93xx.o eepro100.o ne2000.o pcnet.o rtl8139.o ide.o pckbd.o ps2.o vga.o sb16.o es1370.o dma.o fdc.o mc146818rtc.o serial.o i8259.o i8254.o pcspk.o pc.o cirrus_vga.o apic.o parallel.o acpi.o piix_pci.o usb-uhci.o vmmouse.o vmport.o vmware_vga.o gdbstub.o ../libqemu_common.a libqemu.a -lm -lz -lasound -lgnutls -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -lrt -lpthread -lutil /usr/bin/ld: warning: libdl.so.2, needed by /usr/lib/libasound.so, not found (try using -rpath or -rpath-link) /usr/lib/libSDL.so: undefined reference to `dlvsym@GLIBC_2.2.5' /usr/lib/libasound.so: undefined reference to `dlopen@GLIBC_2.2.5' /usr/lib/libSDL.so: undefined reference to `dlerror@GLIBC_2.2.5' /usr/lib/libasound.so: undefined reference to `dlclose@GLIBC_2.2.5' /usr/lib/libasound.so: undefined reference to `dlsym@GLIBC_2.2.5' /usr/lib/libasound.so: undefined reference to `dladdr@GLIBC_2.2.5' collect2: ld returned 1 exit status make[1]: *** [qemu] Error 1 make[1]: Leaving directory `/home/solstice/abs/qemu/src/qemu-0.9.1/i386-softmmu' make: *** [subdir-i386-softmmu] Error 2 a linking problem ? $ locate libdl /lib/libdl-2.7.so /lib/libdl.so.2 /usr/lib/libdl.a /usr/lib/libdl.so and /usr/lib/libdl.so is a symlink towards /lib/libdl.so.2 if i make a symlink: ln -s /usr/bin/libdl.so /usr/bin/libdl.so.2 it works ! until the next bug if i try to walk around that bug without that symlink i had to patch the config-host.mak to had a rpath toward /lib. well, i don't know how it's work. i simply used the error message and grep for rpath in src directory i can't fix the configure or whatever. HELP ! i got similar error when i try to compile *-user target but this time with libz.so.1. i do not make a symlink here... i am not gonna fix the build system by making symlink all around WAIT ! i am not finished ;-) and by the way, it fixes one problem but i got another one: i install -m 755 -s qemu-system-mips "/home/solstice/abs/qemu/pkg/usr/bin" make[1]: Leaving directory `/home/solstice/abs/qemu/src/qemu-0.9.1/mips-softmmu' ERROR: unknown option --host-cc Usage: ./configure [options] Options include: --arch=ARCH architecture to compile for (x86_64) --cross-prefix=PREFIX prefix for cross compile --prefix=PREFIX where to install things (/usr) --with-patched-kernel don't use external module --kerneldir=DIR kernel build directory (/lib/modules/2.6.23-ARCH/build) --qemu-cc=CC specify compiler for qemu (must be gcc-3.x) --qemu-cflags=CFLAGS CFLAGS to add to qemu configuration --qemu-ldflags=LDFLAGS LDFLAGS to add to qemu configuration Any additional option is given to qemu's configure verbatim; including: --disable-gcc-check don't insist on gcc-3.x CAUTION: this will break running without kvm --disable-werror disable compilation abort on warning --disable-sdl disable SDL --enable-cocoa enable COCOA (Mac OS X only) --enable-mingw32 enable Win32 cross compilation with mingw32 --enable-adlib enable Adlib emulation --enable-coreaudio enable Coreaudio audio driver --enable-alsa enable ALSA audio driver --enable-fmod enable FMOD audio driver --enable-dsound enable DirectSound audio driver --disable-vnc-tls disable TLS encryption for VNC server Makefile:1: ../config.mak: No such file or directory make: *** No rule to make target `../config.mak'. Stop. ==> ERROR: Build Failed. Aborting... WTF ! --host-cc is not recognize here. but wait we're installing and a configure option get in the way... i really do not understand anything ....