Subject: | Compiling on Red Hat 8 |
This is a relevant snippet from the output of "make". I have to admit I don't know any C so this is almost all meaningless to me:
I am attempting to compile on Red Hat Linux 8.0 on x86, with Perl 5.8.0, ncurses 5.2-28, gcc 3.2-7 and glibc 2.2.93:
gcc -c -I/usr/include/ncurses -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -
D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -march=i386 -m
cpu=i686 -DVERSION=\"1.06\" -DXS_VERSION=\"1.06\" -fpic "-I/usr/lib/perl5/5.8.
0/i386-linux-thread-multi/CORE" Curses.c
In file included from /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:1
713,
from Curses.c:14:
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/handy.h:83:1: warning: "bool"
redefined
In file included from c-config.h:9,
from Curses.c:11:
/usr/include/ncurses/curses.h:117:1: warning: this is the location of the previo
us definition
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