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