Return-Path: X-Original-To: apmail-qpid-users-archive@www.apache.org Delivered-To: apmail-qpid-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2AD294E23 for ; Mon, 27 Jun 2011 10:49:25 +0000 (UTC) Received: (qmail 2635 invoked by uid 500); 27 Jun 2011 10:49:24 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 2295 invoked by uid 500); 27 Jun 2011 10:49:20 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 2287 invoked by uid 99); 27 Jun 2011 10:49:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jun 2011 10:49:18 +0000 X-ASF-Spam-Status: No, hits=-3.7 required=5.0 tests=RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of aconway@redhat.com designates 209.132.183.28 as permitted sender) Received: from [209.132.183.28] (HELO mx1.redhat.com) (209.132.183.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jun 2011 10:49:12 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p5RAmmS2022258 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 27 Jun 2011 06:48:48 -0400 Received: from [10.11.10.229] (vpn-10-229.rdu.redhat.com [10.11.10.229]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p5RAmkDJ006364; Mon, 27 Jun 2011 06:48:47 -0400 Message-ID: <4E08600E.3060007@redhat.com> Date: Mon, 27 Jun 2011 06:48:46 -0400 From: Alan Conway Organization: Red Hat User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b3pre Thunderbird/3.1.10 MIME-Version: 1.0 To: users@qpid.apache.org CC: fadams Subject: Re: Qpid 0.10 make all fails for me (configure is fine) References: <1309079441988-6516814.post@n2.nabble.com> In-Reply-To: <1309079441988-6516814.post@n2.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 X-Virus-Checked: Checked by ClamAV on apache.org On 06/26/2011 05:10 AM, fadams wrote: > I've just had a try at making 0.10 (I built 0.8 ages ago and that's fine) > > ./configure ran fine and completed > > I tried make all. > > It got as far as making the tests and seemed to die when making cluster_test > > make[3]: Entering directory `/home/fadams/java/qpid-0.10/cpp/src/tests' > > Seemed to make most of these OK then I got issues with "*** cluster.so is > not portable! > " and a bunch of "../.libs/cluster.so: undefined reference to" > > I've included the last breath of the make below. It looks like there's a mix of old/new code in the source - all the missing symbols are things that were added recently. Maybe there's a makefile problem with re-generating code from XML and you have old generated code. Have you tried rebuilding from a completely clean checkout? > > I guess that I can probably hack with makefiles and get it working, but I'm > interested to know why it doesn't work "out of the box". > > Has anyone else had this problem - is it a bug in the install/make process > or is there something missing on my system. > > Like I say above I made 0.8 from scratch fine so I doubt my system has any > real problems. > > > > mv -f $depbase.Tpo $depbase.Po > /bin/bash ../../libtool --tag=CXX --mode=link g++ -Werror -pedantic -Wall > -Wextra -Wno-shadow -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long > -Wvolatile-register-var -Winvalid-pch -Wno-system-headers > -Woverloaded-virtual -DBOOST_TEST_DYN_LINK -g -O2 -L/usr/lib/openais > -L/usr/lib64/openais -L/usr/lib/corosync -L/usr/lib64/corosync -o > cluster_test cluster_test.o unit_test.o ClusterFixture.o ForkedBroker.o > PartialFailure.o ClusterFailover.o > /home/fadams/java/qpid-0.10/cpp/src/tests/../libqpidclient.la > /home/fadams/java/qpid-0.10/cpp/src/tests/../libqpidbroker.la ../cluster.la > -lboost_unit_test_framework > > > *** Warning: Linking the executable cluster_test against the loadable module > *** cluster.so is not portable! > libtool: link: g++ -Werror -pedantic -Wall -Wextra -Wno-shadow > -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long > -Wvolatile-register-var -Winvalid-pch -Wno-system-headers > -Woverloaded-virtual -DBOOST_TEST_DYN_LINK -g -O2 -o .libs/cluster_test > cluster_test.o unit_test.o ClusterFixture.o ForkedBroker.o PartialFailure.o > ClusterFailover.o -L/usr/lib/openais -L/usr/lib64/openais > -L/usr/lib/corosync -L/usr/lib64/corosync > /home/fadams/java/qpid-0.10/cpp/src/tests/../.libs/libqpidclient.so > /home/fadams/java/qpid-0.10/cpp/src/tests/../.libs/libqpidbroker.so > ../.libs/cluster.so -lboost_unit_test_framework -Wl,-rpath > -Wl,/usr/local/lib/qpid/daemon > ../.libs/cluster.so: undefined reference to > `qpid::framing::AMQP_AllProxy::ClusterConnection::queueFairshareState(std::basic_string<char, > std::char_traits<char>, std::allocator > const&, unsigned char, > unsigned char)' > /home/fadams/java/qpid-0.10/cpp/src/tests/../.libs/libqpidbroker.so: > undefined reference to > `qpid::sys::ClusterUnsafeScope::~ClusterUnsafeScope()' > ../.libs/cluster.so: undefined reference to > `qpid::framing::AMQP_AllProxy::ClusterConnection::managementSetupState(unsigned > long, unsigned short, qpid::framing::Uuid const&, std::basic_string<char, > std::char_traits<char>, std::allocator > const&, > std::basic_string<char, std::char_traits<char>, > std::allocator > const&, std::basic_string<char, > std::char_traits<char>, std::allocator > const&)' > /home/fadams/java/qpid-0.10/cpp/src/tests/../.libs/libqpidclient.so: > undefined reference to > `qpid::framing::MethodBodyDefaultVisitor::visit(qpid::framing::ClusterConnectionConfigBody > const&)' > ../.libs/cluster.so: undefined reference to > `qpid::framing::AMQP_AllProxy::ClusterConnection::config(std::basic_string<char, > std::char_traits<char>, std::allocator > const&)' > /home/fadams/java/qpid-0.10/cpp/src/tests/../.libs/libqpidbroker.so: > undefined reference to > `qpid::log::Logger::reconfigure(std::vector<std::basic_string<char, > std::char_traits<char>, std::allocator >, > std::allocator<std::basic_string<char, std::char_traits<char>, > std::allocator > > > const&)' > /home/fadams/java/qpid-0.10/cpp/src/tests/../.libs/libqpidbroker.so: > undefined reference to > `qpid::management::Manageable::AuthorizeMethod(unsigned int, > qpid::management::Args&, std::basic_string<char, > std::char_traits<char>, std::allocator > const&)' > /home/fadams/java/qpid-0.10/cpp/src/tests/../.libs/libqpidclient.so: > undefined reference to > `qpid::framing::MethodBodyDefaultVisitor::visit(qpid::framing::ClusterConnectionQueueFairshareStateBody > const&)' > /home/fadams/java/qpid-0.10/cpp/src/tests/../.libs/libqpidclient.so: > undefined reference to `qpid::SaslFactory::create(std::basic_string<char, > std::char_traits<char>, std::allocator > const&, > std::basic_string<char, std::char_traits<char>, > std::allocator > const&, std::basic_string<char, > std::char_traits<char>, std::allocator > const&, > std::basic_string<char, std::char_traits<char>, > std::allocator > const&, int, int, bool)' > /home/fadams/java/qpid-0.10/cpp/src/tests/../.libs/libqpidbroker.so: > undefined reference to `qpid::sys::ClusterUnsafeScope::ClusterUnsafeScope()' > collect2: ld returned 1 exit status > make[3]: *** [cluster_test] Error 1 > make[3]: Leaving directory `/home/fadams/java/qpid-0.10/cpp/src/tests' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/home/fadams/java/qpid-0.10/cpp/src' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/home/fadams/java/qpid-0.10/cpp/src' > make: *** [all-recursive] Error 1 > > > > > > > > > > > > > > > > > > > -- > View this message in context: http://apache-qpid-users.2158936.n2.nabble.com/Qpid-0-10-make-all-fails-for-me-configure-is-fine-tp6516814p6516814.html > Sent from the Apache Qpid users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > Apache Qpid - AMQP Messaging Implementation > Project: http://qpid.apache.org > Use/Interact: mailto:users-subscribe@qpid.apache.org > --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:users-subscribe@qpid.apache.org