All of lore.kernel.org
 help / color / mirror / Atom feed
From: "M. Mohan Kumar" <mohan@in.ibm.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] virtio-9p compiling error
Date: Tue, 29 Nov 2011 18:45:37 +0530	[thread overview]
Message-ID: <201111291845.38489.mohan@in.ibm.com> (raw)
In-Reply-To: <0N3Gr1-1Qxgqg1XXK-00dByU@icpu819.kundenserver.de>

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

  reply	other threads:[~2011-11-29 13:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-29 12:57 [Qemu-devel] virtio-9p compiling error erik.rull
2011-11-29 13:15 ` M. Mohan Kumar [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-11-29 15:51 erik.rull

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201111291845.38489.mohan@in.ibm.com \
    --to=mohan@in.ibm.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.