Nota: ¡El <span style="font-style: italic">bug 2636 Perl bits do not compile cleanly under 64bit perl</span> está corregido!
Environment:
LD_LIBRARY_PATH=/usr/openwin/lib:/usr/local/lib:/usr/local/ssl/lib:
PATH=/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/openwin/bin:/usr/dt/bin:/var/adm/sun/bin:/var/adm/sun/sbin:/opt/csw/bin:/opt/csw/sbin:/usr/platform/SUNW,Sun-Fire-V240/sbin:/opt/sun/bin:/usr/bin/nsr:/usr/sbin/nsr:/opt/SUNWexplo/bin:/opt/SUNWsneep/bin:/opt/CTEact/bin:/usr/local/bin:/usr/local/sbin:/usr/local/lib:/usr/local/include:/usr/local/postfix-19991231-pl02/bin:/opt/SI/bin
Versión del GCC
# pkginfo -l SMCgcc
PKGINST: SMCgcc
NAME: gcc
CATEGORY: application
ARCH: sparc
VERSION: 3.4.6
BASEDIR: /usr/local
VENDOR: FSF
PSTAMP: Steve Christensen
INSTDATE: Jan 17 2008 18:06
EMAIL:
[email protected]
STATUS: completely installed
FILES: 441 installed pathnames
29 shared pathnames
63 directories
28 executables
175666 blocks used (approx)
# perl -V
Summary of my perl5 (revision 5 version 14 subversion 2) configuration:
Platform:
osname=solaris, osvers=2.10, archname=sun4-solaris-thread-multi
uname='sunos newmike 5.10 generic_127111-09 sun4u sparc sunw,sun-fire-v240 '
config_args='-Dcc=gcc'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_REENTRANT -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 -fno-strict-aliasing -pipe -I/usr/local/include'
ccversion='', gccversion='3.4.6', gccosandvers='solaris2.10'
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib '
libpth=/usr/local/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldl -lm -lpthread -lc
perllibs=-lsocket -lnsl -ldl -lm -lpthread -lc
libc=/lib/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 -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
PERL_PRESERVE_IVUV PERL_USE_SAFE_PUTENV USE_ITHREADS
USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF
USE_REENTRANT_API
Built under solaris
Compiled at Jan 31 2013 15:41:26
@INC:
/usr/local/lib/perl5/site_perl/5.14.2/sun4-solaris-thread-multi
/usr/local/lib/perl5/site_perl/5.14.2
/usr/local/lib/perl5/5.14.2/sun4-solaris-thread-multi
/usr/local/lib/perl5/5.14.2
# perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Sun::Solaris::Kstat
Writing MYMETA.yml and MYMETA.json
# make
cp Kstat.pm blib/lib/Sun/Solaris/Kstat.pm
/usr/bin/perl /usr/local/lib/perl5/site_perl/5.14.2/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.14.2/ExtUtils/typemap Kstat.xs > Kstat.xsc && mv Kstat.xsc Kstat.c
gcc -c -I/usr/platform/sun4u/include -I/usr/platform/sun4v/include -D_REENTRANT -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O -DVERSION=\"1.3\" -DXS_VERSION=\"1.3\" -fPIC "-I/usr/local/lib/perl5/5.14.2/sun4-solaris-thread-multi/CORE" Kstat.c
Kstat.xs: In function `save_vminfo':
Kstat.xs:386: error: structure has no member named `updates'
Kstat.xs:386: error: structure has no member named `updates'
Kstat.xs:386: error: structure has no member named `updates'
Kstat.xs: In function `save_sfmmu_global_stat':
Kstat.xs:468: error: structure has no member named `sf_scd_1sttsb_alloc'
Kstat.xs:468: error: structure has no member named `sf_scd_1sttsb_alloc'
Kstat.xs:468: error: structure has no member named `sf_scd_1sttsb_alloc'
Kstat.xs:468: error: structure has no member named `sf_scd_1sttsb_alloc'
Kstat.xs:469: error: structure has no member named `sf_scd_2ndtsb_alloc'
Kstat.xs:469: error: structure has no member named `sf_scd_2ndtsb_alloc'
Kstat.xs:469: error: structure has no member named `sf_scd_2ndtsb_alloc'
Kstat.xs:469: error: structure has no member named `sf_scd_2ndtsb_alloc'
Kstat.xs:470: error: structure has no member named `sf_scd_1sttsb_allocfail'
Kstat.xs:470: error: structure has no member named `sf_scd_1sttsb_allocfail'
Kstat.xs:470: error: structure has no member named `sf_scd_1sttsb_allocfail'
Kstat.xs:470: error: structure has no member named `sf_scd_1sttsb_allocfail'
Kstat.xs:471: error: structure has no member named `sf_scd_2ndtsb_allocfail'
Kstat.xs:471: error: structure has no member named `sf_scd_2ndtsb_allocfail'
Kstat.xs:471: error: structure has no member named `sf_scd_2ndtsb_allocfail'
Kstat.xs:471: error: structure has no member named `sf_scd_2ndtsb_allocfail'
Kstat.xs:513: error: structure has no member named `sf_region_remap_demap'
Kstat.xs:513: error: structure has no member named `sf_region_remap_demap'
Kstat.xs:513: error: structure has no member named `sf_region_remap_demap'
Kstat.xs:513: error: structure has no member named `sf_region_remap_demap'
Kstat.xs:514: error: structure has no member named `sf_create_scd'
Kstat.xs:514: error: structure has no member named `sf_create_scd'
Kstat.xs:514: error: structure has no member named `sf_create_scd'
Kstat.xs:514: error: structure has no member named `sf_create_scd'
Kstat.xs:515: error: structure has no member named `sf_join_scd'
Kstat.xs:515: error: structure has no member named `sf_join_scd'
Kstat.xs:515: error: structure has no member named `sf_join_scd'
Kstat.xs:515: error: structure has no member named `sf_join_scd'
Kstat.xs:516: error: structure has no member named `sf_leave_scd'
Kstat.xs:516: error: structure has no member named `sf_leave_scd'
Kstat.xs:516: error: structure has no member named `sf_leave_scd'
Kstat.xs:516: error: structure has no member named `sf_leave_scd'
Kstat.xs:517: error: structure has no member named `sf_destroy_scd'
Kstat.xs:517: error: structure has no member named `sf_destroy_scd'
Kstat.xs:517: error: structure has no member named `sf_destroy_scd'
Kstat.xs:517: error: structure has no member named `sf_destroy_scd'
Kstat.xs: In function `save_temperature':
Kstat.xs:611: warning: comparison is always true due to limited range of data type
Kstat.xs:611: warning: comparison is always true due to limited range of data type
Kstat.xs:612: warning: comparison is always true due to limited range of data type
Kstat.xs:612: warning: comparison is always true due to limited range of data type
Kstat.xs:618: warning: comparison is always true due to limited range of data type
Kstat.xs:618: warning: comparison is always true due to limited range of data type
*** Error code 1
make: Fatal error: Command failed for target `Kstat.o'
Coloreado en 0.002 segundos, usando
GeSHi 1.0.8.4