Hi, I am trying to compile Proc::ProcessTable on AIX platform and i am seeing the following error. I have downloaded the latest available version of the module from cpan.
... cc_r -q64 -c -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem +=-1 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q64 -DUSE_ +64_BIT_ALL -q64 -D_AIX5_3_64_ -D_AIX5_3_ -DAIX64 -DAIX=5 -UUSE_CLEARC +ASE -DBUILDBITS=64 -UCBR_OVII_REGISTERFPFILES -D_ALL_SOURCE -D_ANSI_C +_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias -DUSE_NATIVE_DLOPEN + -DNEED_PTHREAD_INIT -q64 -DUSE_64_BIT_ALL -q64 -D_AIX5_3_64_ -D_AIX5 +_3_ -DAIX64 -DAIX=5 -UUSE_CLEARCASE -DBUILDBITS=64 -UCBR_OVII_REGISTE +RFPFILES -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 - +qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q64 -DUSE_64_BI +T_ALL -q64 -D_AIX5_3_64_ -D_AIX5_3_ -DAIX64 -DAIX=5 -UUSE_CLEARCASE - +DBUILDBITS=64 -UCBR_OVII_REGISTERFPFILES -O -DVERSION=\"0.53\" -DXS +_VERSION=\"0.53\" "-I../.." OS.c
"OS.c", line 59.24: 1506-194 (S) Incomplete type is not allowed. "OS.c", line 60.10: 1506-007 (S) "struct userinfo" is undefined. "OS.c", line 71.41: 1506-043 (S) The operand of the sizeof operator is + not valid. "OS.c", line 112.34: 1506-043 (S) The operand of the sizeof operator i +s not valid. "OS.c", line 113.34: 1506-043 (S) The operand of the sizeof operator i +s not valid. "OS.c", line 161.32: 1506-043 (S) The operand of the sizeof operator i +s not valid. gmake[2]: *** [OS.o] Error 1
Please let me know your opinion or any ideas on how to fix this.

In reply to Proc::ProcessTable compilation error on AIX by narasimp

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.