Having a problem compiling DBI1.38 (and 1.36 and 1.37) for use in perl 5.6.1. This is on RedHat 7.2 using gcc 2.95.3. Oldish stuff I know, but that is what we have to use to be compatible with other software in use.
Is there a problem compiling the newer versions of the DBI for use in perl 5.6.1? I did not think this would be a problem. Oh we are also seeing a problem on solaris 9 too. The error seem to be similar perhaps - on solaris: "DBI.xs", line 1276: undefined symbol: thr "DBI.xs", line 1276: left operand of "->" must be pointer to struct/union "DBI.xs", line 1278: left operand of "->" must be pointer to struct/union "DBI.xs", line 1278: left operand of "->" must be pointer to struct/union "DBI.xs", line 1278: left operand of "->" must be pointer to struct/union "DBI.xs", line 1278: left operand of "->" must be pointer to struct/union cc: acomp failed for DBI.c on redhat 7.2: DBI.xs: In function `dbih_clearcom': DBI.xs:979: warning: unused variable `thr' DBI.xs:978: warning: unused variable `Perl___notused' DBI.xs: In function `dbih_get_fbav': DBI.xs:1116: warning: unused variable `Perl___notused' DBI.xs: In function `dbih_set_attr_k': DBI.xs:1276: `thr' undeclared (first use in this function) DBI.xs:1276: (Each undeclared identifier is reported only once DBI.xs:1276: for each function it appears in.) DBI.xs:1278: warning: left-hand operand of comma expression has no effect DBI.xs:1271: warning: unused variable `Perl___notused' DBI.xs:1196: warning: unused variable `Perl___notused' DBI.xs: In function `dbih_get_attr_k': DBI.xs:1407: warning: unused variable `Perl___notused' DBI.xs: In function `log_where': DBI.xs:1784: warning: unused variable `Perl___notused' DBI.xs: In function `XS_DBI_dispatch': DBI.xs:2544: warning: unused variable `Perl___notused' DBI.c: At top level: dbipport.h:529: warning: `my_sv_2pvbyte' defined but not used make: *** [DBI.o] Error 1 Any ideas? Douglas -- ----------------------------------------------------------- Douglas A. Smith [EMAIL PROTECTED] Office: Bld 280, Rm 157 (650)926-2369 -----------------------------------------------------------
