K. Noel Belcourt | 21 May 04:08
Favicon

Re: compiling boost on AIX gives pthread errors


On May 20, 2008, at 4:36 PM, Andrej van der Zee wrote:

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

Possibly, but it would be helpful if you sent the full compile line  
for greg_month.cpp, so we can compare them for differences.

> 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!

Don't know that I'm much help here.  Perhaps you're using a gcc you  
built and installed yourself (rather than the one in /usr/bin/gcc)?

-- Noel

Gmane