I had the same error, and I'm not sure if it helps, but in my case it was
the, somewhat foolish, mistake to add the libraries in the wrong order. Make
sure you FIRST have activemq and THEN apr.
For example:
gcc -g main.o ${ACTIVEMQ}/lib/64/libactivemq-cpp.a
${APR}/lib/64/libapr-1.a -lstdc++ -
Timothy Bish wrote:
>
> On Thu, 2009-06-25 at 08:51 -0700, dongabda wrote:
>> 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:
>>
>> /u
On Thu, 2009-06-25 at 08:51 -0700, dongabda wrote:
> 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/..