Hi All, Seems we'd need some protection to make it compile with older sqlite3 versions. If that's not possible we can try enabling the locally hosted version.
--- make -C hbsqlit3 install cc -I. -I../../../../include -no-cpp-precomp -fno-common -Wall -W -O3 -I/usr/include -c ../../hbsqlit3.c -o hbsqlit3.o ../../hbsqlit3.c: In function ‘HB_FUN_SQLITE3_INITIALIZE’: ../../hbsqlit3.c:409: warning: implicit declaration of function ‘sqlite3_initialize’ ../../hbsqlit3.c: In function ‘HB_FUN_SQLITE3_SHUTDOWN’: ../../hbsqlit3.c:414: warning: implicit declaration of function ‘sqlite3_shutdown’ ../../hbsqlit3.c: In function ‘HB_FUN_SQLITE3_OPEN_V2’: ../../hbsqlit3.c:624: warning: implicit declaration of function ‘sqlite3_open_v2’ ../../hbsqlit3.c: In function ‘HB_FUN_SQLITE3_SQL’: ../../hbsqlit3.c:772: warning: implicit declaration of function ‘sqlite3_sql’ ../../hbsqlit3.c:772: warning: passing argument 1 of ‘hb_retc’ makes pointer from integer without a cast ../../hbsqlit3.c: In function ‘HB_FUN_SQLITE3_BIND_INT64’: ../../hbsqlit3.c:975: error: ‘sqlite3_int64’ undeclared (first use in this function) ../../hbsqlit3.c:975: error: (Each undeclared identifier is reported only once ../../hbsqlit3.c:975: error: for each function it appears in.) ../../hbsqlit3.c:975: error: syntax error before ‘int64’ ../../hbsqlit3.c:979: error: ‘int64’ undeclared (first use in this function) ../../hbsqlit3.c: In function ‘HB_FUN_SQLITE3_BLOB_OPEN’: ../../hbsqlit3.c:1555: error: ‘sqlite3_int64’ undeclared (first use in this function) ../../hbsqlit3.c:1555: error: syntax error before ‘hb_parnint’ ../../hbsqlit3.c:1545: warning: unused variable ‘ppBlob’ ../../hbsqlit3.c: At top level: ../../hbsqlit3.c:1568: error: syntax error before ‘else’ ../../hbsqlit3.c:1711: error: syntax error before ‘sqlite3_uint64’ ../../hbsqlit3.c: In function ‘SQL3ProfileLog’: ../../hbsqlit3.c:1713: error: ‘sProfileMsg’ undeclared (first use in this function) ../../hbsqlit3.c:1715: error: ‘sFile’ undeclared (first use in this function) ../../hbsqlit3.c:1719: error: ‘int64’ undeclared (first use in this function) ../../hbsqlit3.c: In function ‘HB_FUN_SQLITE3_MEMORY_USED’: ../../hbsqlit3.c:2241: warning: implicit declaration of function ‘sqlite3_memory_used’ ../../hbsqlit3.c: In function ‘HB_FUN_SQLITE3_MEMORY_HIGHWATER’: ../../hbsqlit3.c:2246: warning: implicit declaration of function ‘sqlite3_memory_highwater’ ../../hbsqlit3.c: In function ‘HB_FUN_SQLITE3_THREADSAFE’: ../../hbsqlit3.c:2257: warning: implicit declaration of function ‘sqlite3_threadsafe’ ../../hbsqlit3.c: In function ‘HB_FUN_SQLITE3_STATUS’: ../../hbsqlit3.c:2272: warning: implicit declaration of function ‘sqlite3_status’ ../../hbsqlit3.c: In function ‘HB_FUN_SQLITE3_DB_STATUS’: ../../hbsqlit3.c:2296: warning: implicit declaration of function ‘sqlite3_db_status’ make[3]: *** [hbsqlit3.o] Error 1 make[2]: *** [descend] Error 2 make[1]: *** [hbsqlit3.inst] Error 2 make: *** [contrib.inst] Error 2 grey:harbour vszakats$ sqlite3 SQLite version 3.4.0 Enter ".help" for instructions sqlite> --- Brgds, Viktor
_______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour