View Single Post

   
  #1 (permalink)  
Old 01-05-2008, 08:15 AM
mailbox@cpacker.org
 
Posts: n/a
Default Compile errors: Curses.c...Perl5.8...AIX

In trying to build the Perl Curses module (Curses-1.12)
under Perl 5.8 on a new AIX box I came up against the
limits of my C as well as my Unix knowledge. The thing
had built okay under Perl 5.6 on the old AIX system.
The only co-worker within reach who seems to know more
C than I do had no clue either.

I have put the error messages and excerpt from the
source file in question at
http://cpacker.org/aa.txt

The only thing that looks odd to me in perlio.h on the
error lines is "pTHX_" -- which isn't followed by a comma.
Looking around for what it might be, I see there are these
lines in perl.h in the same directory:

# define pTHX_ pTHX,
which is preceded a few lines back by

# define pTHX register PerlInterpreter *my_perl PERL_UNUSED_DECL
which is REALLY out of my league...

Interpretation welcomed.

--
mailbox@cpacker.org (Charles Packer)
ungoogled: mailboxATSIGNcpacker.org

Reply With Quote