activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From EJLeVin1 <>
Subject CMS fails to compile on Mac OSX (Leopard)
Date Fri, 12 Sep 2008 14:03:39 GMT

     I am trying to get the activemq-cpp distribution compiled under osx.. 
I am running into an issue when I run 'make' and am not sure what is going
on.  Here are the steps I did:

-installed apache apr 1.3.3 through Mac Ports
-downloaded cms distro
-ran the following commands in the root of the extracted distro:
     make <-- Fails

Here is the error I am getting during the build -- It makes it through many
other files but the following fails.

g++ -DHAVE_CONFIG_H -I. -I../.. -ansi -pedantic -DDARWIN
-I/usr/local/apr/include/apr-0 -I/usr/local/apr/include/apr-0 -W -Wall -fPIC
-fstrict-aliasing -Wstrict-aliasing=2 -Wno-long-long -g -O2 -MT
decaf/net/libactivemq_cpp_la-ServerSocket.lo -MD -MP -MF
decaf/net/.deps/libactivemq_cpp_la-ServerSocket.Tpo -c
decaf/net/ServerSocket.cpp  -fno-common -DPIC -o
decaf/net/ServerSocket.cpp: In member function ‘virtual void
decaf::net::ServerSocket::bind(const char*, int, int)’:
decaf/net/ServerSocket.cpp:80: error: invalid conversion from ‘int’ to
/usr/local/apr/include/apr-0/apr_network_io.h:267: error: too many arguments
to function ‘apr_status_t apr_socket_create(apr_socket_t**, int, int,
decaf/net/ServerSocket.cpp:80: error: at this point in file
make[2]: *** [decaf/net/libactivemq_cpp_la-ServerSocket.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Any help with this would be much appreciated.  Am I doing something wrong?

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message