That's very likely what happened the first, must have put the -lm option 
before the .c files :(
(Not a regular gcc user.)

Thanks.

-----Original Message----- 
From: Rowan Worth
Sent: Monday, October 19, 2015 6:43 AM
To: General Discussion of SQLite Database
Subject: Re: [sqlite] Compilation fails under Linux (Ubuntu) when FTS5 
isenabled

On 18 October 2015 at 04:15, <tonyp at acm.org> 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
the order they appear on the command line, and tends to only take
unresolved symbols from libraries.

Reply via email to