qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] virtio-9p compiling error
@ 2011-11-29 12:57 erik.rull
  2011-11-29 13:15 ` M. Mohan Kumar
  0 siblings, 1 reply; 3+ messages in thread
From: erik.rull @ 2011-11-29 12:57 UTC (permalink / raw)
  To: qemu-devel

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:~$

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] virtio-9p compiling error
  2011-11-29 12:57 [Qemu-devel] virtio-9p compiling error erik.rull
@ 2011-11-29 13:15 ` M. Mohan Kumar
  0 siblings, 0 replies; 3+ messages in thread
From: M. Mohan Kumar @ 2011-11-29 13:15 UTC (permalink / raw)
  To: qemu-devel

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.rull@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:~$

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] virtio-9p compiling error
@ 2011-11-29 15:51 erik.rull
  0 siblings, 0 replies; 3+ messages in thread
From: erik.rull @ 2011-11-29 15:51 UTC (permalink / raw)
  To: qemu-devel

My host system is Debian 4.0
My compiler is gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)

Due to other hardware constraints I'm forced to this version as build machine.

If you need more information, just let me know.

Best regards,

Erik

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-11-29 15:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-29 12:57 [Qemu-devel] virtio-9p compiling error erik.rull
2011-11-29 13:15 ` M. Mohan Kumar
  -- strict thread matches above, loose matches on Subject: below --
2011-11-29 15:51 erik.rull

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).