amazon client supported platforms

2006-11-14 Thread Motl

Hi, 

which platforms amazon activemq client is proposed to be built on?
I built it on RHEL4 Linux without any problems, then I tried to build it
under Cygwin.

Here are the last lines of build failure:

 g++ -DPACKAGE_NAME=\\ -DPACKAGE_TARNAME=\\ -DPACKAGE_VERSION=\\
-DPACKAGE
_STRING=\\ -DPACKAGE_BUGREPORT=\\ -DPACKAGE=\amq_openwirecpp\
-DVERSION=\
0.1.2\ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_
H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -
DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -I. -I.
-I.
./ -I/cygdrive/c/boost_1_33_1/ -MT TCPTransport.lo -MD -MP -MF
.deps/TCPTranspor
t.Tpo -c TCPTransport.cpp  -DPIC -o .libs/TCPTransport.o
TCPTransport.cpp: In member function `virtual void
ActiveMQ::TCPTransport::conne
ct()':
TCPTransport.cpp:50: error: aggregate `addrinfo hints' has incomplete type
and c
annot be defined
TCPTransport.cpp:52: error: invalid application of `sizeof' to incomplete
type `
addrinfo'
TCPTransport.cpp:56: error: `getaddrinfo' undeclared (first use this
function)
TCPTransport.cpp:56: error: (Each undeclared identifier is reported only
once fo
r each function it appears in.)
TCPTransport.cpp:58: error: `gai_strerror' undeclared (first use this
function)
TCPTransport.cpp:60: error: invalid use of undefined type `struct addrinfo'
TCPTransport.cpp:50: error: forward declaration of `struct addrinfo'
TCPTransport.cpp:60: error: invalid use of undefined type `struct addrinfo'
TCPTransport.cpp:50: error: forward declaration of `struct addrinfo'
TCPTransport.cpp:61: error: `freeaddrinfo' undeclared (first use this
function)
make[1]: *** [TCPTransport.lo] Error 1
make[1]: Leaving directory `/home/motl/devel/amazon/amq_transport'
make: *** [all-recursive] Error 1
...

Is Cygwin platform supported ? How can I cope with it?

Thank you.




-- 
View this message in context: 
http://www.nabble.com/amazon-client-supported-platforms-tf2628734.html#a7335457
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.



Re: amazon client supported platforms

2006-11-14 Thread Hiram Chirino

Not supported out of box.  If you want to take a stab at doing a port,
please be my guest!  Patches would be welcomed!

On 11/14/06, Motl [EMAIL PROTECTED] wrote:


Hi,

which platforms amazon activemq client is proposed to be built on?
I built it on RHEL4 Linux without any problems, then I tried to build it
under Cygwin.

Here are the last lines of build failure:

 g++ -DPACKAGE_NAME=\\ -DPACKAGE_TARNAME=\\ -DPACKAGE_VERSION=\\
-DPACKAGE
_STRING=\\ -DPACKAGE_BUGREPORT=\\ -DPACKAGE=\amq_openwirecpp\
-DVERSION=\
0.1.2\ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_
H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -
DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -I. -I.
-I.
./ -I/cygdrive/c/boost_1_33_1/ -MT TCPTransport.lo -MD -MP -MF
.deps/TCPTranspor
t.Tpo -c TCPTransport.cpp  -DPIC -o .libs/TCPTransport.o
TCPTransport.cpp: In member function `virtual void
ActiveMQ::TCPTransport::conne
ct()':
TCPTransport.cpp:50: error: aggregate `addrinfo hints' has incomplete type
and c
annot be defined
TCPTransport.cpp:52: error: invalid application of `sizeof' to incomplete
type `
addrinfo'
TCPTransport.cpp:56: error: `getaddrinfo' undeclared (first use this
function)
TCPTransport.cpp:56: error: (Each undeclared identifier is reported only
once fo
r each function it appears in.)
TCPTransport.cpp:58: error: `gai_strerror' undeclared (first use this
function)
TCPTransport.cpp:60: error: invalid use of undefined type `struct addrinfo'
TCPTransport.cpp:50: error: forward declaration of `struct addrinfo'
TCPTransport.cpp:60: error: invalid use of undefined type `struct addrinfo'
TCPTransport.cpp:50: error: forward declaration of `struct addrinfo'
TCPTransport.cpp:61: error: `freeaddrinfo' undeclared (first use this
function)
make[1]: *** [TCPTransport.lo] Error 1
make[1]: Leaving directory `/home/motl/devel/amazon/amq_transport'
make: *** [all-recursive] Error 1
...

Is Cygwin platform supported ? How can I cope with it?

Thank you.




--
View this message in context: 
http://www.nabble.com/amazon-client-supported-platforms-tf2628734.html#a7335457
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.





--
Regards,
Hiram

Blog: http://hiramchirino.com