Hi pete,
in the meantime I download and install an etch in vmware, to see the
problem (and the possible solution) myself.
Just an idea first to try: define the sqlite3_prepare_v2 function as
an "alias" to sqlite3_prepare? Because according to the sqlite3 docs,
the latter is (or should be) the same as sqlite3_prepare_v2, but it's
obsoleted.
So, you may try to add the following in sql.h inside the
#ifdef HAVE_SQLITE3 ... #endif block:
#define sqlite3_prepare_v2 sqlite3_prepare
And let's see if it works.
On Wed, 23 Apr 2008, pete wrote:
hi,
seems very promising, but i stuck at the build . The error msg:
undefined reference to `sqlite3_prepare_v2'
i'm building it on Etch and i think it's because gcc picks the system-wide
lib (which is too old to build clapf) and not the newer one. I put
"-I../sqlite-3.5.6" into the Makefile at the end of CFLAGS, no use. Still
googling....
Digitally yours,
SJ.
--