Re: build activemqcpp embedding apr1/apr-util-1 static libraries (Linux)

2017-09-25 Thread Axel Podehl
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++ -

Re: build activemqcpp embedding apr1/apr-util-1 static libraries (Linux)

2009-06-25 Thread dongabda
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

Re: build activemqcpp embedding apr1/apr-util-1 static libraries (Linux)

2009-06-25 Thread Timothy Bish
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/..