Re: build error

Uri Lublin
2007-11-28T08:37:06Z

Please install unifdef and retry (from "make -C kernel sync").

Zhao, Yunfeng wrote:
> Tip of kvm still fails to build today:
>
> make -C kernel
> make[1]: Entering directory
> `/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-us
> erspace/kernel'
> make -j20 -C /lib/modules/2.6.22-rc4/build M=`pwd` "$@"
> make[2]: Entering directory `/workspace/linux-2.6.ia32e'
> CC [M]
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/svm.o
> CC [M]
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/vmx.o
> CC [M]
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm_main.o
> CC [M]
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.o
> CC [M]
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/mmu.o
> CC [M]
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86_emulate.o
> CC [M]
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/irq.o
> CC [M]
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/i8259.o
> CC [M]
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/lapic.o
> CC [M]
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/ioapic.o
> In file included from
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/vmx.c:18:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:390: warning: 'struct kvm_userspace_memory_region'
> declared inside parameter list
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:390: warning: its scope is only this definition or
> declaration, which is probably not what you want
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:393: warning: 'struct kvm_userspace_memory_region'
> declared inside parameter list
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:397: warning: 'struct kvm_userspace_memory_region'
> declared inside parameter list
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:438: warning: 'struct kvm_userspace_memory_region'
> declared inside parameter list
> In file included from
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.h:14,
> from
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/svm.c:16:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:390: warning: 'struct kvm_userspace_memory_region'
> declared inside parameter list
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:390: warning: its scope is only this definition or
> declaration, which is probably not what you want
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:393: warning: 'struct kvm_userspace_memory_region'
> declared inside parameter list
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:397: warning: 'struct kvm_userspace_memory_region'
> declared inside parameter list
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:438: warning: 'struct kvm_userspace_memory_region'
> declared inside parameter list
> In file included from
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/vmx.c:19:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.h:152: error: array type has incomplete element type
> In file included from
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/svm.c:16:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.h:152: error: array type has incomplete element type
> ion' declared inside parameter list
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:390: warning: its scope is only this definition or
> declaration, which is probably not what you want
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:393: warning: 'struct kvm_userspace_memory_region'
> declared inside parameter list
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:397: warning: 'struct kvm_userspace_memory_region'
> declared inside parameter list
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:438: warning: 'struct kvm_userspace_memory_region'
> declared inside parameter list
> In file included from
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm_main.c:19:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.h:152: error: array type has incomplete element type
> In file included from
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/vmx.c:21:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/irq.h:103: error: 'KVM_IOAPIC_NUM_PINS' undeclared here
> (not in a function)
> In file included from
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/svm.c:19:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/irq.h:103: error: 'KVM_IOAPIC_NUM_PINS' undeclared here
> (not in a function)
> In file included from
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm_main.c:20:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/irq.h:103: error: 'KVM_IOAPIC_NUM_PINS' undeclared here
> (not in a function)
> In file included from
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86_emulate.c:28:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:390: warning: 'struct kvm_userspace_memory_region'
> declared inside parameter list
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:390: warning: its scope is only this definition or
> declaration, which is probably not what you want
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:393: warning: 'struct kvm_userspace_memory_region'
> declared inside parameter list
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:397: warning: 'struct kvm_userspace_memory_region'
> declared inside parameter list
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:438: warning: 'struct kvm_userspace_memory_region'
> declared inside parameter list
> In file included from
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86_emulate.c:29:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.h:152: error: array type has incomplete element type
> In file included from
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/lapic.c:20:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:390: warning: 'struct kvm_userspace_memory_region'
> declared inside parameter list
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:390: warning: its scope is only this definition or
> declaration, which is probably not what you want
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:393: warning: 'struct kvm_userspace_memory_region'
> declared inside parameter list
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:397: warning: 'struct kvm_userspace_memory_region'
> declared inside parameter list
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:438: warning: 'struct kvm_userspace_memory_region'
> declared inside parameter list
> In file included from
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/ioapic.c:29:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:390: warning: 'struct kvm_userspace_memory_region'
> declared inside parameter list
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:390: warning: its scope is only this definition or
> declaration, which is probably not what you want
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:393: warning: 'struct kvm_userspace_memory_region'
> declared inside parameter list
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:397: warning: 'struct kvm_userspace_memory_region'
> declared inside parameter list
> In file included from
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/lapic.c:21:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.h:152: error: array type has incomplete element type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:438: warning: 'struct kvm_userspace_memory_region'
> declared inside parameter list
> In file included from
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/ioapic.c:30:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.h:152: error: array type has incomplete element type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm_main.c:236: warning: 'struct
> kvm_userspace_memory_region' declared inside parameter list
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm_main.c:237: error: conflicting types for
> '__kvm_set_memory_region'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:393: error: previous declaration of
> '__kvm_set_memory_region' was here
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm_main.c: In function '__kvm_set_memory_region':
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm_main.c:247: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm_main.c:249: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm_main.c:251: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm_main.c:253: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm_main.c:253: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm_main.c:253: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm_main.c:256: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm_main.c:257: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm_main.c:258: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm_main.c:261: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm_main.c:267: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm_main.c:302: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm_main.c:315: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm_main.c:316: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm_main.c:320: warning: passing argument 2 of
> 'kvm_arch_set_memory_region' from incompatible pointer type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm_main.c: At top level:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm_main.c:335: error: conflicting types for
> '__kvm_set_memory_region'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:393: error: previous declaration of
> '__kvm_set_memory_region' was here
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm_main.c:339: warning: 'struct
> kvm_userspace_memory_region' declared inside parameter list
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm_main.c:340: error: conflicting types for
> 'kvm_set_memory_region'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:390: error: previous declaration of
> 'kvm_set_memory_region' was here
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm_main.c: In function 'kvm_set_memory_region':
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm_main.c:344: warning: passing argument 2 of
> '__kvm_set_memory_region' from incompatible pointer type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm_main.c: At top level:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm_main.c:348: error: conflicting types for
> 'kvm_set_memory_region'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:390: error: previous declaration of
> 'kvm_set_memory_region' was here
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm_main.c:353: warning: 'struct
> kvm_userspace_memory_region' declared inside parameter list
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm_main.c:354: error: conflicting types for
> 'kvm_vm_ioctl_set_memory_region'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:438: error: previous declaration of
> 'kvm_vm_ioctl_set_memory_region' was here
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm_main.c: In function 'kvm_vm_ioctl_set_memory_region':
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm_main.c:355: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm_main.c:357: warning: passing argument 2 of
> 'kvm_set_memory_region' from incompatible pointer type
> In file included from
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/lapic.c:37:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/irq.h:103: error: 'KVM_IOAPIC_NUM_PINS' undeclared here
> (not in a function)
> In file included from
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/ioapic.c:44:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/irq.h:103: error: 'KVM_IOAPIC_NUM_PINS' undeclared here
> (not in a function)
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/vmx.c: In function 'alloc_apic_access_page':
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/vmx.c:1472: error: storage size of 'kvm_userspace_mem'
> isn't known
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/vmx.c:1472: warning: unused variable 'kvm_userspace_mem'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/vmx.c: In function 'vmx_set_tss_addr':
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/vmx.c:1782: error: variable 'tss_mem' has initializer but
> incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/vmx.c:1783: error: unknown field 'slot' specified in
> initializer
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/vmx.c:1783: warning: excess elements in struct initializer
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/vmx.c:1783: warning: (near initialization for 'tss_mem')
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/vmx.c:1784: error: unknown field 'guest_phys_addr'
> specified in initializer
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/vmx.c:1784: warning: excess elements in struct initializer
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/vmx.c:1784: warning: (near initialization for 'tss_mem')
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/vmx.c:1785: error: unknown field 'memory_size' specified
> in initializer
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/vmx.c:1785: warning: excess elements in struct initializer
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/vmx.c:1785: warning: (near initialization for 'tss_mem')
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/vmx.c:1786: error: unknown field 'flags' specified in
> initializer
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/vmx.c:1786: warning: excess elements in struct
> initializer//workspace/ia32e/nightly/kvm-master-2.6.22-rc4-2007112723064
> 7640/kvm-userspace/kernel/vmx.c:1786: warning: (near initializat
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/vmx.c:1782: error: storage size of 'tss_mem' isn't
> known/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kv
> m-userspace/kernel/kvm_main.c:980: error: (Each undeclared identifier is
> reported only once
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm_main.c:980: error: for each function it appears in.)
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm_main.c:981: error: storage size of 'kvm_userspace_mem'
> isn't known
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm_main.c:981: warning: unused variable
> 'kvm_userspace_mem'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/vmx.c: In function 'handle_cr':
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/vmx.c:1979: error: 'KVM_EXIT_SET_TPR' undeclared (first
> use in this function)
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/vmx.c:1979: error: (Each undeclared identifier is reported
> only once
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/vmx.c:1979: error: for each function it appears in.)
> make[3]: ***
> [/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-us
> erspace/kernel/ioapic.o] Error 1
> make[3]: *** Waiting for unfinished jobs....
> make[3]: ***
> [/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-us
> erspace/kernel/svm.o] Error 1
> make[3]: ***
> [/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-us
> erspace/kernel/lapic.o] Error 1
> make[3]: ***
> [/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-us
> erspace/kernel/kvm_main.o] Error 1
> make[3]: ***
> [/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-us
> erspace/kernel/x86_emulate.o] Error 1
> make[3]: ***
> [/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-us
> erspace/kernel/vmx.o] Error 1
> In file included from
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/mmu.c:21:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:390: warning: 'struct kvm_userspace_memory_region'
> declared inside parameter list
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:390: warning: its scope is only this definition or
> declaration, which is probably not what you want
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:393: warning: 'struct kvm_userspace_memory_region'
> declared inside parameter list
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:397: warning: 'struct kvm_userspace_memory_region'
> declared inside parameter list
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:438: warning: 'struct kvm_userspace_memory_region'
> declared inside parameter list
> In file included from
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:17:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:390: warning: 'struct kvm_userspace_memory_region'
> declared inside parameter list
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:390: warning: its scope is only this definition or
> declaration, which is probably not what you want
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:393: warning: 'struct kvm_userspace_memory_region'
> declared inside parameter list
> In file included from
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/mmu.c:22:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.h:152: error: array type has incomplete element
> type/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm
> -userspace/kernel/kvm.h:397: warning: 'struct
> kvm_userspace_memory_region' declared inside parameter list
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:438: warning: 'struct kvm_userspace_memory_region'
> declared inside parameter list
> In file included from
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/irq.c:24:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:390: warning: 'struct kvm_userspace_memory_region'
> declared inside parameter list
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:390: warning: its scope is only this definition or
> declaration, which is probably not what you want
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:393: warning: 'struct kvm_userspace_memory_region'
> declared inside parameter list
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:397: warning: 'struct kvm_userspace_memory_region'
> declared inside parameter list
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:438: warning: 'struct kvm_userspace_memory_region'
> declared inside parameter list
> In file included from
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:18:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.h:152: error: array type has incomplete element type
> In file included from
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/irq.c:25:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.h:152: error: array type has incomplete element type
> In file included from
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:21:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/irq.h:103: error: 'KVM_IOAPIC_NUM_PINS' undeclared here
> (not in a function)
> In file included from
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/irq.c:26:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/irq.h:103: error: 'KVM_IOAPIC_NUM_PINS' undeclared here
> (not in a function)
> In file included from
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/irq.h:25,
> from
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/i8259.c:29:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:390: warning: 'struct kvm_userspace_memory_region'
> declared inside parameter list
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:390: warning: its scope is only this definition or
> declaration, which is probably not what you want
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:393: warning: 'struct kvm_userspace_memory_region'
> declared inside parameter list
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:397: warning: 'struct kvm_userspace_memory_region'
> declared inside parameter list
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:438: warning: 'struct kvm_userspace_memory_region'
> declared inside parameter list
> make[3]: ***
> [/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-us
> erspace/kernel/irq.o] Error 1
> In file included from
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/i8259.c:29:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/irq.h:103: error: 'KVM_IOAPIC_NUM_PINS' undeclared here
> (not in a function)
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c: In function 'kvm_dev_ioctl_check_extension':
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:624: error: 'KVM_CAP_IRQCHIP' undeclared (first use
> in this function)
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:624: error: (Each undeclared identifier is reported
> only once
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:624: error: for each function it appears in.)
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:625: error: 'KVM_CAP_HLT' undeclared (first use in
> this function)
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:626: error: 'KVM_CAP_MMU_SHADOW_CACHE_CONTROL'
> undeclared (first use in this function)
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:627: error: 'KVM_CAP_USER_MEMORY' undeclared (first
> use in this function)
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:628: error: 'KVM_CAP_SET_TSS_ADDR' undeclared (first
> use in this function)
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:629: error: 'KVM_CAP_EXT_CPUID' undeclared (first
> use in this function)
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c: In function 'cpuid_fix_nx_cap':
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:708: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:713: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:714: error: dereferencing pointer to incomplete type
> make[3]: ***
> [/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-us
> erspace/kernel/i8259.o] Error 1
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c: At top level:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:762: warning: 'struct kvm_cpuid2' declared inside
> parameter list
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c: In function 'kvm_vcpu_ioctl_set_cpuid2':
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:767: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:771: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:771: error: invalid application of 'sizeof' to
> incomplete type 'struct kvm_cpuid_entry2'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:773: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c: At top level:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:782: warning: 'struct kvm_cpuid2' declared inside
> parameter list
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c: In function 'kvm_vcpu_ioctl_get_cpuid2':
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:787: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:791: error: invalid application of 'sizeof' to
> incomplete type 'struct kvm_cpuid_entry2'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:796: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c: In function 'do_cpuid_1_ent':
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:808: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:809: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:810: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:810: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:811: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:811: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:811: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:811: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:812: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c: In function 'do_cpuid_ent':
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:856: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:856: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:856: warning: type defaults to 'int' in declaration
> of '_x'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:856: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:856: warning: comparison of distinct pointer types
> lacks a cast
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:859: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:860: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:867: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:869: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:869: error: 'KVM_CPUID_FLAG_STATEFUL_FUNC'
> undeclared (first use in this function)
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:871: error: invalid use of undefined type 'struct
> kvm_cpuid_entry2'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:871: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:872: error: invalid use of undefined type 'struct
> kvm_cpuid_entry2'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:872: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:881: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:881: error: 'KVM_CPUID_FLAG_SIGNIFCANT_INDEX'
> undeclared (first use in this function)
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:884: error: invalid use of undefined type 'struct
> kvm_cpuid_entry2'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:884: error: invalid use of undefined type 'struct
> kvm_cpuid_entry2'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:884: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:887: error: invalid use of undefined type 'struct
> kvm_cpuid_entry2'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:887: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:888: error: invalid use of undefined type 'struct
> kvm_cpuid_entry2'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:888: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:897: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:900: error: invalid use of undefined type 'struct
> kvm_cpuid_entry2'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:900: error: invalid use of undefined type 'struct
> kvm_cpuid_entry2'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:900: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:903: error: invalid use of undefined type 'struct
> kvm_cpuid_entry2'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:903: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:904: error: invalid use of undefined type 'struct
> kvm_cpuid_entry2'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:904: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:911: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:911: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:911: warning: type defaults to 'int' in declaration
> of '_x'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:911: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:911: warning: comparison of distinct pointer types
> lacks a cast
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:914: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:915: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c: At top level:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:923: warning: 'struct kvm_cpuid2' declared inside
> parameter list
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c: In function 'kvm_vm_ioctl_get_supported_cpuid':
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:929: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:932: error: invalid application of 'sizeof' to
> incomplete type 'struct kvm_cpuid_entry2'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:932: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:936: error: invalid use of undefined type 'struct
> kvm_cpuid_entry2'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:936: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:936: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:937: error: invalid use of undefined type 'struct
> kvm_cpuid_entry2'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:937: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:938: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:939: error: invalid use of undefined type 'struct
> kvm_cpuid_entry2'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:939: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:940: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:942: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:945: error: invalid use of undefined type 'struct
> kvm_cpuid_entry2'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:945: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:945: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:946: error: invalid use of undefined type 'struct
> kvm_cpuid_entry2'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:946: error: invalid use of undefined type 'struct
> kvm_cpuid_entry2'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:946: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:947: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:948: error: invalid use of undefined type 'struct
> kvm_cpuid_entry2'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:948: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:949: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:952: error: invalid application of 'sizeof' to
> incomplete type 'struct kvm_cpuid_entry2'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:954: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c: At top level:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:964: warning: 'struct kvm_lapic_state' declared
> inside parameter list
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c: In function 'kvm_vcpu_ioctl_get_lapic':
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:967: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:967: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:967: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:967: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c: At top level:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:974: warning: 'struct kvm_lapic_state' declared
> inside parameter list
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c: In function 'kvm_vcpu_ioctl_set_lapic':
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:977: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:977: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:977: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:977: error: dereferencing pointer to incomplete type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c: In function 'kvm_arch_vcpu_ioctl':
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:992: error: 'KVM_GET_LAPIC' undeclared (first use in
> this function)
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:993: error: storage size of 'lapic' isn't known
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:993: warning: unused variable 'lapic'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1005: error: 'KVM_SET_LAPIC' undeclared (first use
> in this function)
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1006: error: storage size of 'lapic' isn't known
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1006: warning: unused variable 'lapic'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1029: error: 'KVM_SET_CPUID2' undeclared (first use
> in this function)
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1031: error: storage size of 'cpuid' isn't known
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1037: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1031: warning: unused variable 'cpuid'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1042: error: 'KVM_GET_CPUID2' undeclared (first use
> in this function)
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1044: error: storage size of 'cpuid' isn't known
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1050: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1044: warning: unused variable 'cpuid'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c: At top level:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1164: warning: 'struct kvm_irqchip' declared inside
> parameter list
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c: In function 'kvm_vm_ioctl_get_irqchip':
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1169: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1170: error: 'KVM_IRQCHIP_PIC_MASTER' undeclared
> (first use in this function)
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1171: error: invalid application of 'sizeof' to
> incomplete type 'struct kvm_pic_state'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1171: error: invalid application of 'sizeof' to
> incomplete type 'struct kvm_pic_state'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1171: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1171: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1175: error: 'KVM_IRQCHIP_PIC_SLAVE' undeclared
> (first use in this function)
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1176: error: invalid application of 'sizeof' to
> incomplete type 'struct kvm_pic_state'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1176: error: invalid application of 'sizeof' to
> incomplete type 'struct kvm_pic_state'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1176: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1176: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1180: error: 'KVM_IRQCHIP_IOAPIC' undeclared (first
> use in this function)
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1181: error: invalid application of 'sizeof' to
> incomplete type 'struct kvm_ioapic_state'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1181: error: invalid application of 'sizeof' to
> incomplete type 'struct kvm_ioapic_state'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1181: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1181: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c: At top level:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1192: warning: 'struct kvm_irqchip' declared inside
> parameter list
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c: In function 'kvm_vm_ioctl_set_irqchip':
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1197: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1198: error: 'KVM_IRQCHIP_PIC_MASTER' undeclared
> (first use in this function)
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1199: error: invalid application of 'sizeof' to
> incomplete type 'struct kvm_pic_state'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1199: error: invalid application of 'sizeof' to
> incomplete type 'struct kvm_pic_state'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1199: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1199: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1203: error: 'KVM_IRQCHIP_PIC_SLAVE' undeclared
> (first use in this function)
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1204: error: invalid application of 'sizeof' to
> incomplete type 'struct kvm_pic_state'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1204: error: invalid application of 'sizeof' to
> incomplete type 'struct kvm_pic_state'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1204: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1204: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1208: error: 'KVM_IRQCHIP_IOAPIC' undeclared (first
> use in this function)
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1209: error: invalid application of 'sizeof' to
> incomplete type 'struct kvm_ioapic_state'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1209: error: invalid application of 'sizeof' to
> incomplete type 'struct kvm_ioapic_state'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1209: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1209: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c: In function 'kvm_arch_vm_ioctl':
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1260: error: 'KVM_SET_TSS_ADDR' undeclared (first
> use in this function)
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1267: error: storage size of 'kvm_userspace_mem'
> isn't known
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1267: warning: unused variable 'kvm_userspace_mem'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1281: error: 'KVM_SET_NR_MMU_PAGES' undeclared
> (first use in this function)
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1286: error: 'KVM_GET_NR_MMU_PAGES' undeclared
> (first use in this function)
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1300: error: 'KVM_CREATE_IRQCHIP' undeclared (first
> use in this function)
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1313: error: 'KVM_IRQ_LINE' undeclared (first use in
> this function)
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1314: error: storage size of 'irq_event' isn't known
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1314: warning: unused variable 'irq_event'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1333: error: 'KVM_GET_IRQCHIP' undeclared (first use
> in this function)
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1335: error: storage size of 'chip' isn't known
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1335: warning: unused variable 'chip'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1352: error: 'KVM_SET_IRQCHIP' undeclared (first use
> in this function)
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1354: error: storage size of 'chip' isn't known
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1354: warning: unused variable 'chip'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1368: error: 'KVM_GET_SUPPORTED_CPUID' undeclared
> (first use in this function)
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1370: error: storage size of 'cpuid' isn't known
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1376: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:1370: warning: unused variable 'cpuid'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c: In function 'move_to_next_stateful_cpuid_entry':
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:2187: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:2187: error: 'KVM_CPUID_FLAG_STATE_READ_NEXT'
> undeclared (first use in this function)
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:2191: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:2191: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:2192: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c: In function 'is_matching_cpuid_entry':
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:2204: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:2206: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:2206: error: 'KVM_CPUID_FLAG_SIGNIFCANT_INDEX'
> undeclared (first use in this function)
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:2206: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:2208: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:2208: error: 'KVM_CPUID_FLAG_STATEFUL_FUNC'
> undeclared (first use in this function)
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:2209: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:2209: error: 'KVM_CPUID_FLAG_STATE_READ_NEXT'
> undeclared (first use in this function)
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c: In function 'kvm_emulate_cpuid':
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:2231: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:2231: error: 'KVM_CPUID_FLAG_STATEFUL_FUNC'
> undeclared (first use in this function)
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:2239: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:2240: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:2240: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:2244: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:2245: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:2246: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:2247: error: dereferencing pointer to incomplete
> type
> make[3]: ***
> [/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-us
> erspace/kernel/mmu.o] Error 1
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c: At top level:
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:2975: warning: 'struct kvm_userspace_memory_region'
> declared inside parameter list
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:2976: error: conflicting types for
> 'kvm_arch_set_memory_region'
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/kvm.h:397: error: previous declaration of
> 'kvm_arch_set_memory_region' was here
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c: In function 'kvm_arch_set_memory_region':
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:2977: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:2978: error: dereferencing pointer to incomplete
> type
> /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-use
> rspace/kernel/x86.c:3016: error: dereferencing pointer to incomplete
> type
> make[3]: ***
> [/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-us
> erspace/kernel/x86.o] Error 1
> make[2]: ***
> [_module_/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-2007112723064764
> 0/kvm-userspace/kernel] Error 2
> make[2]: Leaving directory `/workspace/linux-2.6.ia32e'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory
> `/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071127230647640/kvm-us
> erspace/kernel'
> make: *** [kernel] Error 2
>
> -------------------------------------------------------------------------
> 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-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/kvm-devel
>

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