axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Whitlock <mark_whitl...@uk.ibm.com>
Subject SecureChannel build break
Date Thu, 25 Nov 2004 17:21:58 GMT




Hi Damitha,
Unfortunately I can't get the latest code from cvs to build on Windows. I
get errors like....

compileAxisTransport:
       [cc] 7 total files to be compiled.
       [cc] Axis2Transport.cpp
       [cc] Channel.cpp
       [cc] URL.cpp
       [cc] SSLChannelFactory.cpp
       [cc] Axis2TransportInstantiator.cpp
       [cc] AxisTransportException.cpp
       [cc] SecureChannel.cpp
       [cc] C:\Program Files\Microsoft Visual Studio\VC98\include\winsock2.h(99) : error C2011:
'fd_set' : 'struct' type redefinition
       [cc] C:\Program Files\Microsoft Visual Studio\VC98\include\winsock2.h(134) : warning
C4005: 'FD_SET' : macro redefinition
       [cc]         C:\Program Files\Microsoft Visual Studio\VC98\include\winsock.h(83) :
see previous definition of 'FD_SET'
       [cc] C:\Program Files\Microsoft Visual Studio\VC98\include\winsock2.h(143) : error
C2011: 'timeval' : 'struct' type redefinition
       [cc] C:\Program Files\Microsoft Visual Studio\VC98\include\winsock2.h(199) : error
C2011: 'hostent' : 'struct' type redefinition
       [cc] C:\Program Files\Microsoft Visual Studio\VC98\include\winsock2.h(212) : error
C2011: 'netent' : 'struct' type redefinition
       [cc] C:\Program Files\Microsoft Visual Studio\VC98\include\winsock2.h(219) : error
C2011: 'servent' : 'struct' type redefinition
       [cc] C:\Program Files\Microsoft Visual Studio\VC98\include\winsock2.h(226) : error
C2011: 'protoent' : 'struct' type redefinition
       [cc] C:\Program Files\Microsoft Visual Studio\VC98\include\winsock2.h(310) : error
C2011: 'in_addr' : 'struct' type redefinition
       [cc] C:\Program Files\Microsoft Visual Studio\VC98\include\winsock2.h(368) : error
C2011: 'sockaddr_in' : 'struct' type redefinition
       [cc] C:\Program Files\Microsoft Visual Studio\VC98\include\winsock2.h(378) : error
C2011: 'WSAData' : 'struct' type redefinition
       [cc] C:\Program Files\Microsoft Visual Studio\VC98\include\winsock2.h(430) : warning
C4005: 'SO_DONTLINGER' : macro redefinition
       [cc]         C:\Program Files\Microsoft Visual Studio\VC98\include\winsock.h(391) :
see previous definition of 'SO_DONTLINGER'
       [cc] C:\Program Files\Microsoft Visual Studio\VC98\include\winsock2.h(483) : warning
C4005: 'AF_IPX' : macro redefinition

I would have fixed it myself if I could see an easy way to get it to compile, but I'm not
sufficiently familiar with this area of the code to do that.
 I also had to add in
PLATFORM_SSLCHANNEL_PATH into PlatformSpecificWindows.hpp for windows and other platforms.

Please could you help?
Thanks,
Mark
Mark Whitlock
IBM


Mime
View raw message