axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samisa Abeysinghe <samisa_abeysin...@yahoo.com>
Subject Re: Axis2Transport does not build on windows
Date Tue, 30 Nov 2004 11:32:16 GMT
Yes; AxisSocketUtils is not used anywhere.

Looking at the email list, if I say changes to SecureChannel has started causing problems,
am I
correct? If so I could revert back and try.

Thanks,
Samisa...

--- sanjaya singharage <sanjayas@opensource.lk> wrote:

> winsock.h is included in xisSocketUtils.cpp, but this doesn't seem to be
> used anywhere.
> 
> sanjaya.
> 
> ----- Original Message -----
> From: "Samisa Abeysinghe" <samisa_abeysinghe@yahoo.com>
> To: "Apache AXIS C Developers List" <axis-c-dev@ws.apache.org>
> Sent: Tuesday, November 30, 2004 5:02 PM
> Subject: Re: Axis2Transport does not build on windows
> 
> 
> > None of the source files include winsock.h but winsock2.h.
> > However, windows.h included in
> src/platforms/windows/PlatformSpecificWindows.hpp seems to make the
> > compiler run into confusion.
> > I still could not find a solution.
> >
> > Waht are we doing wrong here? I think before using platform headers it
> worked. I am not sure if
> > this problem came to life with platform headers.
> >
> > Samisa...
> >
> > --- sanjaya singharage <sanjayas@opensource.lk> wrote:
> >
> > > --------------------Configuration: Axis2Transport - Win32
> Debug--------------------
> > > Compiling...
> > > SecureChannel.cpp
> > >
> d:\san\works\checkouts\head5\ws-axis\c\include\axis\axisexception.hpp(164) :
> warning C4275: non
> > > dll-interface class 'exception' used as base for dll-interface class
> 'axiscpp::AxisException'
> > >         c:\program files\microsoft visual
> studio\vc98\include\exception(50) : see declaration of
> > > 'exception'
> > >
> d:\san\works\checkouts\head5\ws-axis\c\src\transport\axis2\axistransportexce
> ption.h(51) :
> > > warning C4251: 'm_sMessage' : class 'std::basic_string<char,struct
> std::char_traits<char>,class
> > > std::allocator<char> >' needs to have dll-interface to be used
> > > by clients of class 'AxisTransportException'
> > > c:\program files\microsoft visual studio\vc98\include\winsock2.h(99) :
> error C2011: 'fd_set' :
> > > 'struct' type redefinition
> > > c:\program files\microsoft visual studio\vc98\include\winsock2.h(134) :
> warning C4005: 'FD_SET'
> > > : macro redefinition
> > >         c:\program files\microsoft visual
> studio\vc98\include\winsock.h(83) : see previous
> > > definition of 'FD_SET'
> > > c:\program files\microsoft visual studio\vc98\include\winsock2.h(143) :
> error C2011: 'timeval' :
> > > 'struct' type redefinition
> > > c:\program files\microsoft visual studio\vc98\include\winsock2.h(199) :
> error C2011: 'hostent' :
> > > 'struct' type redefinition
> > > c:\program files\microsoft visual studio\vc98\include\winsock2.h(212) :
> error C2011: 'netent' :
> > > 'struct' type redefinition
> > > c:\program files\microsoft visual studio\vc98\include\winsock2.h(219) :
> error C2011: 'servent' :
> > > 'struct' type redefinition
> > > c:\program files\microsoft visual studio\vc98\include\winsock2.h(226) :
> error C2011: 'protoent'
> > > : 'struct' type redefinition
> > > c:\program files\microsoft visual studio\vc98\include\winsock2.h(310) :
> error C2011: 'in_addr' :
> > > 'struct' type redefinition
> > > c:\program files\microsoft visual studio\vc98\include\winsock2.h(368) :
> error C2011:
> > > 'sockaddr_in' : 'struct' type redefinition
> > > c:\program files\microsoft visual studio\vc98\include\winsock2.h(378) :
> error C2011: 'WSAData' :
> > > 'struct' type redefinition
> > > c:\program files\microsoft visual studio\vc98\include\winsock2.h(430) :
> warning C4005:
> > > 'SO_DONTLINGER' : macro redefinition
> > >         c:\program files\microsoft visual
> studio\vc98\include\winsock.h(391) : see previous
> > > definition of 'SO_DONTLINGER'
> > > c:\program files\microsoft visual studio\vc98\include\winsock2.h(483) :
> warning C4005: 'AF_IPX'
> > > : macro redefinition
> > >         c:\program files\microsoft visual
> studio\vc98\include\winsock.h(449) : see previous
> > > definition of 'AF_IPX'
> > > c:\program files\microsoft visual studio\vc98\include\winsock2.h(506) :
> warning C4005: 'AF_MAX'
> > > : macro redefinition
> > >         c:\program files\microsoft visual
> studio\vc98\include\winsock.h(468) : see previous
> > > definition of 'AF_MAX'
> > > c:\program files\microsoft visual studio\vc98\include\winsock2.h(512) :
> error C2011: 'sockaddr'
> > > : 'struct' type redefinition
> > > c:\program files\microsoft visual studio\vc98\include\winsock2.h(521) :
> error C2011: 'sockproto'
> > > : 'struct' type redefinition
> > > c:\program files\microsoft visual studio\vc98\include\winsock2.h(560) :
> error C2011: 'linger' :
> > > 'struct' type redefinition
> > > c:\program files\microsoft visual studio\vc98\include\winsock2.h(573) :
> warning C4005:
> > > 'SOMAXCONN' : macro redefinition
> > >         c:\program files\microsoft visual
> studio\vc98\include\winsock.h(533) : see previous
> > > definition of 'SOMAXCONN'
> > > c:\program files\microsoft visual studio\vc98\include\winsock2.h(598) :
> warning C4005: 'FD_READ'
> > > : macro redefinition
> > >         c:\program files\microsoft visual
> studio\vc98\include\winsock.h(551) : see previous
> > > definition of 'FD_READ'
> > > c:\program files\microsoft visual studio\vc98\include\winsock2.h(601) :
> warning C4005:
> > > 'FD_WRITE' : macro redefinition
> > >         c:\program files\microsoft visual
> studio\vc98\include\winsock.h(552) : see previous
> > > definition of 'FD_WRITE'
> > > c:\program files\microsoft visual studio\vc98\include\winsock2.h(604) :
> warning C4005: 'FD_OOB'
> > > : macro redefinition
> > >         c:\program files\microsoft visual
> studio\vc98\include\winsock.h(553) : see previous
> > > definition of 'FD_OOB'
> > > c:\program files\microsoft visual studio\vc98\include\winsock2.h(607) :
> warning C4005:
> > > 'FD_ACCEPT' : macro redefinition
> > >         c:\program files\microsoft visual
> studio\vc98\include\winsock.h(554) : see previous
> > > definition of 'FD_ACCEPT'
> > > c:\program files\microsoft visual studio\vc98\include\winsock2.h(610) :
> warning C4005:
> > > 'FD_CONNECT' : macro redefinition
> > >         c:\program files\microsoft visual
> studio\vc98\include\winsock.h(555) : see previous
> > > definition of 'FD_CONNECT'
> > > c:\program files\microsoft visual studio\vc98\include\winsock2.h(613) :
> warning C4005:
> > > 'FD_CLOSE' : macro redefinition
> > >         c:\program files\microsoft visual
> studio\vc98\include\winsock.h(556) : see previous
> > > definition of 'FD_CLOSE'
> > > c:\program files\microsoft visual studio\vc98\include\winsock2.h(1427) :
> error C2375: 'accept' :
> > > redefinition; different linkage
> > >         c:\program files\microsoft visual
> studio\vc98\include\winsock.h(707) : see declaration
> > > of 'accept'
> > > c:\program files\microsoft visual studio\vc98\include\winsock2.h(1448) :
> error C2375: 'bind' :
> > > redefinition; different linkage
> > >         c:\program files\microsoft visual
> studio\vc98\include\winsock.h(710) : see declaration
> > > of 'bind'
> > > c:\program files\microsoft visual studio\vc98\include\winsock2.h(1467) :
> error C2375:
> > > 'closesocket' : redefinition; different linkage
> > >         c:\program files\microsoft visual
> studio\vc98\include\winsock.h(712) : see declaration
> > > of 'closesocket'
> > > c:\program files\microsoft visual studio\vc98\include\winsock2.h(1486) :
> error C2375: 'connect'
> > > : redefinition; different linkage
> > >         c:\program files\microsoft visual
> studio\vc98\include\winsock.h(714) : see declaration
> > > of 'connect'
> > > c:\program files\microsoft visual studio\vc98\include\winsock2.h(1507) :
> error C2375:
> > > 'ioctlsocket' : redefinition; different linkage
> > >         c:\program files\microsoft visual
> studio\vc98\include\winsock.h(716) : see declaration
> > > of 'ioctlsocket'
> > > c:\program files\microsoft visual studio\vc98\include\winsock2.h(1528) :
> error C2375:
> > > 'getpeername' : redefinition; different linkage
> > >         c:\program files\microsoft visual
> studio\vc98\include\winsock.h(718) : see declaration
> > > of 'getpeername'
> > > c:\program files\microsoft visual studio\vc98\include\winsock2.h(1549) :
> error C2375:
> > > 'getsockname' : redefinition; different linkage
> > >         c:\program files\microsoft visual
> studio\vc98\include\winsock.h(721) : see declaration
> > > of 'getsockname'
> > > c:\program files\microsoft visual studio\vc98\include\winsock2.h(1572) :
> error C2375:
> > > 'getsockopt' : redefinition; different linkage
> > >         c:\program files\microsoft visual
> studio\vc98\include\winsock.h(724) : see declaration
> > > of 'getsockopt'
> > > c:\program files\microsoft visual studio\vc98\include\winsock2.h(1593) :
> error C2375: 'htonl' :
> > > redefinition; different linkage
> > >         c:\program files\microsoft visual
> studio\vc98\include\winsock.h(727) : see declaration
> > > of 'htonl'
> 
=== message truncated ===



		
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com 

Mime
View raw message