Skip Menu |

This queue is for tickets about the Curses CPAN distribution.

Report information
The Basics
Id: 1710
Status: resolved
Priority: 0/
Queue: Curses

People
Owner: Nobody in particular
Requestors: dl-pdsupport [...] ubsw.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.06
Fixed in: (no value)



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
Subject: Confirm: Curses 1.06 build failure with multi thread perl 5.8.0
From: Michael Granger <ged [...] cpan.org>
I get precisely the same errors trying to compile for i686-linux-thread-multi: cc -c -I/usr/include/ncurses -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -DVERSION=\"1.06\" -DXS_VERSION=\"1.06\" -fpic "-I/usr/lib/perl5/5.8.0/i686-linux-thread-multi/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' 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 make: *** [Curses.o] Error 1
I have just taken over maintainership of this package and have fixed this in Curses-1.07.