Re: [kvm-devel] build error

2007-11-28 Thread Avi Kivity
Neo Jia wrote:
 On Nov 28, 2007 12:37 AM, Uri Lublin [EMAIL PROTECTED] wrote:
   
 Please install unifdef and retry (from make -C kernel sync).
 

 Do we need to add a unifdef checking in configure? At least my Fedora
 8 dose not have that command.
   


unifdef is only needed for people who run 'make sync'; that command is 
not necessary when compiling the tarballs.

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


-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel


Re: [kvm-devel] Build error

2007-10-23 Thread Zhao, Yunfeng
Didn't see it on kvm tree.
The latest commit is 20 hours ago.



I think Anthony has posted a patch to correct this, the name is [kvm-devel]
[PATCH] Fix external module build.

Laurent

Zhao, Yunfeng a écrit :
 I fails to build the latest tip.
 A .h file is missing.
 error: asm/kvm_para.h: No such file or directory

 -Original Message-
 From: root [mailto:[EMAIL PROTECTED]
 Sent: 2007年10月23日 10:49
 Subject:

 make -C kernel
 make[1]: Entering directory

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/___
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel


Re: [kvm-devel] Build error

2007-10-23 Thread Avi Kivity
Zhao, Yunfeng wrote:
 Didn't see it on kvm tree.
 The latest commit is 20 hours ago.
   

It's now in.

-- 
Do not meddle in the internals of kernels, for they are subtle and quick to 
panic.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/___
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel


Re: [kvm-devel] build error

2007-10-11 Thread Avi Kivity
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:

 [EMAIL PROTECTED] 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


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel


Re: [kvm-devel] build error

2007-10-11 Thread Zhao, Yunfeng
The same as under qemu/
[EMAIL PROTECTED] kvm-userspace]# ./configure
./configure: line 415: /tmp/qemu-conf-24955-17104-27972.c: No such file
or directory
ERROR: /usr/bin/gcc34 either does not exist or does not work

I am using RHEL5, and compat-gcc-34-g77-3.4.6-4 has been installed on
it.
This error happens since yesterday.Before the machine has no problem to
build KVM. It should be a new regression.

Thanks
Yunfeng



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

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel


Re: [kvm-devel] build error

2007-10-11 Thread Laurent Vivier
if you put set -x at line 409 of configure, perhaps we can have more 
information.

Laurent

Zhao, Yunfeng wrote:
 The same as under qemu/
 [EMAIL PROTECTED] kvm-userspace]# ./configure
 ./configure: line 415: /tmp/qemu-conf-24955-17104-27972.c: No such file
 or directory
 ERROR: /usr/bin/gcc34 either does not exist or does not work
 
 I am using RHEL5, and compat-gcc-34-g77-3.4.6-4 has been installed on
 it.
 This error happens since yesterday.Before the machine has no problem to
 build KVM. It should be a new regression.
 
 Thanks
 Yunfeng
 
 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
 
 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now  http://get.splunk.com/
 ___
 kvm-devel mailing list
 kvm-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/kvm-devel
 


-- 
 [EMAIL PROTECTED]  -
Given enough eyeballs, all bugs are shallow E. S. Raymond



signature.asc
Description: OpenPGP digital signature
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/___
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel


Re: [kvm-devel] build error

2007-10-11 Thread Avi Kivity
Zhao, Yunfeng wrote:
 The same as under qemu/
 [EMAIL PROTECTED] kvm-userspace]# ./configure
 ./configure: line 415: /tmp/qemu-conf-24955-17104-27972.c: No such file
 or directory
 ERROR: /usr/bin/gcc34 either does not exist or does not work
   

Looks like /tmp is full, of read-only, or something.

The .c file which is missing is generated by the following lines:

 cat  $TMPC EOF
 int main(void) {}
 EOF


I hate bash.


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


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel


Re: [kvm-devel] build error

2007-10-11 Thread Zhao, Yunfeng
My fault~ :(
I should spend more time to check the problem.
Don't know why the system lost the /tmp!
Thanks for your help!
Yunfeng


-Original Message-
From: Avi Kivity [mailto:[EMAIL PROTECTED]
Sent: 2007年10月11日 22:38
To: Zhao, Yunfeng
Cc: kvm-devel@lists.sourceforge.net
Subject: Re: [kvm-devel] build error

Zhao, Yunfeng wrote:
 The same as under qemu/
 [EMAIL PROTECTED] kvm-userspace]# ./configure
 ./configure: line 415: /tmp/qemu-conf-24955-17104-27972.c: No such file
 or directory
 ERROR: /usr/bin/gcc34 either does not exist or does not work


Looks like /tmp is full, of read-only, or something.

The .c file which is missing is generated by the following lines:

 cat  $TMPC EOF
 int main(void) {}
 EOF


I hate bash.


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

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/___
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel


Re: [kvm-devel] build error

2007-07-31 Thread Avi Kivity
Zhao, Yunfeng wrote:

 I met following compile errors while building latest kvm.

 [EMAIL PROTECTED] kvm-userspace]# make

 make -C kernel

 make[1]: Entering directory `/workspace/tmp/kvm-userspace/kernel'

 make -C /lib/modules/2.6.22-rc4/build M=`pwd` $@

 make[2]: Entering directory 
 `/usr/src/redhat/BUILD/kernel-2.6.22rc4g85f6038f'

 CC [M] /workspace/tmp/kvm-userspace/kernel/svm.o

 In file included from /workspace/tmp/kvm-userspace/kernel/kvm_svm.h:10,

 from /workspace/tmp/kvm-userspace/kernel/svm.c:17:

 /workspace/tmp/kvm-userspace/kernel/kvm.h:302: error: field 
 ‘preempt_notifier’ has incomplete type


External module support got temporarily broken on 2.6.23-rc1 and 
previous kernels due to the use of the new preempt notifiers core 
functionality. I am working on emulating it for older kernels, but it 
may take a bit (I have a patch but it doesn't work well at the moment).

Note that in any case, external modules can be slower than a native 
build (i.e. build the kernel using kvm.git) as some pieces of core 
functionality need to be emulated.

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


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel