Subject: | can't compile on solaris 10 sparc 64bit & perl 5.18.1 64bit |
Date: | Wed, 19 Mar 2014 21:13:40 +0000 |
To: | "'bug-Proc-ProcessTable [...] rt.cpan.org'" <bug-Proc-ProcessTable [...] rt.cpan.org> |
From: | "AGANAN, NICK" <na2099 [...] att.com> |
Using cpan:
# ./cpan -fi Proc::ProcessTable
CPAN: Storable loaded ok (v2.45)
Reading '/appl/perl/.cpan/Metadata'
Database was generated on Wed, 19 Mar 2014 11:06:12 GMT
Running install for module 'Proc::ProcessTable'
Running make for J/JW/JWB/Proc-ProcessTable-0.50.tar.gz
CPAN: Digest::SHA loaded ok (v5.88)
CPAN: Compress::Zlib loaded ok (v2.064)
Checksum for /appl/perl/.cpan/sources/authors/id/J/JW/JWB/Proc-ProcessTable-0.50.tar.gz ok
CPAN: Archive::Tar loaded ok (v1.96)
CPAN: File::Temp loaded ok (v0.2304)
CPAN: Parse::CPAN::Meta loaded ok (v1.4405)
CPAN: CPAN::Meta loaded ok (v2.120921)
CPAN: Module::CoreList loaded ok (v3.07)
CPAN.pm: Building J/JW/JWB/Proc-ProcessTable-0.50.tar.gz
Checking if your kit is complete...
Looks good
Processing hints file hints/solaris.pl
Generating a Unix-style Makefile
Writing Makefile for Proc::ProcessTable::Process
Writing MYMETA.yml and MYMETA.json
Generating a Unix-style Makefile
Writing Makefile for Proc::ProcessTable
Writing MYMETA.yml and MYMETA.json
cp Killfam.pm blib/lib/Proc/Killfam.pm
cp ProcessTable.pm blib/lib/Proc/ProcessTable.pm
cp example.pl blib/lib/Proc/example.pl
cp Killall.pm blib/lib/Proc/Killall.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
Running Mkbootstrap for Proc::ProcessTable ()
chmod 644 ProcessTable.bs
/appl/perl/bin/perl5.18.1 /appl/perl/lib/site_perl/5.18.1/ExtUtils/xsubpp -typemap /appl/perl/lib/5.18.1/ExtUtils/typemap ProcessTable.xs > ProcessTable.xsc && mv ProcessTable.xsc ProcessTable.c
gcc -c -D_REENTRANT -mcpu=v9 -m64 -fno-strict-aliasing -pipe -I/usr/local/include -DPERL_USE_SAFE_PUTENV -O -DVERSION=\"0.50\" -DXS_VERSION=\"0.50\" -fPIC "-I/appl/perl/lib/5.18.1/sun4-solaris-thread-multi-64/CORE" -DPROC_FS ProcessTable.c
gcc -c -D_REENTRANT -mcpu=v9 -m64 -fno-strict-aliasing -pipe -I/usr/local/include -DPERL_USE_SAFE_PUTENV -O -DVERSION=\"0.50\" -DXS_VERSION=\"0.50\" -fPIC "-I/appl/perl/lib/5.18.1/sun4-solaris-thread-multi-64/CORE" -DPROC_FS OS.c
OS.c: In function `OS_get_table':
OS.c:54: error: too few arguments to function `readdir_r'
*** Error code 1
make: Fatal error: Command failed for target `OS.o'
JWB/Proc-ProcessTable-0.50.tar.gz
/usr/ccs/bin/make -- NOT OK
CPAN: YAML loaded ok (v0.90)
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Perl information:
# ./perl -V
Summary of my perl5 (revision 5 version 18 subversion 1) configuration:
Platform:
osname=solaris, osvers=2.10, archname=sun4-solaris-thread-multi-64
uname='sunos localldm 5.10 generic_148888-01 sun4v sparc sun4v '
config_args='-de -Dprefix=/appl/perl -Duserelocatableinc -Dusesitecustomize -Dcc=gcc -Duse64bitall -Aldflags=-mcpu=v9 -m64 -Alddlflags=-mcpu=v9 -m64 -G -Dusethreads -Dscriptdir=/appl/perl/bin'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_REENTRANT -mcpu=v9 -m64 -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV',
optimize='-O',
cppflags='-D_REENTRANT -mcpu=v9 -m64 -fno-strict-aliasing -pipe -I/usr/local/include'
ccversion='', gccversion='3.4.3 (csl-sol210-3_4-branch+sol_rpath)', gccosandvers='solaris2.10'
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=87654321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -m64 -mcpu=v9 -m64 -L/usr/lib/sparcv9 -L/usr/local/lib '
libpth=/usr/lib/sparcv9 /usr/local/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -lgdbm -ldl -lm -lpthread -lc
perllibs=-lsocket -lnsl -ldl -lm -lpthread -lc
libc=/usr/lib/sparcv9/libc.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-fPIC', lddlflags=' -G -m64 -mcpu=v9 -m64 -G -L/usr/lib/sparcv9 -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
PERL_DONT_CREATE_GVSV
PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
PERL_PRESERVE_IVUV PERL_SAWAMPERSAND
PERL_USE_SAFE_PUTENV USE_64_BIT_ALL USE_64_BIT_INT
USE_ITHREADS USE_LARGE_FILES USE_LOCALE
USE_LOCALE_COLLATE USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
USE_REENTRANT_API USE_SITECUSTOMIZE
Built under solaris
Compiled at Mar 19 2014 07:51:03
@INC:
/appl/perl/lib/site_perl/5.18.1/sun4-solaris-thread-multi-64
/appl/perl/lib/site_perl/5.18.1
/appl/perl/lib/5.18.1/sun4-solaris-thread-multi-64
/appl/perl/lib/5.18.1
Message body is not shown because it is too large.