qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Conway <acon...@redhat.com>
Subject Re: Qpid 0.10 make all fails for me (configure is fine)
Date Mon, 27 Jun 2011 10:48:46 GMT
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&lt;char,
> std::char_traits&lt;char&gt;, std::allocator<char>  >  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&lt;char,
> std::char_traits&lt;char&gt;, std::allocator<char>  >  const&,
> std::basic_string&lt;char, std::char_traits&lt;char&gt;,
> std::allocator<char>  >  const&, std::basic_string&lt;char,
> std::char_traits&lt;char&gt;, std::allocator<char>  >  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&lt;char,
> std::char_traits&lt;char&gt;, std::allocator<char>  >  const&)'
> /home/fadams/java/qpid-0.10/cpp/src/tests/../.libs/libqpidbroker.so:
> undefined reference to
> `qpid::log::Logger::reconfigure(std::vector&lt;std::basic_string&lt;char,
> std::char_traits&lt;char&gt;, std::allocator<char>  >,
> std::allocator&lt;std::basic_string&lt;char, std::char_traits&lt;char&gt;,
> std::allocator<char>  >  >  >  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&lt;char,
> std::char_traits&lt;char&gt;, std::allocator<char>  >  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&lt;char,
> std::char_traits&lt;char&gt;, std::allocator<char>  >  const&,
> std::basic_string&lt;char, std::char_traits&lt;char&gt;,
> std::allocator<char>  >  const&, std::basic_string&lt;char,
> std::char_traits&lt;char&gt;, std::allocator<char>  >  const&,
> std::basic_string&lt;char, std::char_traits&lt;char&gt;,
> std::allocator<char>  >  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


Mime
View raw message