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

Re: [reSIProcate-users] FW: (no subject)


From the look of your compiler messages I am assuming you are using Visual Studio...

I had the same problem before, when using the header files from the MS Windows SDK. I simply solved it by removing the Windows SDK from my include path. If you don't need IPv6 support you can probably also just remove the USE_IPV6 preprocessor definition from the project settings.

Setting the _WIN32_WINNT constant to 0x0501 as described here http://msdn.microsoft.com/en-us/library/aa383745(VS.85).aspx did not solve the problem for me. This constant controls whether IPPROTO_IPV6 is being set in ws2def.h. I don't know why it didn't work, but I also didn't put too much effort into finding out...


best regards,
 gabriel hege

Marshall Jobe wrote:
I was using */a resiprocate version /*from a sample GIPS softphone demo.*//*

I just got the newest version */of resiprocate /*via svn and am trying to compile it.

I’m getting the following errors.

How do I fix this?

DnsInterface.cxx

DnsResult.cxx

.\DnsResult.cxx(956) : error C2039: 'v6Address' : is not a member of 'resip::DnsAAAARecord'

c:\cygwin\home\mjobe\svn\resiprocate\rutil/dns/DnsAAAARecord.hxx(19) : see declaration of 'resip::DnsAAAARecord'

DtlsMessage.cxx

Generating Code...

Compiling...

and

TransportFailure.cxx

TransportSelector.cxx

.\TransportSelector.cxx(77) : error C2039: 'v6Address' : is not a member of 'resip::GenericIPAddress'

c:\cygwin\home\mjobe\svn\resiprocate\rutil/GenericIPAddress.hxx(23) : see declaration of 'resip::GenericIPAddress'

.\TransportSelector.cxx(78) : error C2039: 'v6Address' : is not a member of 'resip::GenericIPAddress'

c:\cygwin\home\mjobe\svn\resiprocate\rutil/GenericIPAddress.hxx(23) : see declaration of 'resip::GenericIPAddress'

.\TransportSelector.cxx(78) : error C2228: left of '.sin6_family' must have class/struct/union

TuIM.cxx

Tuple.cxx

.\Tuple.cxx(85) : error C2065: 'm_anonv6' : undeclared identifier

.\Tuple.cxx(85) : error C2065: 'm_anonv6' : undeclared identifier

.\Tuple.cxx(85) : error C2070: ''unknown-type'': illegal sizeof operand

.\Tuple.cxx(86) : error C2065: 'm_anonv6' : undeclared identifier

.\Tuple.cxx(86) : error C2228: left of '.sin6_family' must have class/struct/union

        type is ''unknown-type''

.\Tuple.cxx(87) : error C2065: 'm_anonv6' : undeclared identifier

.\Tuple.cxx(87) : error C2228: left of '.sin6_port' must have class/struct/union

        type is ''unknown-type''

.\Tuple.cxx(90) : error C2065: 'm_anonv6' : undeclared identifier

.\Tuple.cxx(90) : error C2228: left of '.sin6_addr' must have class/struct/union

        type is ''unknown-type''

.\Tuple.cxx(94) : error C2065: 'm_anonv6' : undeclared identifier

.\Tuple.cxx(94) : error C2228: left of '.sin6_addr' must have class/struct/union

        type is ''unknown-type''

.\Tuple.cxx(123) : error C2065: 'm_anonv6' : undeclared identifier

.\Tuple.cxx(123) : error C2065: 'm_anonv6' : undeclared identifier

.\Tuple.cxx(123) : error C2070: ''unknown-type'': illegal sizeof operand

.\Tuple.cxx(124) : error C2065: 'm_anonv6' : undeclared identifier

.\Tuple.cxx(124) : error C2228: left of '.sin6_addr' must have class/struct/union

        type is ''unknown-type''

.\Tuple.cxx(125) : error C2065: 'm_anonv6' : undeclared identifier

.\Tuple.cxx(125) : error C2228: left of '.sin6_family' must have class/struct/union

        type is ''unknown-type''

.\Tuple.cxx(126) : error C2065: 'm_anonv6' : undeclared identifier

.\Tuple.cxx(126) : error C2228: left of '.sin6_port' must have class/struct/union

        type is ''unknown-type''

.\Tuple.cxx(154) : error C2511: 'resip::Tuple::Tuple(const in6_addr &,int,resip::TransportType,const resip::Data &)' : overloaded member function not found in 'resip::Tuple'

c:\cygwin\home\mjobe\svn\resiprocate\resip/stack/Tuple.hxx(43) : see declaration of 'resip::Tuple'

.\Tuple.cxx(965) : fatal error C1004: unexpected end-of-file found

TupleMarkManager.cxx

TuSelector.cxx

UdpTransport.cxx

[...]