[Nice] IPV6 - Compilation Error

Youness Alaoui youness.alaoui at collabora.co.uk
Mon Jan 17 17:51:11 PST 2011

Ok, I think I fixed this. I found on the internet that most of the time SOL_IPV6 
is used, it's done using :
#ifndef SOL_IPV6

I had that in one of the files, but not in that one you had a problem with. So I 
added that to it and I expect it to fix the problem you've been having.
Expect to see it in the next release of libnice (hopefully today).


On 11/24/2010 04:57 AM, Gunther V wrote:
> Hello all,
> I get the following compile erros related to IPV6:
> *In function 'stun_socket':*
> */nice/stun/usages/bind.c:245: error: 'SOL_IPV6' undeclared (first use in this
> function)*
> */nice/stun/usages/bind.c:245: error: (Each undeclared identifier is reported
> only once*
> */nice/stun/usages/bind.c:245: error: for each function it appears in.)*
> */nice/stun/usages/bind.c:245: error: 'IPV6_RECVERR' undeclared (first use in
> this function)*
> make: ***
> Is it possible to compile libnice without IPV6 support? Or is it possible to
> avoid these errors if the socket library on your system does not have support
> for IPV6?
> Best regards,
> Gunther
> _______________________________________________
> Nice mailing list
> Nice at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/nice

More information about the Nice mailing list