activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From justinj656 <>
Subject Re: "undefined reference to" errors
Date Tue, 11 Mar 2014 03:00:42 GMT
Thank you for your reply. 

I solve the problem eventually by changing the order of the command
from: g++ -I/usr/local/include/activemq-cpp-3.8.2/
-I/usr/local/apr/include/apr-1 -L/usr/local/lib -lactivemq-cpp -o a.o
to: g++ -o a.o ~/Desktop/Test.cpp -I/usr/local/include/activemq-cpp-3.8.2/
-I/usr/local/apr/include/apr-1 -L/usr/local/lib -lactivemq-cpp 
However I am not clear about the reason.(I am a greenhand on Linux) 

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message