Boost logo

Boost Testing :

From: Stephen W. Carson (StephenC_at_[hidden])
Date: 2005-04-25 09:12:01


Stephen W. Carson wrote:

> THREAD
> This library is failing to build:
> ---------------------------------------------------
>
> mwcc -c -lang c++ -DBOOST_THREAD_LIB_NAME=boost_thread
> -DBOOST_THREAD_BUILD_DLL=1 -maxerrors 5 -warnings on -maxwarnings 20
> -nowraplines -g -O0 -inline off -cwd include -warnings nounused
> -RTTI on -iso_templates on
> "-I/Users/stephencarson/Development/boost/results/bin/boost/libs/thread/build"
> -I- "-I/Users/stephencarson/Development/boost/boost" -prefix
> "MSLCarbonPrefix.h" -o
> "/Users/stephencarson/Development/boost/results/bin/boost/libs/thread/build/libboost_thread.dylib/cw-9_3-darwin/debug/xtime.o"
> "/Users/stephencarson/Development/boost/boost/libs/thread/build/../src/xtime.cpp"
>
> Error : preprocessor #error directive
> ../libs/thread/src/xtime.cpp line 142?# error "xtime_get
> implementation undefined"
> Errors caused tool to abort.
>
> ---------------------------------------------------
> http://tinyurl.com/chrw8
>
> I took a look at xtime.cpp. It looks like this error is being hit
> because NONE of the following are defined:
> BOOST_HAS_FTIME
> BOOST_HAS_GETTIMEOFDAY
> BOOST_HAS_CLOCK_GETTIME
> BOOST_HAS_MPTASKS

    Any thoughts on the threads build problem I'm getting? Should I post
this on the dev list?

-- 
Stephen W. Carson, Software Engineer
DirXion Software in St. Louis, MO
(636) 717-2367
"Premature optimization is the root of all evil." -Donald Knuth 

Boost-testing list run by mbergal at meta-comm.com