Alexander Vinokur wrote:
Hi,
I have the following problem.
Boost 1.34 HP-UX B.11.23 U ia64 aCC: HP C/aC++ B3910B A.06.25.01 [May 16 2010]
// ------ vvv1.cpp ------ #include
void tproc() {}
int main() { boost::thread t(tproc); t.join(); return 0; } // -----------------------
Compilation-1.
aCC +DD64 -AA -mt -I$BOOST_HOME vvv1.cpp ld: Unsatisfied symbol "boost::thread::~thread()(complete)" in file vvv1.o ld: Unsatisfied symbol "boost::thread::thread(boost::function0
boost::function_base > const&)(complete)" in file vvv1.o ld: Unsatisfied symbol "boost::thread::join()" in file vvv1.o 3 errors. Compilation-2.
aCC +DD64 -AA -mt -lboost_thread-mt -I$BOOST_HOME vvv1.cpp ld: Can't find library for -lboost_thread-mt
You are missing -L option with a suitable value here. Please see documentation for your compiler. - Volodya -- Vladimir Prus Mentor Graphics +7 (812) 677-68-40