|
Boost Users : |
From: Dan Katz (dkatz_at_[hidden])
Date: 2005-04-14 11:37:43
Hi -
I'm trying to build boost on an AIX box using GCC, and am having
pthread issues.
In particular:
------------------------------------------------------------------------
$ uname -a
AIX dev-app-a00 2 5 00089FFC4C00 unknown unknown AIX
$ gcc -v
Reading specs from /usr/local/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.3/specs
Configured with: ../gcc-3.3.3/configure --disable-nls
Thread model: aix
gcc version 3.3.3
$ bjam -v
Boost.Jam Version 3.1.10. OS=AIX.
[... elided copyright stuff ...]
$ bjam
[... elided PYTHON stuff here ...]
...found 7231 targets...
...updating 840 targets...
gcc-C++-action bin/boost/libs/date_time/build/libboost_date_time.so/gcc/debug/shared-linkable-true/greg_month.o
In file included from /home/dkatz/dev/Engine/Agorai/Boost/boost/detail/lwm_pthreads.hpp:20,
from /home/dkatz/dev/Engine/Agorai/Boost/boost/detail/lightweight_mutex.hpp:92,
from /home/dkatz/dev/Engine/Agorai/Boost/boost/detail/shared_count.hpp:28,
from /home/dkatz/dev/Engine/Agorai/Boost/boost/shared_ptr.hpp:26,
from /home/dkatz/dev/Engine/Agorai/Boost/boost/date_time/gregorian/greg_month.hpp:14,
from /home/dkatz/dev/Engine/Agorai/Boost/libs/date_time/src/gregorian/greg_month.cpp:14:
/usr/include/pthread.h:554: error: `pthread_rwlock_t' was not declared in this
scope
/usr/include/pthread.h:554: error: parse error before `)' token
[... lots more pthread problems of this sort ...]
^C...interrupted
$
------------------------------------------------------------------------
Should I be configuring the gcc build with some other thread model
maybe?
Any insight would be useful. I've been googling around a bit, but
haven't found much for this particular issue...
Thanks.
Dan
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net