You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by Tao Yang <ty...@simdesk.com> on 2006/03/02 00:20:21 UTC

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

Re: AxisC++ build problem

Posted by John Hawkins <HA...@uk.ibm.com>.
Thanks for that !
I've created a JIRA for it so we don't lose it.

regards,
John.






Tao Yang <ty...@simdesk.com> 
01/03/2006 23:20
Please respond to
"Apache AXIS C User List" <ax...@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;