Subject: | cant compile on Solaris 10 x86 |
Hello,
I would like to report a problem when trying to compile Proc-ProcessTable
for Solaris 10 x86. See below:
$ perl -v
This is perl 5, version 12, subversion 2 (v5.12.2) built for
i86pc-solaris-64
$ make
cp ProcessTable.pm blib/lib/Proc/ProcessTable.pm
cp Killall.pm blib/lib/Proc/Killall.pm
cp example.pl blib/lib/Proc/example.pl
cp Killfam.pm blib/lib/Proc/Killfam.pm
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.3
/opt/sdr/perl/bin/perl /opt/sdr/perl/lib/5.12.2/ExtUtils/xsubpp
-typemap /opt/sdr/perl/lib/5.12.2/ExtUtils/typemap ProcessTable.xs >
ProcessTable.xsc && mv ProcessTable.xsc ProcessTable.c
cc -c -m64 -xO3 -DVERSION=\"0.45\" -DXS_VERSION=\"0.45\" -KPIC
"-I/opt/sdr/perl/lib/5.12.2/i86pc-solaris-64/CORE" -DPROC_FS ProcessTable.c
"ProcessTable.xs", line 78: warning: statement not reached
"ProcessTable.xs", line 221: warning: statement not reached
"ProcessTable.xs", line 247: warning: statement not reached
cc -c -m64 -xO3 -DVERSION=\"0.45\" -DXS_VERSION=\"0.45\" -KPIC
"-I/opt/sdr/perl/lib/5.12.2/i86pc-solaris-64/CORE" -DPROC_FS OS.c
"OS.c", line 54: prototype mismatch: 2 args passed, 3 expected
"OS.c", line 120: warning: implicit function declaration: bless_into_proc
cc: acomp failed for OS.c
*** Error code 1
make: Fatal error: Command failed for target `OS.o'
C compiler:
cc: Sun C 5.10 SunOS_i386 Patch 142363-05 2010/04/28
usage: cc [ options] files. Use 'cc -flags' for details
OS:
Solaris 10 10/09 s10x_u8wos_08a X86
Copyright 2009 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 16 September 2009