Hi, pctmem seems to be <undef> for me on several newer
machines running perl >=5.8.3 and gcc >=3.3.3.
Compilation gives the following warning:
make[1]: Leaving directory
`/usr/src/Proc-ProcessTable-0.39/Process'
/usr/bin/perl /usr/lib/perl5/5.8.3/ExtUtils/xsubpp
-typemap /usr/lib/perl5/5.8.3/ExtUtils/typemap
ProcessTable.xs > ProcessTable.xsc && mv
ProcessTable.xsc ProcessTable.c
cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O2 -march=i586 -mcpu=i686
-fmessage-length=0 -Wall -Wall -pipe
-DVERSION=\"0.39\" -DXS_VERSION=\"0.39\" -fPIC
"-I/usr/lib/perl5/5.8.3/i586-linux-thread-multi/CORE"
ProcessTable.c
ProcessTable.xs: In function `constant':
ProcessTable.xs:233: warning: label `not_there' defined
but not used
ProcessTable.c: In function
`XS_Proc__ProcessTable__initialize_os':
ProcessTable.c:416: warning: unused variable `obj'
ProcessTable.xs: At top level:
ProcessTable.xs:217: warning: `not_here' defined but
not used
cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O2 -march=i586 -mcpu=i686
-fmessage-length=0 -Wall -Wall -pipe
-DVERSION=\"0.39\" -DXS_VERSION=\"0.39\" -fPIC
"-I/usr/lib/perl5/5.8.3/i586-linux-thread-multi/CORE"
OS.c
OS.c: In function `OS_get_table':
OS.c:335: warning: implicit declaration of function
`bless_into_proc'
OS.c:129: warning: `start' might be used uninitialized
in this function
OS.c: At top level:
OS.c:387: warning: `stat_fd' defined but not used
OS.c:389: warning: `uptime_fd' defined but not used
OS.c:391: warning: `loadavg_fd' defined but not used
OS.c:393: warning: `meminfo_fd' defined but not used
OS.c:395: warning: `buf' defined but not used
Running Mkbootstrap for Proc::ProcessTable ()
Regards,
rouven