Subject: | Proc::ProcessTable does not compile on mac os x v. 10.10.2 |
Date: | Thu, 5 Mar 2015 11:51:54 -0500 |
To: | bug-Proc-ProcessTable [...] rt.cpan.org |
From: | Pawel G <pgajer [...] gmail.com> |
Here are the errors I am getting
Proc-ProcessTable-0.45]$ make
cp ProcessTable.pm blib/lib/Proc/ProcessTable.pm
cp Killfam.pm blib/lib/Proc/Killfam.pm
cp Killall.pm blib/lib/Proc/Killall.pm
cp example.pl blib/lib/Proc/example.pl
cp Process.pm ../blib/lib/Proc/ProcessTable/Process.pm
AutoSplitting ../blib/lib/Proc/ProcessTable/Process.pm
(../blib/lib/auto/Proc/ProcessTable/Process)
Manifying ../blib/man3/Proc::ProcessTable::Process.3pm
/usr/bin/perl /System/Library/Perl/5.18/ExtUtils/xsubpp -typemap
/System/Library/Perl/5.18/ExtUtils/typemap ProcessTable.xs >
ProcessTable.xsc && mv ProcessTable.xsc ProcessTable.c
cc -c -arch x86_64 -arch i386 -g -pipe -fno-common -DPERL_DARWIN
-fno-strict-aliasing -fstack-protector -Os -DVERSION=\"0.45\"
-DXS_VERSION=\"0.45\"
"-I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE"
ProcessTable.c
ProcessTable.xs:391:14: warning: format string is not a string literal
(potentially insecure)
[-Wformat-security]
croak(error);
^~~~~
1 warning generated.
ProcessTable.xs:391:14: warning: format string is not a string literal
(potentially insecure)
[-Wformat-security]
croak(error);
^~~~~
1 warning generated.
cc -c -arch x86_64 -arch i386 -g -pipe -fno-common -DPERL_DARWIN
-fno-strict-aliasing -fstack-protector -Os -DVERSION=\"0.45\"
-DXS_VERSION=\"0.45\"
"-I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE" OS.c
OS.c:189:8: warning: extra tokens at end of #endif directive
[-Wextra-tokens]
#endif TH_USAGE_SCALE
^
//
OS.c:724:30: error: use of undeclared identifier
'GLOBAL_SHARED_TEXT_SEGMENT'
vm_address_t address =
GLOBAL_SHARED_TEXT_SEGMENT;
^
OS.c:737:36: error: use of undeclared identifier 'SHARED_TEXT_REGION_SIZE'
if (b_info.reserved && size ==
(SHARED_TEXT_REGION_SIZE) &&
^
OS.c:738:36: error: use of undeclared identifier 'SHARED_TEXT_REGION_SIZE'
ki->tasks_info.virtual_size >
(SHARED_TEXT_REGION_SIZE + SHARED_DATA_REG...
^
OS.c:738:62: error: use of undeclared identifier 'SHARED_DATA_REGION_SIZE'
ki->tasks_info.virtual_size >
(SHARED_TEXT_REGION_SIZE + SHARED_DATA_REG...
^
OS.c:739:38: error: use of undeclared identifier 'SHARED_TEXT_REGION_SIZE'
ki->tasks_info.virtual_size -=
(SHARED_TEXT_REGION_SIZE + SHARED...
^
OS.c:739:64: error: use of undeclared identifier 'SHARED_DATA_REGION_SIZE'
ki->tasks_info.virtual_size -=
(SHARED_TEXT_REGION_SIZE + SHARED...
^
1 warning and 6 errors generated.
make: *** [OS.o] Error 1