Re: [sqlite] undefined reference to sqlite3_mutex_held

2009-12-10 Thread Daniel Mierswa
On 10.12.2009 07:44, Roger Binns wrote: > sqlite3.h is not generated from a .in template. Are you volunteering to do > that and become the maintainer of it? Nah I was merely wondering how/if it could be achieved at all. > Secondly your solution would only work for autotools which not everyone use

Re: [sqlite] undefined reference to sqlite3_mutex_held

2009-12-09 Thread Daniel Mierswa
On 10.12.2009 06:32, Roger Binns wrote: > The header file has no idea what options you used when compiling the > library. This applies to much other functionality you can include/omit. > > Roger Couldn't it be done with something like a sqlite3.h.in which gets preprocessed by autotools (relevant

Re: [sqlite] undefined reference to sqlite3_mutex_held

2009-12-09 Thread Daniel Mierswa
On 10.12.2009 05:42, Dan Kennedy wrote: > 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. I wrote exactly that in my initial mail to the list. Though I wonder why the

Re: [sqlite] undefined reference to sqlite3_mutex_held

2009-12-09 Thread Daniel Mierswa
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 \n int main() { sqlite3_mutex

[sqlite] undefined reference to sqlite3_mutex_held

2009-12-09 Thread Daniel Mierswa
Hi list, when I try to build the current thunderbird 3.0 release against sqlite-3.6.21 i get an undefined reference to sqlite3_mutex_held, with 3.6.19 that didn't occur. When i compile sqlite3 with -DSQLITE_DEBUG the symbol is exported, now I wonder if this symbol is not supposed to be exported in