Curses compile problems

T

tjchamp

newbie needs help with Curses. I used source code to compile my own
Perl 5.8 using gcc compiler. I need to get Curses working but get the
following errors when doing my make:

gcc -c -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
-DUSE_NATIVE_DLOPEN -fno-strict-aliasing -D_LARGE_FILES -O
-DVERSION=\"1.06\" -DXS_VERSION=\"1.06\"
"-I/usr/local/lib/perl5/5.8.0/aix/CORE" Curses.c
In file included from
/usr/local/lib/perl5/5.8.0/aix/CORE/iperlsys.h:51,
from /usr/local/lib/perl5/5.8.0/aix/CORE/perl.h:2200,
from Curses.c:14:
/usr/local/lib/perl5/5.8.0/aix/CORE/perlio.h:104: parse error before
`->'
/usr/local/lib/perl5/5.8.0/aix/CORE/perlio.h:107: parse error before
`->'
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: 1254-004 The error code from the last command is 1.


Stop.


This is on an AIX 5.1 box. Any help/directions on how to proceed will
be appreciated.
 
T

tjchamp

newbie needs help with Curses. I used source code to compile my own
Perl 5.8 using gcc compiler. I need to get Curses working but get the
following errors when doing my make:

gcc -c -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
-DUSE_NATIVE_DLOPEN -fno-strict-aliasing -D_LARGE_FILES -O
-DVERSION=\"1.06\" -DXS_VERSION=\"1.06\"
"-I/usr/local/lib/perl5/5.8.0/aix/CORE" Curses.c
In file included from
/usr/local/lib/perl5/5.8.0/aix/CORE/iperlsys.h:51,
from /usr/local/lib/perl5/5.8.0/aix/CORE/perl.h:2200,
from Curses.c:14:
/usr/local/lib/perl5/5.8.0/aix/CORE/perlio.h:104: parse error before
`->'
/usr/local/lib/perl5/5.8.0/aix/CORE/perlio.h:107: parse error before
`->'
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: 1254-004 The error code from the last command is 1.


Stop.


This is on an AIX 5.1 box. Any help/directions on how to proceed will
be appreciated.


Needed to "#undef tab" in the c-config.h file. After that, compiled just fine.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,014
Latest member
BiancaFix3

Latest Threads

Top