Addendum:  There is a new file, src/test_onefile.c, that needs to be
added to Makefile.in.

-----Original Message-----
From: Evans, Mark (Tandem) 
Sent: Monday, October 08, 2007 12:23 PM
To: sqlite-users@sqlite.org
Subject: [sqlite] 3.5.1 build issues

A glitch or two got introduced into the 3.5.1 build for cygwin and
possibly other platforms.  Please advise if I did something wrong:

There are undefined symbols when building testfixture:

/cygdrive/c/mse/ccm_wa/hsspla/SDM/SQLite-REL01/SQLite/build/cygwin/build
/bld/../../../../Source/sqlite-3.5.1-hp/src/tclsqlite.c:2511: undefined
reference to `_Sqlitetest7_Init'
/cygdrive/c/mse/ccm_wa/hsspla/SDM/SQLite-REL01/SQLite/build/cygwin/build
/bld/../../../../Source/sqlite-3.5.1-hp/src/tclsqlite.c:2520: undefined
reference to `_SqlitetestThread_Init'
/cygdrive/c/mse/ccm_wa/hsspla/SDM/SQLite-REL01/SQLite/build/cygwin/build
/bld/../../../../Source/sqlite-3.5.1-hp/src/tclsqlite.c:2521: undefined
reference to `_SqlitetestOnefile_Init'


The first function, Sqlitetest7_Init, turns up undefined due to change
in #if-s in test7.c:
from:
#if OS_UNIX && SQLITE_THREADSAFE && \
    defined(SQLITE_SERVER) && !defined(SQLITE_OMIT_SHARED_CACHE)

to:

#if defined(SQLITE_SERVER) && !defined(SQLITE_OMIT_SHARED_CACHE)
#if defined(OS_UNIX) && OS_UNIX && SQLITE_THREADSAFE

The latter two functions were moved to test_thread.c which does not
appear in Makefile.in but they are referenced by tclsqlite.c. 


Thanks,
Mark


-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to