Re: Build error

Laurent Vivier
2007-10-23T07:08:52Z

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:root@localhost.localdomain]
> Sent: 2007年10月23日 10:49
> Subject:
>
> make -C kernel
> make[1]: Entering directory `/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel'
> make -j20 -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/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/svm.o
> CC [M] /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/vmx.o
> CC [M] /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/vmx-debug.o
> CC [M] /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/kvm_main.o
> CC [M] /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/x86.o
> CC [M] /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/mmu.o
> CC [M] /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/x86_emulate.o
> CC [M] /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/anon_inodes.o
> CC [M] /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/irq.o
> CC [M] /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/i8259.o
> In file included from /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/external-module-compat.h:13,
> from <command line>:1:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/include/linux/kvm_para.h:19:26: error: asm/kvm_para.h: No such file or directory
> In file included from /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/external-module-compat.h:13,
> from <command line>:1:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/include/linux/kvm_para.h: In function ‘kvm_para_has_feature’:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/include/linux/kvm_para.h:23: warning: implicit declaration of function ‘kvm_arch_para_features’
> CC [M] /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/lapic.o
> In file included from /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/external-module-compat.h:13,
> from <command line>:1:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/include/linux/kvm_para.h:19:26: error: asm/kvm_para.h: No such file or directory
> In file included from /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/external-module-compat.h:13,
> from <command line>:1:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/include/linux/kvm_para.h: In function ‘kvm_para_has_feature’:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/include/linux/kvm_para.h:23: warning: implicit declaration of function ‘kvm_arch_para_features’
> CC [M] /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/ioapic.o
> In file included from /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/external-module-compat.h:13,
> from <command line>:1:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/include/linux/kvm_para.h:19:26: error: asm/kvm_para.h: No such file or directory
> In file included from /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/external-module-compat.h:13,
> from <command line>:1:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/include/linux/kvm_para.h: In function ‘kvm_para_has_feature’:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/include/linux/kvm_para.h:23: warning: implicit declaration of function ‘kvm_arch_para_features’
> CC [M] /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/preempt.o
> In file included from /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/external-module-compat.h:13,
> from <command line>:1:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/include/linux/kvm_para.h:19:26: error: asm/kvm_para.h: No such file or directory
> In file included from /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/external-module-compat.h:13,
> from <command line>:1:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/include/linux/kvm_para.h: In function ‘kvm_para_has_feature’:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/include/linux/kvm_para.h:23: warning: implicit declaration of function ‘kvm_arch_para_features’
> In file included from /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/external-module-compat.h:13,
> from <command line>:1:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/include/linux/kvm_para.h:19:26: error: asm/kvm_para.h: No such file or directory
> In file included from /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/external-module-compat.h:13,
> from <command line>:1:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/include/linux/kvm_para.h: In function ‘kvm_para_has_feature’:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/include/linux/kvm_para.h:23: warning: implicit declaration of function ‘kvm_arch_para_features’
> In file included from /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/external-module-compat.h:13,
> from <command line>:1:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/include/linux/kvm_para.h:19:26: error: asm/kvm_para.h: No such file or directory
> In file included from /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/external-module-compat.h:13,
> from <command line>:1:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/include/linux/kvm_para.h: In function ‘kvm_para_has_feature’:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/include/linux/kvm_para.h:23: warning: implicit declaration of function ‘kvm_arch_para_features’
> In file included from /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/external-module-compat.h:13,
> from <command line>:1:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/include/linux/kvm_para.h:19:26: error: asm/kvm_para.h: No such file or directory
> In file included from /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/external-module-compat.h:13,
> from <command line>:1:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/include/linux/kvm_para.h: In function ‘kvm_para_has_feature’:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/include/linux/kvm_para.h:23: warning: implicit declaration of function ‘kvm_arch_para_features’
> In file included from /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/external-module-compat.h:13,
> from <command line>:1:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/include/linux/kvm_para.h:19:26: error: asm/kvm_para.h: No such file or directory
> In file included from /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/external-module-compat.h:13,
> from <command line>:1:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/include/linux/kvm_para.h: In function ‘kvm_para_has_feature’:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/include/linux/kvm_para.h:23: warning: implicit declaration of function ‘kvm_arch_para_features’
> In file included from /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/external-module-compat.h:13,
> from <command line>:1:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/include/linux/kvm_para.h:19:26: error: asm/kvm_para.h: No such file or directory
> In file included from /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/external-module-compat.h:13,
> from <command line>:1:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/include/linux/kvm_para.h: In function ‘kvm_para_has_feature’:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/include/linux/kvm_para.h:23: warning: implicit declaration of function ‘kvm_arch_para_features’
> In file included from /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/external-module-compat.h:13,
> from <command line>:1:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/include/linux/kvm_para.h:19:26: error: asm/kvm_para.h: No such file or directory
> In file included from /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/external-module-compat.h:13,
> from <command line>:1:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/include/linux/kvm_para.h: In function ‘kvm_para_has_feature’:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/include/linux/kvm_para.h:23: warning: implicit declaration of function ‘kvm_arch_para_features’
> In file included from /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/external-module-compat.h:13,
> from <command line>:1:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/include/linux/kvm_para.h:19:26: error: asm/kvm_para.h: No such file or directory
> In file included from /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/external-module-compat.h:13,
> from <command line>:1:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/include/linux/kvm_para.h: In function ‘kvm_para_has_feature’:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/include/linux/kvm_para.h:23: warning: implicit declaration of function ‘kvm_arch_para_features’
> In file included from /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/external-module-compat.h:13,
> from <command line>:1:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/include/linux/kvm_para.h:19:26: error: asm/kvm_para.h: No such file or directory
> In file included from /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/external-module-compat.h:13,
> from <command line>:1:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/include/linux/kvm_para.h: In function ‘kvm_para_has_feature’:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/include/linux/kvm_para.h:23: warning: implicit declaration of function ‘kvm_arch_para_features’
> In file included from /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/external-module-compat.h:13,
> from <command line>:1:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/include/linux/kvm_para.h:19:26: error: asm/kvm_para.h: No such file or directory
> In file included from /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/external-module-compat.h:13,
> from <command line>:1:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/include/linux/kvm_para.h: In function ‘kvm_para_has_feature’:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/include/linux/kvm_para.h:23: warning: implicit declaration of function ‘kvm_arch_para_features’
> make[3]: *** [/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/svm.o] Error 1
> make[3]: *** Waiting for unfinished jobs....
> make[3]: *** [/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/mmu.o] Error 1
> make[3]: *** [/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/preempt.o] Error 1
> make[3]: *** [/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/anon_inodes.o] Error 1
> make[3]: *** [/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/kvm_main.o] Error 1
> make[3]: *** [/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/x86.o] Error 1
> make[3]: *** [/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/irq.o] Error 1
> make[3]: *** [/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/vmx-debug.o] Error 1
> make[3]: *** [/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/i8259.o] Error 1
> make[3]: *** [/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/x86_emulate.o] Error 1
> make[3]: *** [/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/lapic.o] Error 1
> make[3]: *** [/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/ioapic.o] Error 1
> make[3]: *** [/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel/vmx.o] Error 1
> make[2]: *** [_module_/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel] Error 2
> make[2]: Leaving directory `/usr/src/redhat/BUILD/kernel-2.6.22rc4g85f6038f'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071022210124728/kvm-userspace/kernel'
> make: *** [kernel] Error 2
> -------------------------------------------------------------------------
> 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

--
---------------- Laurent.Vivier@bull.net -----------------
"Given enough eyeballs, all bugs are shallow" E. S. Raymond

-------------------------------------------------------------------------
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