On Wed, May 18, 2011 at 6:52 PM, Chris Dillman < chris.dill...@zenimaxonline.com> wrote:
> Im having a lot of trouble getting a working build up and running. > You are building from the canonical source code, consisting of about 100 separate source files? Why? The SQLite amalgamation would probably better serve your purpose. It's just two files: sqlite3.c and sqlite3.h. There is no configure script or makefile. No parameters to set. Nothing to go wrong. You just add sqlite3.[ch] to your application and compile. > > I have tried make etc to see if Im missing some flags > > Right now we have auto generation code using premake to gen projects on > Windows, linux, mac. > > The resulting libs work fine on win, linux but always have crashing issues > on OSX > > Using the current code base and vales from the make file... > > // I ASSUME THESE would be in the config.h if configure made one? > > #define PACKAGE_NAME "sqlite" > #define PACKAGE_TARNAME "sqlite" > #define PACKAGE_VERSION "3.7.6.2" > #define PACKAGE_STRING "sqlite 3.7.6.2" > #define PACKAGE_BUGREPORT "http://www.sqlite.org" > #define PACKAGE "sqlite" > #define VERSION "3.7.6.2" > #define STDC_HEADERS 1 > #define HAVE_SYS_TYPES_H 1 > #define HAVE_SYS_STAT_H 1 > #define HAVE_STDLIB_H 1 > #define HAVE_STRING_H 1 > #define HAVE_MEMORY_H 1 > #define HAVE_STRINGS_H 1 > #define HAVE_INTTYPES_H 1 > #define HAVE_STDINT_H 1 > #define HAVE_UNISTD_H 1 > #define HAVE_DLFCN_H 1 > #define HAVE_FDATASYNC 1 > #define HAVE_USLEEP 1 > #define HAVE_LOCALTIME_R 1 > #define HAVE_GMTIME_R 1 > #define HAVE_DECL_STRERROR_R 1 > #define HAVE_STRERROR_R 1 > #define HAVE_READLINE 1 > > #define DSQLITE_ENABLE_RTREE > #define SQLITE_ENABLE_FTS3 > #define SQLITE_THREADSAFE 1 > #define _REENTRANT 1 > > > > // Stack Trace of crash. > > #0 0x02577f17 in pthreadMutexAlloc at sqlite3.c:17158 > #1 0x02577dcd in sqlite3MutexAlloc at sqlite3.c:16484 > #2 0x0257ec33 in unixEnterMutex at sqlite3.c:24640 > #3 0x02582bd2 in findReusableFd at sqlite3.c:28907 > #4 0x02582f84 in unixOpen at sqlite3.c:29079 > #5 0x0257751a in sqlite3OsOpen at sqlite3.c:14093 > #6 0x0258cb1e in sqlite3PagerOpen at sqlite3.c:40780 > #7 0x02595004 in sqlite3BtreeOpen at sqlite3.c:48836 > #8 0x025bf2de in attachFunc at sqlite3.c:76066 > #9 0x025aaee0 in sqlite3VdbeExec at sqlite3.c:63618 > #10 0x025a75da in sqlite3Step at sqlite3.c:60644 > #11 0x025a77ca in sqlite3_step at sqlite3.c:60709 > #12 0x025d0835 in sqlite3_exec at sqlite3.c:86281 > #13 0x0256fefe in ZoSqliteDb::RunSql at ZoSqliteDb.cpp:155 > > Any ideas? > > I have has apple specific locking issues when I tried older builds of > SQLlite also. > Like other users have reported. > > Those could be related to the current issues... > > > > > > > > _______________________________________________ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > -- D. Richard Hipp d...@sqlite.org _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users