compile error

Zhao, Yunfeng
2008-01-09T02:37:09Z

Today's tip fails to compile with following error messages:

/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20080109010121401/kvm-use
rspace/qemu/../libkvm -DCONFIG_X86 -Wall -O2 -g -fno-strict-aliasing
-I.
-I/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20080109010121401/kvm-u
serspace/qemu -MMD -MP -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE
-I/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20080109010121401/kvm-u
serspace/qemu/slirp -DQEMU_IMG -c -o qemu-img-block-raw-posix.o
block-raw-posix.c
In file included from /usr/include/linux/cdrom.h:14,
from block-raw-posix.c:52:
/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20080109010121401/kvm-use
rspace/qemu/../libkvm/asm/byteorder.h:9: error: syntax error before
"__u64"
/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20080109010121401/kvm-use
rspace/qemu/../libkvm/asm/byteorder.h:15: error: syntax error before
"__u32"
make[1]: *** [qemu-img-block-raw-posix.o] Error 1
make[1]: Leaving directory
`/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20080109010121401/kvm-us
erspace/qemu'
make: *** [qemu] Error 2

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.