Re: Compile error

Dor Laor
2007-07-01T09:35:08Z

>I saw compiler error at current head, does anybody else see too?
>41ac4b23696b12fec15191969bc18da42359861d
>
>
>
>make -C /lib/modules/2.6.21-rc3/build M=`pwd` "$@"
>make[1]: Entering directory `/root/linux-2.6.21-rc3'
> LD /root/work2/5th/kvm-userspace/kernel/built-in.o
> CC [M] /root/work2/5th/kvm-userspace/kernel/svm.o
> CC [M] /root/work2/5th/kvm-userspace/kernel/vmx.o
> CC [M] /root/work2/5th/kvm-userspace/kernel/vmx-debug.o
> CC [M] /root/work2/5th/kvm-userspace/kernel/kvm_main.o
>/root/work2/5th/kvm-userspace/kernel/kvm_main.c:46:31:
>linux/anon_inodes.h: No such file or directory
>/root/work2/5th/kvm-userspace/kernel/kvm_main.c: In function
>`create_vcpu_fd':
>/root/work2/5th/kvm-userspace/kernel/kvm_main.c:2366: warning: implicit
>declaration of function `anon_inode_getfd'
>make[2]: *** [/root/work2/5th/kvm-userspace/kernel/kvm_main.o] Error 1
>make[1]: *** [_module_/root/work2/5th/kvm-userspace/kernel] Error 2
>make[1]: Leaving directory `/root/linux-2.6.21-rc3'
>make: *** [all] Error 2

This is the latest change of dropping kvmfs in favor of
anon_inode_getfd.
A matching code should be added to the external_kernel_compat.h file so
older kernels without anonfs could be used.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.