qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PULL 0/5] ipv4-only and ipv6-only support


From: Peter Maydell
Subject: Re: [Qemu-devel] [PULL 0/5] ipv4-only and ipv6-only support
Date: Thu, 31 Mar 2016 13:47:28 +0100

On 31 March 2016 at 10:20, Samuel Thibault <address@hidden> wrote:
>   Update version for v2.6.0-rc0 release (2016-03-30 19:25:40 +0100)
>
> are available in the git repository at:
>
>   http://people.debian.org/~sthibault/qemu.git tags/samuel-thibault-2
>
> for you to fetch changes up to c99751f2a711e9eecf60901520c6d4197bdaf9b4:
>
>   slirp: Add RDNSS advertisement (2016-03-31 11:18:13 +0200)
>
> ----------------------------------------------------------------
> slirp updates (2)
>
> ----------------------------------------------------------------
> Samuel Thibault (5):
>       slirp: Allow disabling IPv4 or IPv6
>       slirp: Split get_dns_addr
>       slirp: Add dns6 resolution
>       slirp: Support link-local DNS addresses
>       slirp: Add RDNSS advertisement

Hi. I'm afraid this doesn't build for Windows:

/home/petmay01/linaro/qemu-for-merges/slirp/slirp.c:109:5: error:
conflicting types for ‘get_dns6_addr’
 int get_dns6_addr(struct in6_addr *pdns_addr6)
     ^
In file included from /home/petmay01/linaro/qemu-for-merges/slirp/slirp.h:99:0,
                 from /home/petmay01/linaro/qemu-for-merges/slirp/slirp.c:29:
/home/petmay01/linaro/qemu-for-merges/slirp/libslirp.h:10:5: note:
previous declaration of ‘get_dns6_addr’ was here
 int get_dns6_addr(struct in6_addr *pdns6_addr, unsigned *scope_id);
     ^
/home/petmay01/linaro/qemu-for-merges/slirp/slirp.c:53:24: error:
‘dns6_addr’ defined but not used [-Werror=unused-variable]
 static struct in6_addr dns6_addr;
                        ^
/home/petmay01/linaro/qemu-for-merges/slirp/slirp.c:55:14: error:
‘dns6_addr_time’ defined but not used [-Werror=unused-variable]
 static u_int dns6_addr_time;
              ^
cc1: all warnings being treated as errors
make: *** [slirp/slirp.o] Error 1
make: *** Waiting for unfinished jobs....
/home/petmay01/linaro/qemu-for-merges/slirp/socket.c: In function
‘sotranslate_out’:
/home/petmay01/linaro/qemu-for-merges/slirp/socket.c:799:17: error:
passing argument 2 of ‘get_dns6_addr’ from incompatible pointer type
[-Werror]
                 if (get_dns6_addr(&sin6->sin6_addr,
&sin6->sin6_scope_id) < 0) {
                 ^
In file included from /home/petmay01/linaro/qemu-for-merges/slirp/slirp.h:99:0,
                 from /home/petmay01/linaro/qemu-for-merges/slirp/socket.c:10:
/home/petmay01/linaro/qemu-for-merges/slirp/libslirp.h:10:5: note:
expected ‘unsigned int *’ but argument is of type ‘u_long *’
 int get_dns6_addr(struct in6_addr *pdns6_addr, unsigned *scope_id);
     ^
cc1: all warnings being treated as errors

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]