[Info-vax] Compile error (Pthread on VMS)?

sfloreslyon at gmail.com sfloreslyon at gmail.com
Tue Feb 19 15:49:55 EST 2013


Yes, that's it exactly.  The code uses pthread_kill(), so that's why I was defining _PTHREAD_ENV_UNIX on the compile.

If pthread_kill() is not implemented in VMS, what is the correct call to use?

Sorry for asking very basic questions.  I'm really anxious to keep this in my area and get it on VMS, so might have underestimated the porting effort.

Sherri
On Tuesday, February 19, 2013 2:35:32 PM UTC-6, hb wrote:
> On 02/19/2013 08:51 PM, sfloreslyon at gmail.com wrote:
> 
> > dsa124:[tcps] cc/define=_PTHREAD_ENV_UNIX tcps
> 
> xxx_UNIX doesn't make sense, when compiling for/on VMS.
> 
> 
> 
> > # include<standards.h>
> 
> > ..^
> 
> > %CC-F-NOINCLFILEF, Cannot find file<standards.h>  specified in #include directive.
> 
> > at line number 329 in module PTHREAD of text library SYS$COMMON:[SYSLIB]SYS$STARLET_C.TLB;1
> 
> >
> 
> > Any help or pointers you have would be greatly appreciated!
> 
> Did you extract the pthread.h include file and look at line number 329?
> 
> 
> 
> It looks like you set the _PTHREAD_ENV_UNIX to get the prototype for 
> 
> pthread_kill() included. pthread_kill was/is not implemented for VMS.




More information about the Info-vax mailing list