I've built and installed a working perl 5.6 on HPUX 11.0 using gcc 2.95. DBI fails 
with the following when I execute 'make':

In file included from /opt/perl5/lib/5.6.1/PA-RISC2.0/CORE/perl.h:493,
                 from DBIXS.h:19,
                 from DBI.xs:10:
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdlib.h:28: warning: 
`__va__list' redefined
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdio.h:30: warning: this is 
the location of the previous definition
DBI.xs: In function `dbih_make_com':
DBI.xs:697: parse error before `l'
DBI.xs:639: warning: unused variable `Perl___notused'
DBI.xs: In function `dbih_clearcom':
DBI.xs:852: warning: unused variable `Perl___notused'
DBI.xs: In function `dbih_get_fbav':
DBI.xs:989: warning: unused variable `Perl___notused'
DBI.xs: In function `dbih_set_attr_k':
DBI.xs:1081: warning: unused variable `Perl___notused'
DBI.xs: In function `log_where':
DBI.xs:1499: warning: unused variable `Perl___notused'
DBI.xs: In function `XS_DBI_dispatch':
DBI.xs:1929: warning: unused variable `Perl___notused'
*** Error exit code 1

The same failure occurs with DBI-1.15 and DBI-1.14. I'm new to gcc. Could someone 
point me in a useful direction?

Reply via email to