On Fri, 20 Aug 2004, Scott T. Hildreth wrote: > Anybody else having problems compiling DBD-SQLite-1.03?
Yes, I'm having this problem too. I'm using Perl 5.8.0 on FreeBSD 4.7, with DBI 1.43. My gcc is 2.95.4. My make failure is almost exactly the same, but not quite: cc -c -I/usr/local/lib/perl5/site_perl/5.8.0/i386-freebsd/auto/DBI -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -I/usr/local/include -O6 -DNDEBUG=1 -DSQLITE_PTR_SZ=4 -DVERSION=\"1.03\" -DXS_VERSION=\"1.03\" -DPIC -fpic "-I/usr/local/lib/perl5/5.8.0/i386-freebsd/CORE" dbdimp.c dbdimp.c:24: warning: #warning "No vararg macros - using trace without line numbers" dbdimp.c: In function `sqlite_st_execute': dbdimp.c:323: syntax error before `*' dbdimp.c:327: `sql_type' undeclared (first use in this function) dbdimp.c:327: (Each undeclared identifier is reported only once dbdimp.c:327: for each function it appears in.) dbdimp.c:327: `value' undeclared (first use in this function) *** Error code 1 Stop in /usr/local/src/perl/DBD-SQLite-1.03. > On Fri, 2004-08-20 at 11:22, Scott T. Hildreth wrote: > > Hello Matt, > > > > I've been trying to compile DBD-SQLite-1.03 and I get the error, > > > > dbdimp.c:24:4: warning: #warning "No vararg macros - using trace without > > line numbers" > > dbdimp.c: In function `sqlite_st_execute': > > dbdimp.c:323: parse error before `*' > > dbdimp.c:327: `sql_type' undeclared (first use in this function) > > dbdimp.c:327: (Each undeclared identifier is reported only once > > dbdimp.c:327: for each function it appears in.) > > > > lared (first use in this function) > > make: *** [dbdimp.o] Error 1 > > > > ..should this be declared in dbdimp.h ? Is this a gcc version > > issue? My gcc's are 2.95.4 & 2.96. > > > > ...okay just got another error with gcc 3.3.1 on a suse box, > > > > dbdimp.c:231: error: conflicting types for `sqlite_db_last_insert_id' > > /usr/local/lib/perl5/site_perl/5.8.3/i686-linux/auto/DBI/dbd_xsh.h:36: > > error: previous declaration of `sqlite_db_last_insert_id' > > make: *** [dbdimp.o] Error 1 Thanks, Dave /L\_/E\_/A\_/R\_/N\_/T\_/E\_/A\_/C\_/H\_/L\_/E\_/A\_/R\_/N\ Dave Cash Power to the People! Frolicking in Fields of Garlic Right On-Line! [EMAIL PROTECTED] Dig it all.
