You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by Mark Whitlock <ma...@uk.ibm.com> on 2004/11/25 18:21:58 UTC

SecureChannel build break




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


Re: SecureChannel build break

Posted by Samisa Abeysinghe <sa...@yahoo.com>.
Hi Sanjaya,
    Could you build the Axis2Transport VC++ project on Windows?
    I am still facing trouble with this

Thanks,
Samisa...

--- Samisa Abeysinghe <sa...@yahoo.com> wrote:

> I am having nightmares on windows platform because of this break.
>  
> Aparenetly what is happening is that from the platform header, inclusion of windows.h causes
> automatic inclusion of winsock.h. (from within windows.h) and Chanel.h has winsock2.h.
>  
> I am not a Windows expert, hence I am not sure how exactly to fix this.
> Please help.
> (I am stuck with this and unable to test axis2 transport with ipv6 on windows)
>  
> Thanks,
> Samisa...
> 
> 
> Damitha Kumarage <da...@opensource.lk> wrote:
> Hi Fred,
> I understand what you said and I'll fix the code accordingly
> thanks
> damitha
> On Mon, 29 Nov 2004 10:25:36 +0000, Fred Preston wrote
> > Hi Damitha,
> > I wasn't so worried about the build break, more about your
> > implementation of the SecureChannel and particularity, the use of global
> > variables. Have you had a chance to read my note that I sent on Friday
> > last week?
> > 
> > Regards,
> > 
> > Fred Preston.
> > Software Engineer
> > 
> > "Damitha
> > 
> > Kumarage" To: "Apache AXIS C 
> > Developers List" 
> > > 
> > ce.lk> Subject: Re: SecureChannel 
> > build break
> > 
> > 29/11/04 03:34
> > 
> > Please respond to
> > 
> > "Apache AXIS C
> > 
> > Developers List"
> > 
> > Hi Mark,
> > I am very sorry to hear that. Unfortunately I don't have any windows
> > machine
> > with me to test this on windows and even if I have I'm not familiar with
> > its
> > development env. It is wrong of me to put the code before testing on 
> > other platforms. But even if I manage to build it on windows how can 
> > i do it on Solaris, AIX?. Farhaan, I think we need those setup 
> > somewhere and testsuite running in everyone of them regulary.
> > 
> > thnaks
> > damitha
> > On Thu, 25 Nov 2004 17:21:58 +0000, Mark Whitlock wrote
> > > 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
> > 
> > --
> > Damitha Kumarage
> > hSenid Software International (PVT) Ltd
> > damitha@hSenid.lk
> > 
> > Lanka Software Foundation (http://www.opensource.lk)
> 
> 
> --
> Damitha Kumarage
> hSenid Software International (PVT) Ltd
> damitha@hSenid.lk
> 
> Lanka Software Foundation (http://www.opensource.lk)
> 
> 
> 		
> ---------------------------------
> Do you Yahoo!?
>  Yahoo! Mail - Helps protect you from nasty viruses.



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

Re: SecureChannel build break

Posted by Samisa Abeysinghe <sa...@yahoo.com>.
I am having nightmares on windows platform because of this break.
 
Aparenetly what is happening is that from the platform header, inclusion of windows.h causes automatic inclusion of winsock.h. (from within windows.h) and Chanel.h has winsock2.h.
 
I am not a Windows expert, hence I am not sure how exactly to fix this.
Please help.
(I am stuck with this and unable to test axis2 transport with ipv6 on windows)
 
Thanks,
Samisa...


Damitha Kumarage <da...@opensource.lk> wrote:
Hi Fred,
I understand what you said and I'll fix the code accordingly
thanks
damitha
On Mon, 29 Nov 2004 10:25:36 +0000, Fred Preston wrote
> Hi Damitha,
> I wasn't so worried about the build break, more about your
> implementation of the SecureChannel and particularity, the use of global
> variables. Have you had a chance to read my note that I sent on Friday
> last week?
> 
> Regards,
> 
> Fred Preston.
> Software Engineer
> 
> "Damitha
> 
> Kumarage" To: "Apache AXIS C 
> Developers List" 
> > 
> ce.lk> Subject: Re: SecureChannel 
> build break
> 
> 29/11/04 03:34
> 
> Please respond to
> 
> "Apache AXIS C
> 
> Developers List"
> 
> Hi Mark,
> I am very sorry to hear that. Unfortunately I don't have any windows
> machine
> with me to test this on windows and even if I have I'm not familiar with
> its
> development env. It is wrong of me to put the code before testing on 
> other platforms. But even if I manage to build it on windows how can 
> i do it on Solaris, AIX?. Farhaan, I think we need those setup 
> somewhere and testsuite running in everyone of them regulary.
> 
> thnaks
> damitha
> On Thu, 25 Nov 2004 17:21:58 +0000, Mark Whitlock wrote
> > 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
> 
> --
> Damitha Kumarage
> hSenid Software International (PVT) Ltd
> damitha@hSenid.lk
> 
> Lanka Software Foundation (http://www.opensource.lk)


--
Damitha Kumarage
hSenid Software International (PVT) Ltd
damitha@hSenid.lk

Lanka Software Foundation (http://www.opensource.lk)


		
---------------------------------
Do you Yahoo!?
 Yahoo! Mail - Helps protect you from nasty viruses.

Re: SecureChannel build break

Posted by Damitha Kumarage <da...@opensource.lk>.
Hi Fred,
I understand what you said and I'll fix the code accordingly
thanks
damitha
On Mon, 29 Nov 2004 10:25:36 +0000, Fred Preston wrote
> Hi Damitha,
>       I wasn't so worried about the build break, more about your
> implementation of the SecureChannel and particularity, the use of global
> variables.  Have you had a chance to read my note that I sent on Friday
> last week?
> 
> Regards,
> 
> Fred Preston.
> Software Engineer
> 
>                       "Damitha
> 
>                    Kumarage"                To:       "Apache AXIS C 
> Developers List" <ax...@ws.apache.org>                          
>                 <damitha@opensour        cc:
> 
>              ce.lk>                   Subject:  Re: SecureChannel 
> build break
> 
>                       29/11/04 03:34
> 
>                    Please respond to
> 
>                 "Apache AXIS C
> 
>              Developers List"
> 
> Hi Mark,
> I am very sorry to hear that. Unfortunately I don't have any windows
> machine
> with me to test this on windows and even if I have I'm not familiar with
> its
> development env. It is wrong of me to put the code before testing on 
> other platforms. But even if I manage to build it on windows how can 
> i do it on Solaris, AIX?. Farhaan, I think we need those setup 
> somewhere and testsuite running in everyone of them regulary.
> 
> thnaks
> damitha
> On Thu, 25 Nov 2004 17:21:58 +0000, Mark Whitlock wrote
> > 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
> 
> --
> Damitha Kumarage
> hSenid Software International (PVT) Ltd
> damitha@hSenid.lk
> 
> Lanka Software Foundation (http://www.opensource.lk)


--
Damitha Kumarage
hSenid Software International (PVT) Ltd
damitha@hSenid.lk

Lanka Software Foundation (http://www.opensource.lk)


Re: SecureChannel build break

Posted by Damitha Kumarage <da...@opensource.lk>.
Hi John,

On Mon, 29 Nov 2004 10:32:53 +0000, John Hawkins wrote
> In terms of build platform coverage , we are building and publishing 
> the code nightly on AIX, Linux and windows.
> 
> I agree - I don't think anyone can be expected to build on all platforms
> therefore it's a good policy to put your fix in and then look at the
> nightly build, the next day, to see if you broke anything.
> 
> Would the dev community like to have a mail sent  (only) when the build
> breaks - this will be a very short mail with a link to the nightly build?
This will be very helpful
thanks 
damitha
> 
> John Hawkins
> 
>              Fred                                                    
>                    Preston/UK/IBM@IB                                 
>                          MGB                                         
>                To                                        "Apache 
> AXIS C Developers List"                  29/11/2004 10:25          
> <ax...@ws.apache.org>                                           
>                                        cc
> 
>              Please respond to                                     
> Subject               "Apache AXIS C           Re: SecureChannel 
> build break                    Developers List"
> 
> Hi Damitha,
>       I wasn't so worried about the build break, more about your
> implementation of the SecureChannel and particularity, the use of global
> variables.  Have you had a chance to read my note that I sent on Friday
> last week?
> 
> Regards,
> 
> Fred Preston.
> Software Engineer
> 
>                       "Damitha
> 
>                       Kumarage"                To:       "Apache 
> AXIS C Developers List" <ax...@ws.apache.org>                   
>    <damitha@opensour        cc:
> 
>                       ce.lk>                   Subject:  Re: SecureChannel
> build break
> 
>                       29/11/04 03:34
> 
>                       Please respond to
> 
>                       "Apache AXIS C
> 
>                       Developers List"
> 
> Hi Mark,
> I am very sorry to hear that. Unfortunately I don't have any windows
> machine
> with me to test this on windows and even if I have I'm not familiar with
> its
> development env. It is wrong of me to put the code before testing on 
> other platforms. But even if I manage to build it on windows how can 
> i do it on Solaris, AIX?. Farhaan, I think we need those setup 
> somewhere and testsuite running in everyone of them regulary.
> 
> thnaks
> damitha
> On Thu, 25 Nov 2004 17:21:58 +0000, Mark Whitlock wrote
> > 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
> 
> --
> Damitha Kumarage
> hSenid Software International (PVT) Ltd
> damitha@hSenid.lk
> 
> Lanka Software Foundation (http://www.opensource.lk)


--
Damitha Kumarage
hSenid Software International (PVT) Ltd
damitha@hSenid.lk

Lanka Software Foundation (http://www.opensource.lk)


Re: SecureChannel build break

Posted by Samisa Abeysinghe <sa...@yahoo.com>.
> Would the dev community like to have a mail sent  (only) when the build
> breaks - this will be a very short mail with a link to the nightly 
> build?
 
I think this is a real necessaacity. I used to send mails for the past couple of weeks when the build breaks as well as when it does not. However they were limited in that I only tested on Linux and I ran the builds manuall - thay were not automated.
 
It would be really helpful if you could send mails to the list when it fails to build on any platform.
 
Thanks,
Samisa...



John Hawkins <HA...@uk.ibm.com> wrote:




In terms of build platform coverage , we are building and publishing the
code nightly
on AIX, Linux and windows.

I agree - I don't think anyone can be expected to build on all platforms
therefore it's a good policy to put your fix in and then look at the
nightly build, the next day, to see if you broke anything.

Would the dev community like to have a mail sent (only) when the build
breaks - this will be a very short mail with a link to the nightly build?


John Hawkins





Fred 
Preston/UK/IBM@IB 
MGB To 
"Apache AXIS C Developers List" 
29/11/2004 10:25 
cc 

Please respond to Subject 
"Apache AXIS C Re: SecureChannel build break 
Developers List" 













Hi Damitha,
I wasn't so worried about the build break, more about your
implementation of the SecureChannel and particularity, the use of global
variables. Have you had a chance to read my note that I sent on Friday
last week?

Regards,

Fred Preston.
Software Engineer




"Damitha

Kumarage" To: "Apache AXIS C
Developers List" 

ce.lk> Subject: Re: SecureChannel
build break

29/11/04 03:34

Please respond to

"Apache AXIS C

Developers List"





Hi Mark,
I am very sorry to hear that. Unfortunately I don't have any windows
machine
with me to test this on windows and even if I have I'm not familiar with
its
development env. It is wrong of me to put the code before testing on other
platforms. But even if I manage to build it on windows how can i do it on
Solaris, AIX?. Farhaan, I think we need those setup somewhere and testsuite
running in everyone of them regulary.

thnaks
damitha
On Thu, 25 Nov 2004 17:21:58 +0000, Mark Whitlock wrote
> 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


--
Damitha Kumarage
hSenid Software International (PVT) Ltd
damitha@hSenid.lk

Lanka Software Foundation (http://www.opensource.lk)






		
---------------------------------
Do you Yahoo!?
 The all-new My Yahoo! � What will yours do?

Re: SecureChannel build break

Posted by John Hawkins <HA...@uk.ibm.com>.



In terms of build platform coverage , we are building and publishing the
code nightly
on AIX, Linux and windows.

I agree - I don't think anyone can be expected to build on all platforms
therefore it's a good policy to put your fix in and then look at the
nightly build, the next day, to see if you broke anything.

Would the dev community like to have a mail sent  (only) when the build
breaks - this will be a very short mail with a link to the nightly build?


John Hawkins




                                                                           
             Fred                                                          
             Preston/UK/IBM@IB                                             
             MGB                                                        To 
                                       "Apache AXIS C Developers List"     
             29/11/2004 10:25          <ax...@ws.apache.org>          
                                                                        cc 
                                                                           
             Please respond to                                     Subject 
              "Apache AXIS C           Re: SecureChannel build break       
             Developers List"                                              
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           








Hi Damitha,
      I wasn't so worried about the build break, more about your
implementation of the SecureChannel and particularity, the use of global
variables.  Have you had a chance to read my note that I sent on Friday
last week?

Regards,

Fred Preston.
Software Engineer




                      "Damitha

                      Kumarage"                To:       "Apache AXIS C
Developers List" <ax...@ws.apache.org>
                      <damitha@opensour        cc:

                      ce.lk>                   Subject:  Re: SecureChannel
build break

                      29/11/04 03:34

                      Please respond to

                      "Apache AXIS C

                      Developers List"





Hi Mark,
I am very sorry to hear that. Unfortunately I don't have any windows
machine
with me to test this on windows and even if I have I'm not familiar with
its
development env. It is wrong of me to put the code before testing on other
platforms. But even if I manage to build it on windows how can i do it on
Solaris, AIX?. Farhaan, I think we need those setup somewhere and testsuite
running in everyone of them regulary.

thnaks
damitha
On Thu, 25 Nov 2004 17:21:58 +0000, Mark Whitlock wrote
> 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


--
Damitha Kumarage
hSenid Software International (PVT) Ltd
damitha@hSenid.lk

Lanka Software Foundation (http://www.opensource.lk)






Re: SecureChannel build break

Posted by Fred Preston <PR...@uk.ibm.com>.



Hi Damitha,
      I wasn't so worried about the build break, more about your
implementation of the SecureChannel and particularity, the use of global
variables.  Have you had a chance to read my note that I sent on Friday
last week?

Regards,

Fred Preston.
Software Engineer



                                                                                                                                       
                      "Damitha                                                                                                         
                      Kumarage"                To:       "Apache AXIS C Developers List" <ax...@ws.apache.org>                    
                      <damitha@opensour        cc:                                                                                     
                      ce.lk>                   Subject:  Re: SecureChannel build break                                                 
                                                                                                                                       
                      29/11/04 03:34                                                                                                   
                      Please respond to                                                                                                
                      "Apache AXIS C                                                                                                   
                      Developers List"                                                                                                 
                                                                                                                                       



Hi Mark,
I am very sorry to hear that. Unfortunately I don't have any windows
machine
with me to test this on windows and even if I have I'm not familiar with
its
development env. It is wrong of me to put the code before testing on other
platforms. But even if I manage to build it on windows how can i do it on
Solaris, AIX?. Farhaan, I think we need those setup somewhere and testsuite
running in everyone of them regulary.

thnaks
damitha
On Thu, 25 Nov 2004 17:21:58 +0000, Mark Whitlock wrote
> 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


--
Damitha Kumarage
hSenid Software International (PVT) Ltd
damitha@hSenid.lk

Lanka Software Foundation (http://www.opensource.lk)




Re: SecureChannel build break

Posted by Damitha Kumarage <da...@opensource.lk>.
Hi Mark,
I am very sorry to hear that. Unfortunately I don't have any windows machine
with me to test this on windows and even if I have I'm not familiar with its
development env. It is wrong of me to put the code before testing on other
platforms. But even if I manage to build it on windows how can i do it on
Solaris, AIX?. Farhaan, I think we need those setup somewhere and testsuite
running in everyone of them regulary.

thnaks
damitha
On Thu, 25 Nov 2004 17:21:58 +0000, Mark Whitlock wrote
> 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


--
Damitha Kumarage
hSenid Software International (PVT) Ltd
damitha@hSenid.lk

Lanka Software Foundation (http://www.opensource.lk)