Originally Posted by adarshkmr
can any one help me reg the following issue.
I am porting one appln from Solaris to Linux.
When I compiled one directory I got an error such as
"/home/users/bldadm2/pvcs/ib/mcs/src/mcs/base/affinity.h", line 89: Error: cpu_t is not defined.
In Solaris, definition for cpu_t is availbale in the /usr/include/sys/cpuvar.h
I couldnt find out the definition for cpu_t in Linux plarform.
Thnx in Advance...
If its not defined in linux just copy the definition from the solaris
and write it in your header file and include that header file in your all the files where ever you are using cpu_t
this is the easiest way to come over that error
but its better if you make a common header file for all the missing variables definition in linux.