[sqlite] Compilation fails under Linux (Ubuntu) when FTS5 is enabled

2015-10-19 Thread Rowan Worth
On 18 October 2015 at 04:15, wrote: > I just tried one more time with the -lm switch and this time it worked. > Hmm... > > Problem solved. Thanks. You might find that specifying -lm *after* the .c files works but -lm before the .c files doesn't. The linker processes libraries/object files in

[sqlite] Compilation fails under Linux (Ubuntu) when FTS5 is enabled

2015-10-18 Thread Dan Kennedy
-users at mailinglists.sqlite.org > Subject: Re: [sqlite] Compilation fails under Linux (Ubuntu) when FTS5 > is enabled > > On 10/17/2015 06:47 PM, tonyp at acm.org wrote: >> What the subject says and I get this error: >> >> /tmp/cco8QBGJ.o: In function `fts5Bm25GetD

[sqlite] Compilation fails under Linux (Ubuntu) when FTS5 is enabled

2015-10-18 Thread to...@acm.org
4:35 PM > To: sqlite-users at mailinglists.sqlite.org > Subject: Re: [sqlite] Compilation fails under Linux (Ubuntu) when FTS5 is > enabled > > On 10/17/2015 06:47 PM, tonyp at acm.org wrote: >> What the subject says and I get this error: >> >> /tmp/cco8QBGJ.o: In functio

[sqlite] Compilation fails under Linux (Ubuntu) when FTS5 is enabled

2015-10-18 Thread to...@acm.org
shell.c sqlite3.c tonyp at xxx:~/temp$ -Original Message- From: Dan Kennedy Sent: Saturday, October 17, 2015 10:36 PM To: sqlite-users at mailinglists.sqlite.org Subject: Re: [sqlite] Compilation fails under Linux (Ubuntu) when FTS5 is enabled On 10/18/2015 02:21 AM, tonyp at acm.org

[sqlite] Compilation fails under Linux (Ubuntu) when FTS5 is enabled

2015-10-17 Thread to...@acm.org
.) -Original Message- From: Dan Kennedy Sent: Saturday, October 17, 2015 4:35 PM To: sqlite-users at mailinglists.sqlite.org Subject: Re: [sqlite] Compilation fails under Linux (Ubuntu) when FTS5 is enabled On 10/17/2015 06:47 PM, tonyp at acm.org wrote: > What the subject says and I

[sqlite] Compilation fails under Linux (Ubuntu) when FTS5 is enabled

2015-10-17 Thread Simon Slavin
On 17 Oct 2015, at 8:21pm, tonyp at acm.org wrote: > I'm trying to compile the shell using the amalgamation (three files involved: > shell.c sqlite3.c sqlite.h). > This is a process I've done a zillion times before without problems. > The only new thing I did was add the -DSQLITE_ENABLE_FTS5 to

[sqlite] Compilation fails under Linux (Ubuntu) when FTS5 is enabled

2015-10-17 Thread Dan Kennedy
On 10/17/2015 06:47 PM, tonyp at acm.org wrote: > What the subject says and I get this error: > > /tmp/cco8QBGJ.o: In function `fts5Bm25GetData': > sqlite3.c:(.text+0xb521b): undefined reference to `log' > > (using the latest 3.9.1 release) You'll need to add "-lm" to the command line. Was this

[sqlite] Compilation fails under Linux (Ubuntu) when FTS5 is enabled

2015-10-17 Thread to...@acm.org
What the subject says and I get this error: /tmp/cco8QBGJ.o: In function `fts5Bm25GetData': sqlite3.c:(.text+0xb521b): undefined reference to `log' (using the latest 3.9.1 release) Any ideas? Thanks.

[sqlite] Compilation fails under Linux (Ubuntu) when FTS5 is enabled

2015-10-17 Thread Christian Schmitz
> Am 17.10.2015 um 13:47 schrieb tonyp at acm.org: > > What the subject says and I get this error: > > /tmp/cco8QBGJ.o: In function `fts5Bm25GetData': > sqlite3.c:(.text+0xb521b): undefined reference to `log' > > (using the latest 3.9.1 release) > > Any ideas? For me it worked on a 32bit and