activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <tabish...@gmail.com>
Subject Re: Errors when compiling CMS
Date Thu, 04 Dec 2008 03:27:42 GMT
What platform are you building on?  Does APR compile and pass all its
unit tests?

Regards
Tim.

On Wed, 2008-12-03 at 19:02 -0800, DanLeepw wrote:
> When I try to compile CMS with the following packages:
> 
> activemq-cpp-2.2.2-src
> apr-1.3.3
> apr-util-1.3.4
> 
> I get the following error:
>  g++ -DHAVE_CONFIG_H -I. -I../.. -ansi -pedantic -DLINUX=2 -D_REENTRANT
> -D_GNU_SOURCE -I/home/dlee/cvs/thirdparty/activemq/apr-1.3.3/include
> -I/usr/include/apr-1 -I/usr/include/mysql -W -Wall -fPIC -fstrict-aliasing
> -Wstrict-aliasing=2 -Wno-long-long -g -O2 -MT
> activemq/core/libactivemq_cpp_la-ActiveMQConnectionFactory.lo -MD -MP -MF
> activemq/core/.deps/libactivemq_cpp_la-ActiveMQConnectionFactory.Tpo -c
> activemq/core/ActiveMQConnectionFactory.cpp  -fPIC -DPIC -o
> activemq/core/.libs/libactivemq_cpp_la-ActiveMQConnectionFactory.o
> In file included from
> /home/dlee/cvs/thirdparty/activemq/apr-1.3.3/include/apr_file_io.h:29,
>                  from
> /home/dlee/cvs/thirdparty/activemq/apr-1.3.3/include/apr_thread_proc.h:26,
>                  from ./decaf/lang/Thread.h:26,
>                  from ./decaf/util/concurrent/Mutex.h:23,
>                  from ./decaf/util/Map.h:25,
>                  from ./activemq/core/ActiveMQConnection.h:29,
>                  from activemq/core/ActiveMQConnectionFactory.cpp:25:
> /home/dlee/cvs/thirdparty/activemq/apr-1.3.3/include/apr_file_info.h:192:
> error: 'apr_ino_t__requires__apr_file_info_h' does not name a type
> In file included from
> /home/dlee/cvs/thirdparty/activemq/apr-1.3.3/include/apr_file_io.h:34,
>                  from
> /home/dlee/cvs/thirdparty/activemq/apr-1.3.3/include/apr_thread_proc.h:26,
>                  from ./decaf/lang/Thread.h:26,
>                  from ./decaf/util/concurrent/Mutex.h:23,
>                  from ./decaf/util/Map.h:25,
>                  from ./activemq/core/ActiveMQConnection.h:29,
>                  from activemq/core/ActiveMQConnectionFactory.cpp:25:
> /home/dlee/cvs/thirdparty/activemq/apr-1.3.3/include/apr_want.h:92: error:
> redefinition of 'struct iovec'
> /usr/include/bits/uio.h:45: error: previous definition of 'struct iovec'
> make[2]: *** [activemq/core/libactivemq_cpp_la-ActiveMQConnectionFactory.lo]
> Error 1
> make[2]: Leaving directory
> `/home/dlee/cvs/thirdparty/activemq/activemq-cpp-2.2.2-src/src/main'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/home/dlee/cvs/thirdparty/activemq/activemq-cpp-2.2.2-src'
> make: *** [all] Error 2
> 
> Does someone have the same error ?
> 


Mime
View raw message