|
Boost : |
From: Karl Pitrich (pit_at_[hidden])
Date: 2001-10-11 09:27:39
so, what i did no:
in the toplevel Jamfile:
#subinclude libs/regex/build ;
subinclude libs/thread/build ;
in libs/thread/src/timeconv.inl:26
if ((unsigned)xt.nsec > NANOSECONDS_PER_SECOND)
[ added unsigend cast to avoid warning msg ]
my result is:
pit_at_warp:~/prj/boost > jam -ftools/build/allyourbase.jam -sTOOLS="gcc"
...found 139 targets...
...using 14 temp targets...
...updating 4 targets...
...using
<libs!thread!build/libboost_thread/gcc/debug/runtime-link-dynamic>condition.o...
...using
<libs!thread!build/libboost_thread/gcc/debug/runtime-link-dynamic>mutex.o...
...using
<libs!thread!build/libboost_thread/gcc/debug/runtime-link-dynamic>recursive_mutex.o...
...using
<libs!thread!build/libboost_thread/gcc/debug/runtime-link-dynamic>semaphore.o...
...using
<libs!thread!build/libboost_thread/gcc/debug/runtime-link-dynamic>thread.o...
...using
<libs!thread!build/libboost_thread/gcc/debug/runtime-link-dynamic>tss.o...
...using
<libs!thread!build/libboost_thread/gcc/debug/runtime-link-dynamic>xtime.o...
gcc-C++-action
libs/thread/build/bin/libboost_thread/gcc/debug/runtime-link-dynamic/once.o
libs/thread/build/../src/once.cpp: In function `void do_once ()':
libs/thread/build/../src/once.cpp:41: ISO C++ forbids casting between
pointer-to-function and pointer-to-object
libs/thread/build/../src/once.cpp: In function `void boost::call_once
(void (*) (), once_flag &)':
libs/thread/build/../src/once.cpp:88: cannot convert `void (*) ()' to
`const void *' for argument `2' to `pthread_setspecific (unsigned int,
const void *)'
g++ -c -Wall -ftemplate-depth-100 -g -O0 -fno-inline
-I"libs/thread/build" -I"/home/pit/prj/boost" -o
"libs/thread/build/bin/libboost_thread/gcc/debug/runtime-link-dynamic/once.o"
"libs/thread/build/../src/once.cpp"
...failed gcc-C++-action
libs/thread/build/bin/libboost_thread/gcc/debug/runtime-link-dynamic/once.o
...
...skipped
<libs!thread!build/libboost_thread/gcc/debug/runtime-link-dynamic>libboost_thread.a
for lack of
<libs!thread!build/libboost_thread/gcc/debug/runtime-link-dynamic>libboost_thread.a(once.o)...
...using
<libs!thread!build/libboost_thread/gcc/release/runtime-link-dynamic>condition.o...
...using
<libs!thread!build/libboost_thread/gcc/release/runtime-link-dynamic>mutex.o...
...using
<libs!thread!build/libboost_thread/gcc/release/runtime-link-dynamic>recursive_mutex.o...
...using
<libs!thread!build/libboost_thread/gcc/release/runtime-link-dynamic>semaphore.o...
...using
<libs!thread!build/libboost_thread/gcc/release/runtime-link-dynamic>thread.o...
...using
<libs!thread!build/libboost_thread/gcc/release/runtime-link-dynamic>tss.o...
...using
<libs!thread!build/libboost_thread/gcc/release/runtime-link-dynamic>xtime.o...
gcc-C++-action
libs/thread/build/bin/libboost_thread/gcc/release/runtime-link-dynamic/once.o
libs/thread/build/../src/once.cpp: In function `void do_once ()':
libs/thread/build/../src/once.cpp:41: ISO C++ forbids casting between
pointer-to-function and pointer-to-object
libs/thread/build/../src/once.cpp: In function `void boost::call_once
(void (*) (), once_flag &)':
libs/thread/build/../src/once.cpp:88: cannot convert `void (*) ()' to
`const void *' for argument `2' to `pthread_setspecific (unsigned int,
const void *)'
g++ -c -Wall -ftemplate-depth-100 -DNDEBUG -O4 -finline-functions
-Wno-inline -I"libs/thread/build" -I"/home/pit/prj/boost" -o
"libs/thread/build/bin/libboost_thread/gcc/release/runtime-link-dynamic/once.o"
"libs/thread/build/../src/once.cpp"
...failed gcc-C++-action
libs/thread/build/bin/libboost_thread/gcc/release/runtime-link-dynamic/once.o
...
...skipped
<libs!thread!build/libboost_thread/gcc/release/runtime-link-dynamic>libboost_thread.a
for lack of
<libs!thread!build/libboost_thread/gcc/release/runtime-link-dynamic>libboost_thread.a(once.o)...
...failed updating 2 targets...
...skipped 2 targets...
pit_at_warp:~/prj/boost >
thanks for any help, i really _want_ this thread library!
karl
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk