cancel
Showing results for 
Search instead for 
Did you mean: 

pthread_getsequence_np

 
Highlighted
Occasional Contributor

pthread_getsequence_np

I am using the Migration Environment v1.4 to port software from Tru64 to HP-UX 11i v3 (11.31). The software is written
in C++.

I am having problems whith the routine
pthread_getsequence_np.
I have received this error from the compiler.

identifier "pthread_getsequence_np" is undefined

I have included and I am using the
-pthread and the -AA option in the Makefile.
The compiler is cxx that uses the aCC.
I know that The pthread_getsequence_np routine is in the Tru64 UNIX Migration Environment for HP-UX.

Thanks in advance.
1 REPLY 1
Highlighted
Acclaimed Contributor

Re: pthread_getsequence_np

>identifier "pthread_getsequence_np" is undefined

It means what it says, it's not declared. You need to use some magic -D or -I for your migration.

You might first do a grep for pthread_getsequence_np in the include path for
your Migration Environment.

>-pthread

This isn't a valid option for aC++, so I assume that cxx translates it to -mt.

>I know that The pthread_getsequence_np routine is in

They must be hiding it pretty well. :-)