Could you please give your host information? Such as gcc version, distro version etc?
I could compile in my Fedora 15 x86-64 system using gcc 4.6.0 -- Regards, M. Mohan Kumar On Tuesday, November 29, 2011 06:27:00 PM erik.r...@rdsoftware.de wrote: > Hi all, > > when compiling the 1.0-rc4 I get the following error. > 0.14.0-kvm and 0.15.0-kvm were fine, I found no configure switch > possibility to disable this code part. I really don't need it. > > Please help here: > > CC libhw64/9pfs/virtio-9p.o > CC libhw64/9pfs/virtio-9p-local.o > /home/erik/qemu-1.0-rc4/hw/9pfs/virtio-9p-local.c: In function > 'local_init': /home/erik/qemu-1.0-rc4/hw/9pfs/virtio-9p-local.c:721: > warning: unused variable 'stbuf' > /home/erik/qemu-1.0-rc4/hw/9pfs/virtio-9p-local.c: At top level: > /home/erik/qemu-1.0-rc4/hw/9pfs/virtio-9p-local.c:694: warning: > 'local_ioc_getversion' defined but not used > CC libhw64/9pfs/virtio-9p-xattr.o > CC libhw64/9pfs/virtio-9p-xattr-user.o > CC libhw64/9pfs/virtio-9p-posix-acl.o > CC libhw64/9pfs/virtio-9p-coth.o > CC libhw64/9pfs/cofs.o > CC libhw64/9pfs/codir.o > CC libhw64/9pfs/cofile.o > CC libhw64/9pfs/coxattr.o > CC libhw64/9pfs/virtio-9p-handle.o > /home/erik/qemu-1.0-rc4/hw/9pfs/virtio-9p-handle.c: In function > 'handle_update_file_cred': > /home/erik/qemu-1.0-rc4/hw/9pfs/virtio-9p-handle.c:95: warning: implicit > declaration of function 'openat' > /home/erik/qemu-1.0-rc4/hw/9pfs/virtio-9p-handle.c:95: warning: nested > extern declaration of 'openat' > /home/erik/qemu-1.0-rc4/hw/9pfs/virtio-9p-handle.c:103: warning: implicit > declaration of function 'fchownat' > /home/erik/qemu-1.0-rc4/hw/9pfs/virtio-9p-handle.c:103: warning: nested > extern declaration of 'fchownat' > /home/erik/qemu-1.0-rc4/hw/9pfs/virtio-9p-handle.c: In function > 'handle_lstat': /home/erik/qemu-1.0-rc4/hw/9pfs/virtio-9p-handle.c:120: > warning: implicit declaration of function 'fstatat' > /home/erik/qemu-1.0-rc4/hw/9pfs/virtio-9p-handle.c:120: warning: nested > extern declaration of 'fstatat' > /home/erik/qemu-1.0-rc4/hw/9pfs/virtio-9p-handle.c: In function > 'handle_readlink': > /home/erik/qemu-1.0-rc4/hw/9pfs/virtio-9p-handle.c:135: warning: implicit > declaration of function 'readlinkat' > /home/erik/qemu-1.0-rc4/hw/9pfs/virtio-9p-handle.c:135: warning: nested > extern declaration of 'readlinkat' > /home/erik/qemu-1.0-rc4/hw/9pfs/virtio-9p-handle.c: In function > 'handle_opendir': > /home/erik/qemu-1.0-rc4/hw/9pfs/virtio-9p-handle.c:167: warning: implicit > declaration of function 'fdopendir' > /home/erik/qemu-1.0-rc4/hw/9pfs/virtio-9p-handle.c:167: warning: nested > extern declaration of 'fdopendir' > /home/erik/qemu-1.0-rc4/hw/9pfs/virtio-9p-handle.c:167: warning: assignment > makes pointer from integer without a cast > /home/erik/qemu-1.0-rc4/hw/9pfs/virtio-9p-handle.c: In function > 'handle_mknod': /home/erik/qemu-1.0-rc4/hw/9pfs/virtio-9p-handle.c:265: > warning: implicit declaration of function 'mknodat' > /home/erik/qemu-1.0-rc4/hw/9pfs/virtio-9p-handle.c:265: warning: nested > extern declaration of 'mknodat' > /home/erik/qemu-1.0-rc4/hw/9pfs/virtio-9p-handle.c: In function > 'handle_mkdir': /home/erik/qemu-1.0-rc4/hw/9pfs/virtio-9p-handle.c:283: > warning: implicit declaration of function 'mkdirat' > /home/erik/qemu-1.0-rc4/hw/9pfs/virtio-9p-handle.c:283: warning: nested > extern declaration of 'mkdirat' > /home/erik/qemu-1.0-rc4/hw/9pfs/virtio-9p-handle.c: In function > 'handle_symlink': > /home/erik/qemu-1.0-rc4/hw/9pfs/virtio-9p-handle.c:333: warning: implicit > declaration of function 'symlinkat' > /home/erik/qemu-1.0-rc4/hw/9pfs/virtio-9p-handle.c:333: warning: nested > extern declaration of 'symlinkat' > /home/erik/qemu-1.0-rc4/hw/9pfs/virtio-9p-handle.c: In function > 'handle_link': /home/erik/qemu-1.0-rc4/hw/9pfs/virtio-9p-handle.c:363: > warning: implicit declaration of function 'linkat' > /home/erik/qemu-1.0-rc4/hw/9pfs/virtio-9p-handle.c:363: warning: nested > extern declaration of 'linkat' > /home/erik/qemu-1.0-rc4/hw/9pfs/virtio-9p-handle.c: In function > 'handle_renameat': > /home/erik/qemu-1.0-rc4/hw/9pfs/virtio-9p-handle.c:570: warning: implicit > declaration of function 'renameat' > /home/erik/qemu-1.0-rc4/hw/9pfs/virtio-9p-handle.c:570: warning: nested > extern declaration of 'renameat' > /home/erik/qemu-1.0-rc4/hw/9pfs/virtio-9p-handle.c: In function > 'handle_unlinkat': > /home/erik/qemu-1.0-rc4/hw/9pfs/virtio-9p-handle.c:593: warning: implicit > declaration of function 'unlinkat' > /home/erik/qemu-1.0-rc4/hw/9pfs/virtio-9p-handle.c:593: warning: nested > extern declaration of 'unlinkat' > /home/erik/qemu-1.0-rc4/hw/9pfs/virtio-9p-handle.c: In function > 'handle_ioc_getversion': > /home/erik/qemu-1.0-rc4/hw/9pfs/virtio-9p-handle.c:616: error: > 'FS_IOC_GETVERSION' undeclared (first use in this function) > /home/erik/qemu-1.0-rc4/hw/9pfs/virtio-9p-handle.c:616: error: (Each > undeclared identifier is reported only once > /home/erik/qemu-1.0-rc4/hw/9pfs/virtio-9p-handle.c:616: error: for each > function it appears in.) > make[2]: *** [9pfs/virtio-9p-handle.o] Error 1 > make[1]: *** [subdir-libhw64] Error 2 > make[1]: Leaving directory `/home/erik/qemu-1.0-rc4' > make: *** [qemu-build] Error 2 > erik@debian:~$