How can I embed the libapr-1.a and libapr-util-1.a into libactivemqcpp.a? 

I've an application that uses activemq. I put the -lactivemq to the linker
flags but compiling it reports this errror: 

/usr/lib/gcc/i386-redhat-linux/4.3.2/../../../libactivemq-cpp.a(libactivemq_cpp_la-Exception.o):
In function `decaf::lang::Exception::buildMessage(char const*, char*&)':
/home/activemqtest/Download/activemq-cpp-library-3.0/src/main/decaf/lang/Exception.cpp:93:
undefined reference to `apr_pvsprintf'

I made  ./configure LIBS='-lapr-1 -laprutil-1'. After that I built
activemqcpp again but the error is the same. 

-- 
View this message in context: 
http://www.nabble.com/build-activemqcpp-embedding-apr1-apr-util-1-static-libraries-%28Linux%29-tp24205943p24205943.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to