qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCHv9 0/10] slirp: Adding IPv6 support to Qemu -net


From: Jason Wang
Subject: Re: [Qemu-devel] [PATCHv9 0/10] slirp: Adding IPv6 support to Qemu -net user mode
Date: Tue, 8 Mar 2016 10:15:57 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1


On 03/07/2016 07:55 PM, Samuel Thibault wrote:
> Jason Wang, on Mon 07 Mar 2016 14:48:16 +0800, wrote:
>> - the series does not build on w32:
>> In file included from ./slirp/slirp.h:126:0,
>>                  from stubs/slirp.c:3:
>> ./slirp/ip6.h:9:24: fatal error: netinet/in.h: No such file or directory
> Is it the only issue?  Does it build if you add #ifndef _WIN32 around
> that include?

Build works but get some warnings:


slirp/ip6_icmp.c: In function 'icmp6_send_error':
slirp/ip6_icmp.c:84:5: warning: implicit declaration of function
'inet_ntop' [-Wimplicit-function-declaration]
     inet_ntop(AF_INET6, &rip->ip_dst, addrstr, INET6_ADDRSTRLEN);
     ^
slirp/ip6_icmp.c:84:5: warning: nested extern declaration of 'inet_ntop'
[-Wnested-externs]

and

slirp/slirp.c: In function 'slirp_init':
slirp/slirp.c:226:5: warning: implicit declaration of function
'inet_pton' [-Wimplicit-function-declaration]
     inet_pton(AF_INET6, "fec0::0", &slirp->vprefix_addr6);
     ^
slirp/slirp.c:226:5: warning: nested extern declaration of 'inet_pton'
[-Wnested-externs]

(btw, you may refer http://wiki.qemu.org/Hosts/W32 to test this yourself).

>
> Samuel
>




reply via email to

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