From users-return-17158-apmail-activemq-users-archive=activemq.apache.org@activemq.apache.org Thu Dec 04 03:28:17 2008 Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 32085 invoked from network); 4 Dec 2008 03:28:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Dec 2008 03:28:17 -0000 Received: (qmail 91856 invoked by uid 500); 4 Dec 2008 03:28:28 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 91837 invoked by uid 500); 4 Dec 2008 03:28:28 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 91826 invoked by uid 99); 4 Dec 2008 03:28:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Dec 2008 19:28:28 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tabish121@gmail.com designates 74.125.92.144 as permitted sender) Received: from [74.125.92.144] (HELO qw-out-1920.google.com) (74.125.92.144) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Dec 2008 03:26:59 +0000 Received: by qw-out-1920.google.com with SMTP id 9so1025736qwj.26 for ; Wed, 03 Dec 2008 19:27:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=s4XMXKVXXnjRNjPT9R5N/rOxEwA13gRSHWo0OKSRNss=; b=K92FCoxyXauF2XWP772lbn4JPG1WjLeU1C3mez3rxcv+q8fLmr0+P6joHgGKcXn5Gn 5kdH0Pqc0hSlYk2qnlFc+2oVEfknmK64lwRPDeSwvzcaoBXo+xymwZUiZSTYZbeBjgmF dXeq28zzUF1RKt4/3WFCEHtG78pudpDLTpPhI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; b=BIa6H6HVWvaF0+Xr7jZCW5XecaDhE3f6LMFs+ClP7+ut/CW72iBsMyqYWGZ+8iTWx7 nbdbDBIlYnxqSujIuJdrLWTA9hPY7elQ4cCi4+rRj42j/xXgvncUGNYKd+tSdvYWrtXk 7PRW9J38Z9eeenxHH9RfWOyJgdR+BSH/MYDGk= Received: by 10.215.13.1 with SMTP id q1mr14350375qai.253.1228361265488; Wed, 03 Dec 2008 19:27:45 -0800 (PST) Received: from ?192.168.2.198? ([68.49.143.174]) by mx.google.com with ESMTPS id 8sm7403871ywg.43.2008.12.03.19.27.43 (version=SSLv3 cipher=RC4-MD5); Wed, 03 Dec 2008 19:27:44 -0800 (PST) Subject: Re: Errors when compiling CMS From: Timothy Bish To: users@activemq.apache.org In-Reply-To: <20826381.post@talk.nabble.com> References: <20826381.post@talk.nabble.com> Content-Type: text/plain Date: Wed, 03 Dec 2008 22:27:42 -0500 Message-Id: <1228361262.7539.34.camel@office> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 (2.22.3.1-1.fc9) Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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 ? >