Andrej van der Zee | 21 May 00:36
Picon
Favicon

Re: compiling boost on AIX gives pthread errors

Hi,

Thanks for your reply.

Are there any special configure options or packages
that you installed? I installed AIX for the first time
so maybe I did something bad.

BTW, I noticed that pthread_rwlock_t (the struct my
compiler does not recognize) is defined in
"sys/types.h" and that this file is included from
pthread.h like this:

#ifndef _H_TYPES
#include <sys.types.h>
#endif

But, _H_TYPES is defined at this point and therefor
"sys/types.h" is never included! I checked removing
"sys/types.h" totally from my system but the compiler
does not complain about a missing "sys/types.h" at
all! 

Please anybody?

Cheers,
Andrej

--- "K. Noel Belcourt" <kbelco <at> sandia.gov> wrote:

> Hi Andrej,
> 
> On May 20, 2008, at 6:35 AM, Andrej van der Zee
> wrote:
> 
> > I am having problems with compiling boost 1.35 on
> AIX
> > 5.3 with gcc 4.0.0. I get the pthread errors
> below. I
> > am new to AIX, so I have hopes that this can be
> easily
> > solved....
> 
> We don't test with gcc on Aix, but we should.  My
> system seems to  
> compile this file okay :
> 
> gcc.compile.c++
> bin.v2/libs/date_time/build/gcc-4.0.0/release/ 
> threading-multi/greg_month.o
> 
>      "g++"  -ftemplate-depth-128 -O3
> -finline-functions -Wno-inline - 
> Wall -fPIC -pthread  -DBOOST_ALL_DYN_LINK=1
> -DBOOST_ALL_NO_LIB=1 - 
> DDATE_TIME_INLINE -DNDEBUG  -I"." -c -o
> "bin.v2/libs/date_time/build/ 
> gcc-4.0.0/release/threading-multi/greg_month.o"
> "libs/date_time/src/ 
> gregorian/greg_month.cpp"
> 
> This is with Boost 1.35.0 and AIX 5.3 (31488 MB  8
> CPU   
> PowerPC_POWER5  model IBM,9118-575)
> 
> -- Noel
> 
> 
> _______________________________________________
> Boost-users mailing list
> Boost-users <at> lists.boost.org
>
http://lists.boost.org/mailman/listinfo.cgi/boost-users
> 

      __________________________________________________________
Sent from Yahoo! Mail.
A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html

Gmane