[reSIProcate-users] compile error with Windows SDK v7.1
- From: maodong hu <hhmmdd@xxxxxxx>
- Date: Thu, 8 Jul 2010 23:11:37 +0800
hi,
I installed Windows SDK v7.1 with vs2005 under Windows XP sp3, but failed to build rutil with following error:
\resiprocate\rutil\dnsutil.cxx(536) : error C2065: 'EAFNOSUPPORT' : undeclared identifier
\resiprocate\rutil\stun\udp.cxx(79) : error C2065: 'EADDRINUSE' : undeclared identifier
Compiling...
Time.cxx
d:\program files\microsoft visual studio 8\vc\include\intrin.h(944) : error C2733: second C linkage of overloaded function '_interlockedbittestandset' not allowed
d:\program files\microsoft visual studio 8\vc\include\intrin.h(944) : see declaration of '_interlockedbittestandset'
d:\program files\microsoft visual studio 8\vc\include\intrin.h(945) : error C2733: second C linkage of overloaded function '_interlockedbittestandreset' not allowed
d:\program files\microsoft visual studio 8\vc\include\intrin.h(945) : see declaration of '_interlockedbittestandreset'
In the Socket.hxx, it looks like this
#if(_WIN32_WINNT < 0x0601)
#define EWOULDBLOCK WSAEWOULDBLOCK
#define EINPROGRESS WSAEINPROGRESS
#define EALREADY WSAEALREADY
and in the Windows SDK\v7.1\include\sdkdk.h, it looks like
#if !defined(_WIN32_WINNT) && !defined(_CHICAGO_)
#define _WIN32_WINNT 0x0601
#endif
so I don't know why resip limit _WIN32_WINNT to 0x0601
--
Best Regards
Maodong Hu