Reid Morrison wrote:
Trying to compile the Trunk version of the C++ Qpid Broker for the first time results in the following compile error:g++ -DHAVE_CONFIG_H -I. -Igen -I./gen -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 -g -O2 -MT qpid/amqp_0_10/Connection.lo -MD -MP -MF qpid/amqp_0_10/.deps/Connection.Tpo -c qpid/amqp_0_10/Connection.cpp -fPIC -DPIC -o qpid/amqp_0_10/.libs/Connection.o In file included from ./qpid/broker/Connection.h:41, from qpid/amqp_0_10/Connection.h:28, from qpid/amqp_0_10/Connection.cpp:21: ./qpid/broker/ConnectionHandler.h:44: error: expected class-name before ',' token ./qpid/broker/ConnectionHandler.h:46: error: expected class-name before '{' token In file included from ./qpid/broker/Connection.h:43, from qpid/amqp_0_10/Connection.h:28, from qpid/amqp_0_10/Connection.cpp:21: ./qpid/broker/SessionHandler.h:49: error: expected class-name before ',' token The following tools have been installed to support the build: gcc 4.2.3 automake 1.10.1 libtool 1.5.26 help2man 1.36.4 libccppunit-dev 1.12.0 valgrind 3.3.0 uuid-dev 1.40.8 ruby 1.8.6.111 e2fslibs-dev 1.40.8 doxygen 1.5.5 graphviz 2.16 pkg-config 0.22 libboost-dev 1.34.1 libboost-program-options-dev 1.34.1 libboost-serialization-dev 1.34.1 libboost-filesystem-dev 1.34.1 Building on 32 bit Ubuntu linux V8.04, kernel: 2.6.24 Any ideas?
I expect it is an issue with Ruby. Danuashka, had run into the same thing on Ubuntu and resolved
it by updating his Ruby
