On Dec 10, 2009, at 11:19 AM, Daniel Mierswa wrote: > On 10.12.2009 01:22, Shawn Wilsher wrote: >> See https://bugzilla.mozilla.org/show_bug.cgi?id=533171 (this isn't >> really a >> SQLite issue). > I'm not sure what you mean. I can reproduce it without any Thunderbird > code involved at all. > > impu...@istari ~ $ echo -e "#include <sqlite3.h> \n int main() { > sqlite3_mutex_held(0); return 0; }" | gcc -xc - -lsqlite3 > /tmp/ccRHfvsh.o: In function `main': > :(.text+0xa): undefined reference to `sqlite3_mutex_held' > collect2: ld returned 1 exit status
sqlite3_mutex_held() is only defined if SQLite is built with SQLITE_DEBUG defined. Looks like this was not the case when the library linked to by -lsqlite3 above was compiled. Dan. > > -- > Mierswa, Daniel > > If you still don't like it, that's ok: that's why I'm boss. I simply > know better than you do. > --- Linus Torvalds, comp.os.linux.advocacy, 1996/07/22 > _______________________________________________ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users