Cannot compile on 64 bit perl. Any ideas?
---
$>uname -a
SunOS cmtmcc110 5.8 Generic_117350-13 sun4u sparc SUNW,Sun-Fire-15000
----
(/apps/perl588_compile/Solaris-Procfs-0.26)
$>make
/opt/SUNWspro/bin/cc -c -Iinclude -I/usr/local/include -xarch=v9 -
xarch=v9 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -
DVERSION=\"0.26\" -DXS_VERSION=\"0.26\" -KPIC "-
I/apps/perl588/lib/5.8.8/sun4-solaris-64/CORE" -D_FILE_OFFSET_BITS=32
Procfs.c
command line: warning: macro redefined: _FILE_OFFSET_BITS
"/usr/include/sys/feature_tests.h", line 92: #error: "invalid
_FILE_OFFSET_BITS value specified"
cc: acomp failed for Procfs.c
*** Error code 2
make: Fatal error: Command failed for target `Procfs.o'
Current working directory /apps/perl588_compile/Solaris-Procfs-
0.26/Procfs
*** Error code 1
make: Fatal error: Command failed for target `subdirs'
-----
(/apps/perl588_compile/Solaris-Procfs-0.26)
$>perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=solaris, osvers=2.8, archname=sun4-solaris-64
uname='sunos cmtmcc110 5.8 generic_117350-13 sun4u sparc sunw,sun-
fire-15000 '
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=define uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='/opt/SUNWspro/bin/cc', ccflags ='-I/usr/local/include -
xarch=v9 -xarch=v9 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O',
cppflags='-I/usr/local/include -xarch=v9'
ccversion='Sun C 5.8 2005/10/13', gccversion='', gccosandvers=''
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='/opt/SUNWspro/bin/cc', ldflags =' -L/usr/lib -L/usr/ccs/lib -
L/opt/SUNWspro/prod/lib/v8plus -L/opt/SUNWspro/prod/lib -L/lib -
L/usr/local/lib -xarch=v9 '
libpth=/usr/lib /usr/ccs/lib /opt/SUNWspro/prod/lib/v8plus /opt/SUNWspr
o/prod/lib /lib /usr/local/lib
libs=-lsocket -lnsl -ldl -lm -lc
perllibs=-lsocket -lnsl -ldl -lm -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='-KPIC', lddlflags=' -G -xarch=v9 -L/usr/lib -
L/usr/ccs/lib -L/opt/SUNWspro/prod/lib/v8plus -
L/opt/SUNWspro/prod/lib -L/lib -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: PERL_MALLOC_WRAP USE_64_BIT_ALL USE_64_BIT_INT
USE_LARGE_FILES USE_PERLIO
Built under solaris
Compiled at Jul 31 2006 12:22:16
%ENV:
PERLDB_OPTS="RemotePort=lhouatlcb9pm81.texas.chase.com:9000"
@INC:
/apps/perl588/lib/5.8.8/sun4-solaris-64
/apps/perl588/lib/5.8.8
/apps/perl588/site/lib/sun4-solaris-64
/apps/perl588/site/lib
/apps/perl588/site/lib
.