Operating System - HP-UX
1834110 Members
2456 Online
110063 Solutions
New Discussion

Compiling DCE/CMA Threads on HP-UX 11.0

 
Nareen Gurnani
Occasional Advisor

Compiling DCE/CMA Threads on HP-UX 11.0

I'm trying to compile DCE/CMA thread code on HP-UX 11.0 & getting the following errors:

Error 173: "/opt/dce/include/dce/pthread.h", line 173 # Redefined symbol 'pthread_attr_t'; previously defined at "/usr/include/sys/sigevent.h", line 40].
typedef cma_t_attr pthread_attr_t;

I'm using the following directives:
-D_REENTRANT -Aa -D_HPUX_SOURCE

Has anyone seen this error?
I'd appreciate any help I can get on this.
(By the way, I have no problems using POSIX threads on HP-UX 11.0)