[Info-vax] Compile error (Pthread on VMS)?
sfloreslyon at gmail.com
sfloreslyon at gmail.com
Tue Feb 19 14:51:46 EST 2013
We’re trying to port an application to VMS that currently runs on an old version of Tru64. We’re currently doing the compiles on Alpha because that is our test system, ultimately (and soon) we’ll move the port to Itanium.
We’re running OpenVMS 8.3, but when we compile modules that use pthread calls (e.g. pthread_kill) we take the following errors. I’ve had no luck figuring out what the VMS equivalent of compiling with “-pthread” is and I also can’t imagine why a VMS include file would include something that doesn’t exist.
dsa124:[tcps] cc/define=_PTHREAD_ENV_UNIX tcps
# error "Please compile the module including pthread.h with -pthread"
...^
%CC-E-ERRORMESSAGE, #error "Please compile the module including pthread.h with -pthread"
at line number 324 in module PTHREAD of text library SYS$COMMON:[SYSLIB]SYS$STARLET_C.TLB;1
# 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!
Thanks,
Sherri Lyon
Connectivity Applications – Sabre/AA
HP Enterprise Services
Telephone +1 918.939.5362
Email sherri.lyon at hp.com
4000 N. Mingo Rd., MD 375 / Tulsa, OK 74116
More information about the Info-vax
mailing list