Subject: | Failed build on Solaris w/ perl 5.8 |
cc -c -I/var/rtmp/.cpan-belg4mit/build/PDL-2.4.2/Basic/Core -O -DVERSION=\"2.4.2\" -DXS_VERSION=\"2.4.2\" -KPIC "-I/mit/belg4mit/lib/perl5/5.8.0/sun4-solaris-64int/CORE" -DMY_ERFI -DMY_FIXY0 -DMY_FIXYN -DMY_INFINITY -DMY_NAN -DMY_NDTRI -DMY_POLYROOTS quiet_nan.c
"quiet_nan.c", line 4: identifier redeclared: quiet_nan
current : function(void) returning double
previous: function(long) returning double : "/afs/athena.mit.edu/software/sunsoft_v8/SUNWspro/prod/include/cc/sunmath.h", line 225
cc: acomp failed for quiet_nan.c
gmake[2]: *** [quiet_nan.o] Error 2
perl -V says:
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
Platform:
osname=solaris, osvers=2.8, archname=sun4-solaris-64int
uname='sunos biohazard-cafe.mit.edu 5.8 generic_108528-12 sun4u sparc sunw,sun-fire-280r '
config_args='-Dprefix=/mit/belg4mit'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=undef usesocks=undef
use64bitint=define use64bitall=undef uselongdouble=undef
usemymalloc=y, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='',
optimize='undef',
cppflags=''
ccversion='Sun WorkShop 6 update 1 C 5.2 2000/09/11', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=87654321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib -L/mit/sunsoft_v6.1a/SUNWspro/WS6U1/lib'
libpth=/usr/local/lib /mit/sunsoft_v6.1a/SUNWspro/WS6U1/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldl -lm -lc
perllibs=-lsocket -lnsl -ldl -lm -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='-KPIC', lddlflags='-G -L/usr/local/lib -L/mit/sunsoft_v6.1a/SUNWspro/WS6U1/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_64_BIT_INT
Built under solaris
Compiled at Aug 9 2002 06:40:46