Hi Ján,

> Hello!
> 
> So I tried CMake on r928878...
> 
> - - - - - - - - - - - - - - - - - - - - - -
> $ cd cpp
> $ cmake .
> $ make
> ...
> [ 79%] Built target ssl
> [ 79%] Built target sslconnector
> [ 80%] Built target watchdog
> [ 80%] Building CXX object 
> src/CMakeFiles/xml.dir/qpid/xml/XmlExchange.o
> /var/tmp/jasan/qpid-20100330/cpp/src/qpid/xml/XmlExchange.cpp:
>  In member function ‘bool 
> qpid::broker::XmlExchange::matches(boost::shared_ptr<XQQuery>&
> , qpid::broker::Deliverable&, const 
> qpid::framing::FieldTable*, bool)’:
> /var/tmp/jasan/qpid-20100330/cpp/src/qpid/xml/XmlExchange.cpp:
> 192: error: ‘class ResultImpl’ has no member named 
> ‘getEffectiveBooleanValue’
> make[2]: *** [src/CMakeFiles/xml.dir/qpid/xml/XmlExchange.o] Error 1
> make[1]: *** [src/CMakeFiles/xml.dir/all] Error 2
> make: *** [all] Error 2
> - - - - - - - - - - - - - - - - - - - - - -

This smells like some mismatch between Makefile.am and CMakeFiles.txt
but I don't regularly build XmlExchange.

> And if I build without XML, I am getting following:
> 
> [ 99%] Building CXX object 
> src/tests/CMakeFiles/cluster_test.dir/PartialFailure.o
> Linking CXX executable unit_test
> [100%] Building CXX object 
> src/tests/CMakeFiles/cluster_test.dir/ClusterFailover.o
> [100%] Built target unit_test
> [100%] Building CXX object 
> src/tests/CMakeFiles/cluster_test.dir/InitialStatusMap.o
> [100%] Building CXX object 
> src/tests/CMakeFiles/cluster_test.dir/StoreStatus.o
> Linking CXX executable cluster_test
> /usr/bin/ld: CMakeFiles/cluster_test.dir/StoreStatus.o: 
> undefined reference to symbol 'boost::system::get_system_category()'
> /usr/bin/ld: note: 'boost::system::get_system_category()' is 
> defined in DSO /usr/lib64/libboost_system-mt.so.1.41.0 so try 
> adding it to the linker command line
> /usr/lib64/libboost_system-mt.so.1.41.0: could not read 
> symbols: Invalid operation
> collect2: ld returned 1 exit status
> make[2]: *** [src/tests/cluster_test] Error 1
> make[1]: *** [src/tests/CMakeFiles/cluster_test.dir/all] Error 2
> make: *** [all] Error 2

It looks like this is missing the boost system reference; again, not one
I regularly build so I haven't seen it.

-Steve


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to