Subject: | Curses build fails under gcc 2.95.2, Solaris 2.5.1, perl 5.6.0 |
Hi,
I seem to be having trouble compiling the latest Curses package on Solaris 2.5.1. Attached is the point where make fails and the output of my perl -V
Regards,
Gavin
gcc -c -DPACK_MALLOC -DTWO_POT_OPTIMIZE -fno-strict-aliasing -I/opt/gnu/include -I/usr/local/include -O -DVERSION=\"1.06\" -DXS_VERSION=\"1.06\" -fPIC "-I/opt/perl5.6/lib/5.6.0/sun4-solaris-multi-64int/CORE" Curses.c
Curses.c: In function `c_sv2window':
Curses.c:275: warning: passing arg 1 of `Perl_sv_isa' from incompatible pointer type
Curses.c:275: warning: passing arg 2 of `Perl_sv_isa' from incompatible pointer type
Curses.c:275: too few arguments to function `Perl_sv_isa'
*** Error code 1
make: Fatal error: Command failed for target `Curses.o'
/usr/ccs/bin/make -- NOT OK
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
Platform:
osname=solaris, osvers=2.5.1, archname=sun4-solaris-multi-64int
uname='sunos pueblo 5.5.1 generic_103640-31 sun4u sparc sunw,ultra-2 '
config_args=''
hint=previous, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=define
useperlio=undef d_sfio=undef uselargefiles=define
use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
Compiler:
cc='gcc', optimize='-O', gccversion=2.95.2 19991024 (release)
cppflags='-DPACK_MALLOC -DTWO_POT_OPTIMIZE -fno-strict-aliasing -I/opt/gnu/include -I/usr/l
ocal/include'
ccflags ='-DPACK_MALLOC -DTWO_POT_OPTIMIZE -fno-strict-aliasing -I/opt/gnu/include -I/usr/l
ocal/include'
stdchar='unsigned char', d_stdstdio=define, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
alignbytes=8, usemymalloc=y, prototype=define
Linker and Libraries:
ld='gcc', ldflags ='-L/opt/gnu/lib -R/opt/gnu/lib -L/usr/local/lib -R/usr/local/lib '
libpth=/lib /usr/lib /usr/ccs/lib /opt/gnu/lib /usr/local/lib
libs=-lsocket -lnsl -ldb -ldl -lm -lc -lcrypt -lsec
libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-fPIC', lddlflags='-G -L/opt/gnu/lib -R/opt/gnu/lib -L/usr/local/lib -R/usr/loc
al/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
Built under solaris
Compiled at Aug 2 2000 10:41:27
@INC:
/opt/perl5.6/lib/5.6.0/sun4-solaris-multi-64int
/opt/perl5.6/lib/5.6.0
/opt/perl5.6/lib/site_perl/5.6.0/sun4-solaris-multi-64int
/opt/perl5.6/lib/site_perl/5.6.0
/opt/perl5.6/lib/site_perl
.