bhaskarReddy wrote:
Hi Friends,
Hi. Comments interjected in quoted text below.
While i am trying to use `sqlite3_db_release_memory'. I am getting error and warning as, createTable.c: In function `db_create_table': createTable.c:98: warning: implicit declaration of function `sqlite3_db_release_memory'
Above warning means that the declaration in sqlite3.h was not seen before the compiler encountered a use of the function named sqlite3_db_release_memory. You need to #include "sqlite3.h" even if the compiler does not insist upon it. More on this below.
/tmp/ccSyJXew.o: In function `db_create_table': createTable.c:98: undefined reference to `sqlite3_db_release_memory' collect2: ld returned 1 exit status
I cannot tell for sure from your post, but I would guess that you are trying to use a DLL form of SQLite, and for the same reason you get the compiler warning, the call does not properly reference a DLL entry point. I assume you link against something have most of SQLite's API exposed. Otherwise you would get many errors, not just one.
Why it is coming like this.
The nm utility is your friend in situations like this. You can use it to see what is making the unsatisfied reference and to see where it might be satisfied.
Cheers, -- Larry Brasfield _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users