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 <boost/thread.hpp>

 

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<void,std::allocator<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

Fatal error.

 

 

What is wrong?

 

Thanks

 

Alex Vinokur

 

This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement,
you may review at http://www.amdocs.com/email_disclaimer.asp