Operating System - HP-UX
1832853 Members
3231 Online
110047 Solutions
New Discussion

typedef problems in pthread_exc.h on 11i

 
Ryan Twombly
Occasional Advisor

typedef problems in pthread_exc.h on 11i

I've been delving into DCE/CMA and POSIX threading in an attempt to resolve some compilation problems we've been having since upgrading to 11i from 10.20. I recieve the following error messages:

cc: "/usr/include/dce/pthread_exc.h", line 405: error 1584: Inconsistent type declaration: "pthread_attr_t"

cc: "/usr/include/dce/pthread_exc.h", line 424: error 1584: Inconsistent type declaration: "pthread_t"

Any thoughts on why? Additionally, I would like to know where _POSIX_C_SOURCE is declared, since /usr/include/pthread_exc.h checks it when determining whether to use the file that is erroring out above or its legacy version.

Thanks!