activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dongabda <donos...@ikusi.es>
Subject build activemqcpp embedding apr1/apr-util-1 static libraries (Linux)
Date Thu, 25 Jun 2009 15:53:22 GMT

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 my application 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'. I built activemqcpp again,
and after that I compile my applications but with same results. 


-- 
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.


Mime
View raw message