CPAN::Forum
Curses - perlio.h sytax error when installing Curses module to AIX
| Posted on Thu Mar 2 01:34:37 2006 by xqzou |
| perlio.h sytax error when installing Curses module to AIX |
|
Tried to install Curses module to AIX 5.3 with IBM C compiler.
System info:
$ oslevel
5.3.0.0
$ perl -version
This is perl, v5.8.2 built for aix-thread-multi
$ cc_r -version
exec: /usr/bin/pg(/usr/bin/pg,/usr/lib/nls/msg/en_US/vac.help,NULL)
C for AIX Compiler, Version 6
$ cc -version
exec: /usr/bin/pg(/usr/bin/pg,/usr/lib/nls/msg/en_US/vac.help,NULL)
C for AIX Compiler, Version 6
Error messages
cc -c -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong -O -DVERSION=\"1.13\" -DXS_VERSION=\"1.13\" "-I/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE" Curses.c
"/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE/embed.h", line 2894.9: 1506-236 (W) Macro name instr has been redefined.
"/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE/embed.h", line 2894.9: 1506-358 (I) "instr" is defined on line 1064 of /usr/include/curses.h.
"/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE/perlio.h", line 105.53: 1506-277 (S) Syntax error: possible missing ')' or ','?
"/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE/perlio.h", line 108.59: 1506-277 (S) Syntax error: possible missing ')' or ','?
"/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE/reentr.h", line 619.16: 1506-007 (S) "struct drand48_data" is undefined.
"/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE/reentr.h", line 727.16: 1506-007 (S) "struct random_data" is undefined.
"/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE/reentr.h", line 775.16: 1506-007 (S) "struct random_data" is undefined.
"CursesFun.c", line 1279.25: 1506-196 (W) Initialization between types "struct {...}*" and "struct _PerlIO**" is not allowed.
"CursesFun.c", line 1280.25: 1506-196 (W) Initialization between types "struct {...}*" and "struct _PerlIO**" is not allowed.
"CursesFun.c", line 3453.25: 1506-196 (W) Initialization between types "struct {...}*" and "struct _PerlIO**" is not allowed.
"CursesFun.c", line 3472.25: 1506-196 (W) Initialization between types "struct {...}*" and "struct _PerlIO**" is not allowed.
make: 1254-004 The error code from the last command is 1.
Any input will help.
Thanks,
|
| Write a response |
(0)
]