Thanks for that !
I've created a JIRA for it so we don't lose it.

regards,
John.





Tao Yang <[EMAIL PROTECTED]>

01/03/2006 23:20

Please respond to
"Apache AXIS C User List" <axis-c-user@ws.apache.org>

To
axis-c-user@ws.apache.org
cc
Subject
AxisC++ build problem





Hi,

I am now switching to build the latest svn checkout from the 1.5 release
on windows. However, another error jumps out:

buildVersionResource:
 [delete] Deleting 2 files from C:\opt\work\simdesk\axisc++\build
   [copy] Copying 1 file to C:\opt\work\simdesk\axisc++\build
     [cc] 5 total files to be compiled.
     [cc] URL.cpp
     [cc] PlatformSpecificWindows.cpp
     [cc] HTTPTransportException.cpp
     [cc] HTTPChannelInstantiator.cpp
     [cc]
c:\opt\work\simdesk\axisc++\src\transport\axis3\HTTPChannel\HTTPChannel.hpp(31)
: fat
error C1083: Cannot open include file: 'tpipv6.h': No such file or
directory
     [cc] HTTPChannel.cpp
     [cc]
c:\opt\work\simdesk\axisc++\src\transport\axis3\HTTPChannel\HTTPChannel.hpp(31)
: fat
error C1083: Cannot open include file: 'tpipv6.h': No such file or
directory
     [cc] Generating Code...

I think the tpipv6 is only needed for VC6. All the ipv6 stuff is in
later winsock2.h. I am using VC7...
So I made a small change to accommodate this, pleae see the attached
patch.txt for detail.

cheers,
Tao
Index: C:/opt/work/simdesk/axisc++/src/transport/axis3/HTTPChannel/HTTPChannel.hpp
===================================================================
--- C:/opt/work/simdesk/axisc++/src/transport/axis3/HTTPChannel/HTTPChannel.hpp                 (revision 381684)
+++ C:/opt/work/simdesk/axisc++/src/transport/axis3/HTTPChannel/HTTPChannel.hpp                 (working copy)
@@ -28,8 +28,10 @@

#ifdef IPV6
#include <ws2tcpip.h>
+#if P_HAS_IPV6 && !defined IPPROTO_IPV6
#include <tpipv6.h>  // For IPv6 Tech Preview.
#endif
+#endif

// What version of WinSock is required
const int    WS_VERSION_REQD    = 0x0101;
Index: C:/opt/work/simdesk/axisc++/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.hpp
===================================================================
--- C:/opt/work/simdesk/axisc++/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.hpp                 (revision 381684)
+++ C:/opt/work/simdesk/axisc++/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.hpp                 (working copy)
@@ -30,8 +30,10 @@

#ifdef IPV6
#include <ws2tcpip.h>
+#if P_HAS_IPV6 && !defined IPPROTO_IPV6
#include <tpipv6.h>  // For IPv6 Tech Preview.
#endif
+#endif

// What version of WinSock is required
const int    WS_VERSION_REQD    = 0x0101;

Reply via email to