Skip to contentSkip to conversation

source code compile error: "No rule to make target `../libhw64/virtio-console.o', needed by `qemu-system-x86_64'"

qemu-kvm Wangpan 2 participants 3 messages Aug 23, 2012 – Sep 7, 2012 KVM

lore
Share & tools
lore

Wangpan

author
#0 lore raw

Hi all,
I got this error when I compile the source tarball "qemu-kvm-1.1.1.tar.gz" and "qemu-kvm-1.1.0.tar.gz" and as well as codes clone from git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git,
the compile command I used is "./configure && make".
I google this error but find nothing, I have no idea now.
anybody can give me some clue? thanks very much!

2012-08-23
Wangpan

#1 lore raw
Quoted 6 lines · Wangpan

Hi all,
I got this error when I compile the source tarball "qemu-kvm-1.1.1.tar.gz" and "qemu-kvm-1.1.0.tar.gz" and as well as codes clone from git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git,
the compile command I used is "./configure && make".
I google this error but find nothing, I have no idea now.
anybody can give me some clue? thanks very much!

Strange, do you have hw/virtio-console.c?

Signature · 1 line
error compiling committee.c: too many arguments to function
author
#2 lore raw
Quoted 9 lines · Wangpan
Quoted 6 lines

Hi all,
I got this error when I compile the source tarball "qemu-kvm-1.1.1.tar.gz" and "qemu-kvm-1.1.0.tar.gz" and as well as codes clone from git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git,
the compile command I used is "./configure && make".
I google this error but find nothing, I have no idea now.
anybody can give me some clue? thanks very much!

Strange, do you have hw/virtio-console.c?

Thanks Avi first
I have known the reason now, it is because someone else set the env $GREP_COLOR, so the output of 'grep' cmd is corrupted by the color messages. When I clear this 'GREP_COLOR' env, the compile procedure is very smoothly.

Wangpan