"OS.c", line 60.10: 1506-007 (S) "struct userinfo" is undefined.
Some observations that may or may not be helpful to you:
In the Proc-ProcessTable-0.53 source, the file os/aix.c #includes just the one header:
#include "os/aix.h"
Further down, in the same file, we find the declaration:
struct userinfo uinfo;
and the error messages you got tell us that "struct userinfo" is not defined.
This suggests that neither os/aix.h nor any of the header files that it pulls in define the "userinfo" struct.
Yet,
google suggests that the "userinfo" struct is to be found in /usr/include/procinfo.h, and os/aix.h definitely contains the line
#include <procinfo.h>
First, check to see whether your /usr/include/procinfo.h does define the userinfo struct.
If it does not, then the question that needs to be answered is "Why is it missing ?".
But if it does, then the question that needs to be answered is "How come I then get that error ?". (Is there another procinfo.h that gets loaded instead ?)
There's a few guys on
p5p who are familiar with (and interested in) aix, so I think it's worth asking there if you strike out here.
Cheers,
Rob
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.