Re: build error

Avi Kivity
2007-10-11T14:20:22Z

Zhao, Yunfeng wrote:
>
> I meet following error while compile latest kvm source code.
>
> …………..
>
> make -C qemu
>
> make[1]: Entering directory
> `/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071010190122210/kvm-userspace/qemu'
>
> Makefile:3: config-host.mak: No such file or directory
>
> make[1]: *** No rule to make target `config-host.mak'. Stop.
>
> make[1]: Leaving directory
> `/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071010190122210/kvm-userspace/qemu'
>
> make: *** [qemu] Error 2
>
> ………….
>
> If run ./qemu/configure, it turns:
>
> [root@kvm-build qemu]# ./configure
>
> ./configure: line 415: /tmp/qemu-conf-28011-8352-8345.c: No such file
> or directory
>
> ERROR: "gcc" either does not exist or does not work
>
> How can I resolve this issue?
>
> I am using RHEL5 x86_64, gcc version 4.1.1
>

What is the output of the top-level ./configure?

Note you need gcc 3.x, on Red Hat systems the package is called
compat-gcc-32 or compat-gcc-34.

--
error compiling committee.c: too many arguments to function