From: Jean-Philippe Menil Subject: Build error with the io-thread option Date: Fri, 22 Oct 2010 13:39:58 +0200 Message-ID: <4CC1780E.1060101@univ-nantes.fr> Reply-To: jean-philippe.menil@univ-nantes.fr Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------040409030004060908070703" To: kvm@vger.kernel.org Return-path: Received: from smtp-tls1.univ-nantes.fr ([193.52.101.145]:46314 "EHLO smtp-tls.univ-nantes.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753376Ab0JVLyY (ORCPT ); Fri, 22 Oct 2010 07:54:24 -0400 Received: from localhost (debian [127.0.0.1]) by smtp-tls.univ-nantes.fr (Postfix) with ESMTP id 9394795405 for ; Fri, 22 Oct 2010 13:43:57 +0200 (CEST) Received: from smtp-tls.univ-nantes.fr ([127.0.0.1]) by localhost (smtp-tls1.d101.univ-nantes.fr [127.0.0.1]) (amavisd-new, port 10024) with LMTP id qkf3K2S1k95k for ; Fri, 22 Oct 2010 13:43:57 +0200 (CEST) Received: from [172.20.13.5] (antares.cri.univ-nantes.prive [172.20.13.5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-tls.univ-nantes.fr (Postfix) with ESMTPSA id 7F594953FD for ; Fri, 22 Oct 2010 13:43:57 +0200 (CEST) Sender: kvm-owner@vger.kernel.org List-ID: This is a multi-part message in MIME format. --------------040409030004060908070703 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, i encounter the following problem, when i attempt to build qemu-kvm with the "--enable-io-thread" option: Build64:/home/menil-jp/qemu-kvm-0.13.0# debian/rules binary-arch /usr/bin/make -f debian/rules config-host.mak make[1]: Entering directory `/home/menil-jp/qemu-kvm-0.13.0' make[1]: `config-host.mak' is up to date. make[1]: Leaving directory `/home/menil-jp/qemu-kvm-0.13.0' dh_testdir /usr/bin/make make[1]: Entering directory `/home/menil-jp/qemu-kvm-0.13.0' LINK x86_64-softmmu/qemu-system-x86_64 kvm-all.o: In function `qemu_mutex_lock_iothread': /home/menil-jp/qemu-kvm-0.13.0/qemu-kvm.c:1773: multiple definition of `qemu_mutex_lock_iothread' cpus.o:/home/menil-jp/qemu-kvm-0.13.0/cpus.c:736: first defined here kvm-all.o: In function `qemu_mutex_unlock_iothread': /home/menil-jp/qemu-kvm-0.13.0/qemu-kvm.c:1766: multiple definition of `qemu_mutex_unlock_iothread' cpus.o:/home/menil-jp/qemu-kvm-0.13.0/cpus.c:752: first defined here ../compatfd.o: In function `qemu_signalfd': /home/menil-jp/qemu-kvm-0.13.0/compatfd.c:105: multiple definition of `qemu_signalfd' ../compatfd.o:/home/menil-jp/qemu-kvm-0.13.0/compatfd.c:105: first defined here collect2: ld returned 1 exit status make[2]: *** [qemu-system-x86_64] Error 1 make[1]: *** [subdir-x86_64-softmmu] Error 2 make[1]: Leaving directory `/home/menil-jp/qemu-kvm-0.13.0' make: *** [build] Error 2 The source are from the last git version. I am missing something with the io-thread option? Regards. --------------040409030004060908070703 Content-Type: text/x-vcard; charset=utf-8; name="jean-philippe_menil.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="jean-philippe_menil.vcf" begin:vcard fn:Jean-Philippe Menil n:Menil;Jean-Philippe org;quoted-printable:Universit=C3=A9 de Nantes;IRTS - DSI adr;quoted-printable:;;2, rue de la Houssini=C3=A8re;Nantes;Loire-Atlantique;44332;France email;internet:jean-philippe.menil@univ-nantes.fr title;quoted-printable:Administrateur R=C3=A9seau tel;work:02.51.12.53.92 tel;fax:02.51.12.58.60 x-mozilla-html:FALSE url:http://www.criun.univ-nantes.fr/ version:2.1 end:vcard --------------040409030004060908070703--