On 06/21/2018 02:34 PM, Dennis Clarke wrote:

Seems to compile fine and yet "gmake test" failed with a less
then helpful "Error 2" :


.
.
.
sqlite3.c:
"sqlite3.c", line 20826: warning: implicit function declaration: localtime_r (E_NO_IMPLICIT_DECL_ALLOWED) "sqlite3.c", line 52491: warning: statement not reached (E_STATEMENT_NOT_REACHED)
gmake: *** [Makefile:1161: testfixture] Error 2


Seems like the compiler is configured to be extra picky. Is this Solaris? Can you post the full output of [configure && gmake test]?

The second error is a bit strange. It's true that line 52491 is unreachable, but the line is "assert( 0 );". Are you building with SQLITE_DEBUG defined somehow? Is environment variable CC set?

If you just want to get something working, switching to the amalgamation package might do the trick.

Dan.



Configure was trivial and seems fine :

./configure --enable-shared --enable-static --enable-readline --enable-threadsafe

Not sure if perhaps I am doing something blatently wrong.

Dennis
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users


_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to