Subject: | Proc::ProcessTable perl module not compiling on AIX platform |
Date: | Tue, 9 Aug 2016 11:00:28 +0000 |
To: | "bug-Proc-ProcessTable [...] rt.cpan.org" <bug-Proc-ProcessTable [...] rt.cpan.org> |
From: | "Narasimhiah, Prashanth (Wipro)" <narasimhiah [...] hpe.com> |
Hello Team,
Proc::ProcessTable 0.53 is not compiling on AIX 5.3 64 bit platform. I am getting following error:
cp ProcessTable.pm ../../lib/Proc/ProcessTable.pm
cp Killall.pm ../../lib/Proc/Killall.pm
cp example.pl ../../lib/Proc/example.pl
cp Killfam.pm ../../lib/Proc/Killfam.pm
gmake[3]: Entering directory `/home/bldadm/BLR.OvPerlA.05.16.r/aix61/hpsw-opcsi/external/Perl/5.16.0/AIX5.3_64/perl-5.16.0/cpan/Proc-ProcessTable/Process'
cp Process.pm ../../../lib/Proc/ProcessTable/Process.pm
AutoSplitting ../../../lib/Proc/ProcessTable/Process.pm (../../../lib/auto/Proc/ProcessTable/Process)
Manifying ../blib/man3/Proc::ProcessTable::Process.3
../../perl "-I../../lib" "-I../../lib" -e 'use ExtUtils::Mksymlists; \
Mksymlists("NAME" => "Proc::ProcessTable", "DL_FUNCS" => { }, "FUNCLIST" => [], "DL_VARS" => []);'
../../perl "-I../../lib" "-I../../lib" ../../lib/ExtUtils/xsubpp -typemap ../../lib/ExtUtils/typemap ProcessTable.xs > ProcessTable.xsc && mv ProcessTable.xsc ProcessTable.c
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_CLEARCASE -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_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_REGISTERFPFILES -O -DVERSION=\"0.53\" -DXS_VERSION=\"0.53\" "-I../.." ProcessTable.c
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_CLEARCASE -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_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_REGISTERFPFILES -O -DVERSION=\"0.53\" -DXS_VERSION=\"0.53\" "-I../.." OS.c
"OS.c", line 60.24: 1506-194 (S) Incomplete type is not allowed.
"OS.c", line 61.10: 1506-007 (S) "struct userinfo" is undefined.
"OS.c", line 72.41: 1506-043 (S) The operand of the sizeof operator is not valid.
"OS.c", line 113.34: 1506-043 (S) The operand of the sizeof operator is not valid.
"OS.c", line 114.34: 1506-043 (S) The operand of the sizeof operator is not valid.
"OS.c", line 162.32: 1506-043 (S) The operand of the sizeof operator is not valid.
gmake[2]: *** [OS.o] Error 1
Please let me know how to fix this.
Regards,
Prashanth