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 command line.
(Adding the -lm switch did not help.) -----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 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 using one of the configure scripts? Or a hand-made makefile? Dan. > > Any ideas? > Thanks. > _______________________________________________ > sqlite-users mailing list > sqlite-users at mailinglists.sqlite.org > http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users _______________________________________________ sqlite-users mailing list sqlite-users at mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users