Subject: | Curses 1.06 build failure with multi thread perl 5.8.0 |
Hi,
Getting build error for Curses-1.06 on Solaris 2.6 with multi threaded perl 5.8.0 and gcc 3.1 (building in same environment with single threaded perl 5.8.0 works fine).
Operating System:
SunOS 5.6 Generic_105181-30 sun4u sparc SUNW,Ultra-Enterprise
Compiler:
gcc -v
Reading specs from /sbcimp/run/pd/gcc/3.1/lib/gcc-lib/sparc-sun-solaris2.6/3.1/specs
Configured with: /sbcimp/build/pd/gcc/gcc-3.1/configure
--prefix=/sbcimp/run/pd/gcc/3.1 --enable-languages=c++
--enable-threads=solaris
Thread model: solaris
gcc version 3.1
Perl:
perl -v
This is perl, v5.8.0 built for sun4-solaris-thread-multi
Make failure:
gcc -c -D_REENTRANT -fno-strict-aliasing
-I/sbcimp/run/pd/gdbm/1.8.0/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.06\" -DXS_VERSION=\"1.06\" -fPIC "-I/sbcimp/run/pd/perl/5.8.0-mt/lib/CORE" Curses.c
Curses.c: In function `c_sv2window':
Curses.c:275: warning: passing arg 1 of `Perl_sv_isa' from incompatible pointertype
Curses.c:275: warning: passing arg 2 of `Perl_sv_isa' from incompatible pointertype
Curses.c:275: too few arguments to function `Perl_sv_isa'
In file included from Curses.c:344:
CursesFun.c: In function `XS_Curses_newterm':
CursesFun.c:1279: warning: initialization from incompatible pointer type
CursesFun.c:1280: warning: initialization from incompatible pointer type
CursesFun.c: In function `XS_Curses_putwin':
CursesFun.c:3453: warning: initialization from incompatible pointer type
CursesFun.c: In function `XS_Curses_getwin':
CursesFun.c:3472: warning: initialization from incompatible pointer type
*** Error code 1
make: Fatal error: Command failed for target `Curses.o'
Any tips on how to fix much appreciated.
Thanks