Skip to contentSkip to conversation

Build error with the io-thread option

DISCUSSION Jean-Philippe Menil 2 participants 3 messages Oct 22, 2010 KVM

lore
Share & tools
lore
#0 lore raw

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.

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:[email protected] 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

#1 lore raw

2010/10/22 Jean-Philippe Menil <[email protected]>:

Quoted 2 lines

i encounter the following problem, when i attempt to build qemu-kvm with the "--enable-io-thread" option:

--enable-io-thread doesn't build in qemu-kvm.git. qemu-kvm.git has an equivalent implemented and used automatically so you don't need to set --enable-io-thread.

Stefan

#2 lore raw
Quoted 8 lines · Stefan Hajnoczi

2010/10/22 Jean-Philippe Menil<[email protected]>:

Quoted 2 lines

i encounter the following problem, when i attempt to build qemu-kvm with the "--enable-io-thread" option:

--enable-io-thread doesn't build in qemu-kvm.git. qemu-kvm.git has an equivalent implemented and used automatically so you don't need to set --enable-io-thread.

Quoted 5 lines

Stefan
--
To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Hi,

ok, so, i don't have to worry.
Many thanks for your response.

Regards.

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:[email protected] 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