> Hi, all. 
> 
> I'm trying to get 0.5 and the RHM store module to like each other.
> Unfortunately, right now I fail on this: 
> 
> libtool: compile: /usr/bin/c++ -DHAVE_CONFIG_H -I. -I.. -Werror
> -pedantic -Wall -Wextra -Wno-shadow -Wpointer-arith -Wcast-qual
> -Wcast-align -Wno-long-long -Wvolatile-register-var -Winvalid-pch
> -Wno-system-headers -I/var/tmp/qpid-0.5//cpp/src
> -I/var/tmp/qpid-0.5//cpp/src/gen -I./gen -DRHM_CLEAN -pthread
> -I/usr/local/include -MT JournalImpl.lo -MD -MP -MF
> .deps/JournalImpl.Tpo -c JournalImpl.cpp -fPIC -DPIC -o
> .libs/JournalImpl.o 
> JournalImpl.cpp:29:45: error: qpid/management/ManagementAgent.h: No
> such file or directory 
> JournalImpl.cpp: In constructor
> ‘mrg::msgstore::JournalImpl::JournalImpl(const std::string&, const
> std::string&, const std::string&, qpid::sys::Duration,
> qpid::sys::Duration, qpid::management::ManagementAgent*)’: 
> JournalImpl.cpp:97: error: invalid use of undefined type ‘struct
> qpid::management::ManagementAgent’ 
> /var/tmp/qpid-0.5//cpp/src/qpid/management/ManagementObject.h:35:
> error: forward declaration of ‘struct
> qpid::management::ManagementAgent’ 
> JournalImpl.cpp: In member function ‘void
> mrg::msgstore::JournalImpl::initialize(u_int16_t, bool, u_int16_t,
> u_int32_t, u_int16_t, u_int32_t, mrg::journal::aio_callback*)’: 
> JournalImpl.cpp:158: error: invalid use of undefined type ‘struct
> qpid::management::ManagementAgent’ 
> /var/tmp/qpid-0.5//cpp/src/qpid/management/ManagementObject.h:35:
> error: forward declaration of ‘struct
> qpid::management::ManagementAgent’ 
> JournalImpl.cpp:159: error: incomplete type
> ‘qpid::management::ManagementAgent’ used in nested name specifier 
> JournalImpl.cpp: In member function ‘void
> mrg::msgstore::JournalImpl::recover_complete()’: 
> [etc] 
> 
> That header fileis over a year old according to the trunk history, but
> is not in 0.5. 
> 
> Is there a workaround that would allow RHM to link against this
> release? 

Apologies for an email written in haste, as I've found at least a partial 
answer:

RHM revision 3372 builds against Qpid 0.5 just fine. 

Subsequent revisions pertain mostly to the unit tests, so I think this leaves 
me 
in good shape.

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

Reply via email to