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: New file in axis2 transport src - update build systems
Date Tue, 16 Nov 2004 10:51:09 GMT
Re : Windows errors -> I am yet to validate this code with the Windows tool. (In fact we
need
aditional libraries, but still figuring out how to use them) So best for the time being is
to
eliminate it.

Re: Linux Errors -> Looks like Ant is tying to link both Axis2TransportInstantiator.o and
IPV6TransportInstantiator.o together. Only one of them is to be bundled at a given time. For
axis2
lib we should use Axis2TransportInstantiator.o and with ipv6 lib we should use
IPV6TransportInstantiator.o.

Thanks,
Samisa...

--- Adrian Dick <adrian.dick@uk.ibm.com> wrote:

> 
> 
> 
> 
> 
> Samisa Abeysinghe <samisa_abeysinghe@yahoo.com> wrote on 16/11/2004
> 05:03:08:
> 
> > Hi All,
> >    I added a new Axis2TransportInstantiator.cpp file to axis2
> > transport source. I have only added
> > this to GNU build system. Please add it to other build systems. (I
> > hope there is nothing to do in
> > case of Ant)
> 
> Yes, for ANT no further modification is required
> 
> >
> >     I have also added a new ipv6 folder in src/transport/axis2/. It
> > is to contain IPV6 specific
> > code. Please update Windows/Ant build systems as I have only updated
> > GNU make build.
> >
> 
> I have attempted to update the ANT build script to include this directory,
> but am seeing various problems.   Are there some additional libraries, or
> headers I should be including/excluding?
> 
> Windows:
>        [cc] IPV6Channel.cpp
>        [cc]
> C:\development\build\src\ws-axis\c\src\transport\axis2\ipv6\IPV6Channel.cpp(101)
>  : error C2079: 'hints' uses undefined struct 'addrinfo'
>        [cc]
> C:\development\build\src\ws-axis\c\src\transport\axis2\ipv6\IPV6Channel.cpp(106)
>  : error C2228: left of '.ai_family' must have class/struct/union type
>        [cc]
> C:\development\build\src\ws-axis\c\src\transport\axis2\ipv6\IPV6Channel.cpp(107)
>  : error C2228: left of '.ai_socktype' must have class/struct/union type
>        [cc]
> C:\development\build\src\ws-axis\c\src\transport\axis2\ipv6\IPV6Channel.cpp(111)
>  : error C2065: 'getaddrinfo' : undeclared identifier
>        [cc]
> C:\development\build\src\ws-axis\c\src\transport\axis2\ipv6\IPV6Channel.cpp(121)
>  : error C2027: use of undefined type 'addrinfo'
>        [cc]
> C:\development\build\src\ws-axis\c\src\transport\axis2\ipv6\IPV6Channel.cpp(101)
>  : see declaration of 'addrinfo'
>        [cc]
> C:\development\build\src\ws-axis\c\src\transport\axis2\ipv6\IPV6Channel.cpp(121)
>  : error C2227: left of '->ai_next' must point to class/struct/union
>        [cc]
> C:\development\build\src\ws-axis\c\src\transport\axis2\ipv6\IPV6Channel.cpp(123)
>  : error C2027: use of undefined type 'addrinfo'
>        [cc]
> C:\development\build\src\ws-axis\c\src\transport\axis2\ipv6\IPV6Channel.cpp(101)
>  : see declaration of 'addrinfo'
>        [cc]
> C:\development\build\src\ws-axis\c\src\transport\axis2\ipv6\IPV6Channel.cpp(123)
>  : error C2227: left of '->ai_family' must point to class/struct/union
>        [cc]
> C:\development\build\src\ws-axis\c\src\transport\axis2\ipv6\IPV6Channel.cpp(123)
>  : error C2027: use of undefined type 'addrinfo'
>        [cc]
> C:\development\build\src\ws-axis\c\src\transport\axis2\ipv6\IPV6Channel.cpp(101)
>  : see declaration of 'addrinfo'
>        [cc]
> C:\development\build\src\ws-axis\c\src\transport\axis2\ipv6\IPV6Channel.cpp(123)
>  : error C2227: left of '->ai_socktype' must point to class/struct/union
>        [cc]
> C:\development\build\src\ws-axis\c\src\transport\axis2\ipv6\IPV6Channel.cpp(123)
>  : error C2027: use of undefined type 'addrinfo'
>        [cc]
> C:\development\build\src\ws-axis\c\src\transport\axis2\ipv6\IPV6Channel.cpp(101)
>  : see declaration of 'addrinfo'
>        [cc]
> C:\development\build\src\ws-axis\c\src\transport\axis2\ipv6\IPV6Channel.cpp(123)
>  : error C2227: left of '->ai_protocol' must point to class/struct/union
>        [cc]
> C:\development\build\src\ws-axis\c\src\transport\axis2\ipv6\IPV6Channel.cpp(132)
>  : error C2027: use of undefined type 'addrinfo'
>        [cc]
> C:\development\build\src\ws-axis\c\src\transport\axis2\ipv6\IPV6Channel.cpp(101)
>  : see declaration of 'addrinfo'
>        [cc]
> C:\development\build\src\ws-axis\c\src\transport\axis2\ipv6\IPV6Channel.cpp(132)
>  : error C2227: left of '->ai_addr' must point to class/struct/union
>        [cc]
> C:\development\build\src\ws-axis\c\src\transport\axis2\ipv6\IPV6Channel.cpp(132)
>  : error C2027: use of undefined type 'addrinfo'
>        [cc]
> C:\development\build\src\ws-axis\c\src\transport\axis2\ipv6\IPV6Channel.cpp(101)
>  : see declaration of 'addrinfo'
>        [cc]
> C:\development\build\src\ws-axis\c\src\transport\axis2\ipv6\IPV6Channel.cpp(132)
>  : error C2227: left of '->ai_addrlen' must point to class/struct/union
> 
> 
> Linux:
>        [cc] Starting link
>        [cc] ../objects/Axis2TransportInstantiator.o(.text+0x0): In function
> `CreateInstance':
>        [cc] : multiple definition of `CreateInstance'
>        [cc] ../objects/IPV6TransportInstantiator.o(.text+0x0): first
> defined here
>        [cc] ../objects/Axis2TransportInstantiator.o(.text+0x64): In
> function `DestroyInstance':
>        [cc] : multiple definition of `DestroyInstance'
>        [cc] ../objects/IPV6TransportInstantiator.o(.text+0x64): first
> defined here
>        [cc] ../objects/Axis2TransportInstantiator.o(.text+0x8c): In
> function `initializeLibrary':
>        [cc] : multiple definition of `initializeLibrary'
>        [cc] ../objects/IPV6TransportInstantiator.o(.text+0x8c): first
> defined here
>        [cc] ../objects/Axis2TransportInstantiator.o(.text+0x94): In
> function `uninitializeLibrary':
>        [cc] : multiple definition of `uninitializeLibrary'
>        [cc] ../objects/IPV6TransportInstantiator.o(.text+0x94): first
> defined here
>        [cc] collect2: ld returned 1 exit status
> 
> AIX appears to be working fine
> 
> 



		
__________________________________ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 


Mime
View raw message