< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

Re: [reSIProcate-users] Compiling error with resiprocate-1.4


I got it with platform SDK with vs2005.
 
Seems the vista SDK is not defined with IPPROTO_IPV6
 
Thanks

On Fri, Oct 24, 2008 at 9:33 PM, Karlsson <boost.regex@xxxxxxxxx> wrote:
I'm using Vista Ultimate + Visual Studio 2005, and I have checked, the IPPROTO_IPV6 was defined.


 
On Fri, Oct 24, 2008 at 9:28 PM, Karlsson <boost.regex@xxxxxxxxx> wrote:
I got some errors when I compile the 1.4, seems cause the USE_IPV6 is defined as default.
 
WinCompat.cxx
.\WinCompat.cxx(263) : error C2664: 'resip::GenericIPAddress::GenericIPAddress(const sockaddr &)' : cannot convert parameter 1 from 'const sockaddr_in6' to 'const sockaddr &'
        Reason: cannot convert from 'const sockaddr_in6' to 'const sockaddr'
        No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
 
RRList.cxx
.\dns\RRList.cxx(190) : error C2039: 'v6Address' : is not a member of 'resip::DnsAAAARecord'
        f:\resiprocate-1.4\rutil/dns/DnsAAAARecord.hxx(19) : see declaration of 'resip::DnsAAAARecord'
 
DnsUtil.cxx
.\DnsUtil.cxx(218) : error C2511: 'resip::Data resip::DnsUtil::inet_ntop(const in6_addr &)' : overloaded member function not found in 'resip::DnsUtil'
        f:\resiprocate-1.4\rutil/DnsUtil.hxx(28) : see declaration of 'resip::DnsUtil'
.\DnsUtil.cxx(232) : error C2665: 'resip::DnsUtil::inet_ntop' : none of the 3 overloads could convert all the argument types
        f:\resiprocate-1.4\rutil/DnsUtil.hxx(66): could be 'resip::Data resip::DnsUtil::inet_ntop(const in_addr &)'
        f:\resiprocate-1.4\rutil/DnsUtil.hxx(67): or 'resip::Data resip::DnsUtil::inet_ntop(const sockaddr &)'
        while trying to match the argument list '(const IN6_ADDR)'
.\DnsUtil.cxx(251) : error C2511: 'int resip::DnsUtil::inet_pton(const resip::Data &,in6_addr &)' : overloaded member function not found in 'resip::DnsUtil'
        f:\resiprocate-1.4\rutil/DnsUtil.hxx(28) : see declaration of 'resip::DnsUtil'
.\DnsUtil.cxx(324) : error C2665: 'resip::DnsUtil::inet_pton' : none of the 2 overloads could convert all the argument types
        f:\resiprocate-1.4\rutil/DnsUtil.hxx(68): could be 'int resip::DnsUtil::inet_pton(const resip::Data &,in_addr &)'
        while trying to match the argument list '(const resip::Data, in6_addr)'
.\DnsUtil.cxx(337) : error C2665: 'resip::DnsUtil::inet_ntop' : none of the 3 overloads could convert all the argument types
        f:\resiprocate-1.4\rutil/DnsUtil.hxx(66): could be 'resip::Data resip::DnsUtil::inet_ntop(const in_addr &)'
        f:\resiprocate-1.4\rutil/DnsUtil.hxx(67): or 'resip::Data resip::DnsUtil::inet_ntop(const sockaddr &)'
        while trying to match the argument list '(in6_addr)'
DnsStub.cxx
DnsSrvRecord.cxx
DnsNaptrRecord.cxx
DnsHostRecord.cxx
DnsCnameRecord.cxx
DnsAAAARecord.cxx
.\dns\DnsAAAARecord.cxx(36) : error C2065: 'mAddr' : undeclared identifier
Generating Code...
Compiling...
DataStream.cxx
Data.cxx
CountStream.cxx
Condition.cxx
Coders.cxx
BaseException.cxx
AresDns.cxx
.\dns\AresDns.cxx(120) : error C2039: 'v6Address' : is not a member of 'resip::GenericIPAddress'
        f:\resiprocate-1.4\rutil/GenericIPAddress.hxx(23) : see declaration of 'resip::GenericIPAddress'
.\dns\AresDns.cxx(120) : error C2228: left of '.sin6_addr' must have class/struct/union