I'm trying to compile some code that uses Psyscall, but the compiler complains 
with a whole bunch of errors (see below).  I've included the "libproc.h" header 
file, but then the compiler cannot find label.h.  It was suggested that our 
system, running Solaris10, requires the libproc.so module.  Are there any links 
to tutorials or advice on how to get Psyscall and libproc working on our 
system?  Thanks, James.

"/usr/include/sys/zone.h", line 16: cannot find include file: <sys/tsol/label.h>
"/usr/include/sys/zone.h", line 109: warning: no explicit type given
"/usr/include/sys/zone.h", line 109: warning: syntax requires ";" after last 
struct/union member
"/usr/include/sys/zone.h", line 109: syntax error before or at: *
"/usr/include/sys/zone.h", line 136: syntax error before or at: typedef
"/usr/include/sys/zone.h", line 146: syntax error before or at: typedef
...
"libproc.h", line 57: warning: unnamed struct member
"libproc.h", line 57: incomplete struct/union/enum ps_prochandle: <unnamed>
"libproc.h", line 62: warning: unnamed struct member
"libproc.h", line 62: incomplete struct/union/enum ps_lwphandle: <unnamed>
"libproc.h", line 64: syntax error before or at: extern
...
"libproc.h", line 650: member cannot be function: Pfgcore
"libproc.h", line 651: syntax error before or at: )
"libproc.h", line 651: warning: syntax requires ";" after last struct/union 
member
"main.c", line 95: zero-sized struct/union
"main.c", line 102: cannot initialize typedef: cpc
...
"main.c", line 180: warning: implicit function declaration: control
"main.c", line 190: cannot recover from previous errors
cc: acomp failed for main.c
*** Error code 2
make: Fatal error: Command failed for target `counters'
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to