Subject: | DBD-SQLite-1.02 fails to compile on FreeBSD |
Compilation fails with the following error:
cc -c -I/usr/local/lib/perl5/site_perl/5.8.4/mach/auto/DBI -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.4/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -I/usr/local/include -O2 -DNDEBUG=1 -DSQLITE_PTR_SZ=4 -DVERSION=\"1.02\" -DXS_VERSION=\"1.02\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.4/mach/CORE" dbdimp.c
dbdimp.c:220: error: conflicting types for 'sqlite_db_last_insert_id'
/usr/local/lib/perl5/site_perl/5.8.4/mach/auto/DBI/dbd_xsh.h:36: error: previous declaration of 'sqlite_db_last_insert_id' was here
dbdimp.c:220: error: conflicting types for 'sqlite_db_last_insert_id'
/usr/local/lib/perl5/site_perl/5.8.4/mach/auto/DBI/dbd_xsh.h:36: error: previous declaration of 'sqlite_db_last_insert_id' was here
*** Error code 1