you may change the include sequence in sipXmgr.cpp and include os/OsSocket.h
first.

Best wishes
Li Zhang

2007/9/26, Manoj Kumar Joshi <[EMAIL PROTECTED]>:
>
>  I am using Visual C++ 2005.
>
> -----Original Message-----
> *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of *Keith
> Kyzivat
> *Sent:* Wednesday, September 26, 2007 9:54 PM
> *To:* [EMAIL PROTECTED]
> *Cc:* [email protected]
> *Subject:* Re: [sipxtapi-dev] SIPXezPhone compilation problems -- winsock2
> errors
>
> What compiler are you using?
>
> On 9/26/07, Manoj Kumar Joshi <[EMAIL PROTECTED]> wrote:
> >
> >  Hello Guys,
> >
> > I have recently downloaded SIPXTapi projects using SVN and configured
> > everything exacty as per instructions in page 
> > http://sipx-wiki.calivia.com/index.php/SipXtapi_and_sipXezPhone_Build_Environment_for_Windows
> > .
> >
> > But when i try to build i get 57 errors in compiling SIPXmgr.cpp. All
> > errors are related to winsock. Some of them are ...
> >
> >
> > C:\Program Files\Microsoft Platform SDK\Include\winsock2.h(2340) : error
> > C2375: 'WSASetBlockingHook' : redefinition; different linkage
> >
> > C:\Program Files\Microsoft Platform SDK\Include\winsock.h(891) : see
> > declaration of 'WSASetBlockingHook'
> >
> > C:\Program Files\Microsoft Platform SDK\Include\winsock2.h(2357) : error
> > C2375: 'WSACancelBlockingCall' : redefinition; different linkage
> >
> > C:\Program Files\Microsoft Platform SDK\Include\winsock.h(893) : see
> > declaration of 'WSACancelBlockingCall'
> >
> > C:\Program Files\Microsoft Platform SDK\Include\winsock2.h(2379) : error
> > C2375: 'WSAAsyncGetServByName' : redefinition; different linkage
> >
> > C:\Program Files\Microsoft Platform SDK\Include\winsock.h(895) : see
> > declaration of 'WSAAsyncGetServByName'
> >
> > C:\Program Files\Microsoft Platform SDK\Include\winsock2.h(2406) : error
> > C2375: 'WSAAsyncGetServByPort' : redefinition; different linkage
> >
> > C:\Program Files\Microsoft Platform SDK\Include\winsock.h(903) : see
> > declaration of 'WSAAsyncGetServByPort'
> >
> > C:\Program Files\Microsoft Platform SDK\Include\winsock2.h(2432) : error
> > C2375: 'WSAAsyncGetProtoByName' : redefinition; different linkage
> >
> > I have no clue on how to move forward.
> >
> > Regards,
> >
> > Manoj
> >
> >
> >
> >
> >
> > _______________________________________________
> > sipxtapi-dev mailing list
> > [email protected]
> > List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/
> >
>
>
>
> --
> Keith Kyzivat
>
> SIPez LLC.
> SIP VoIP, IM and Presence Consulting
> http://www.SIPez.com
> tel: +1 (617) 273-4000
>
>
> _______________________________________________
> sipxtapi-dev mailing list
> [email protected]
> List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/
>
_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/

Reply via email to