Re: [sqlite] Problem executing SQLite 3.3.0 under MacOS

2006-01-16 Thread Robert L Cochran
You can search your Makefile to see if a module is set to compile an os.c. For example: [EMAIL PROTECTED] bld]$ egrep 'os' Makefile # This makefile is suppose to be configured automatically using the # same unless your are cross-compiling.) main.lo opcodes.lo os.lo os_unix.lo os_win.lo \ $(TOP)/s

Re: [sqlite] Problem executing SQLite 3.3.0 under MacOS

2006-01-13 Thread Ken & Deb Allen
Thank you, kind sir. Sometimes it is difficult to see the individual ferns on the floor of the massive forest! Oddly enough, the problem seems to have been caused by the lack of the os.c file being compiled into the project at all? Some files that were in the 3.2.8 code stream are no longer

Re: [sqlite] Problem executing SQLite 3.3.0 under MacOS

2006-01-13 Thread drh
Ken & Deb Allen <[EMAIL PROTECTED]> wrote: > > 1. I cannot locate in the 3.3.0 source code how the reference to > sqlite3OsLock is converted into the virtual table method. os.c line 61 > 2. There are no longer an os_win.h or os_unix.h file in the source > tree, which is fine. > 3. For some r

Re: [sqlite] Problem executing SQLite 3.3.0 under MacOS

2006-01-13 Thread Ken & Deb Allen
For the life of me I cannot figure out where this is going wrong. I am not a below average intelligence individual, and I have been working with computers for over 30 years, but this one has me totally at a loss. I should point out that while I own MacOS based systems exclusively for home

Re: [sqlite] Problem executing SQLite 3.3.0 under MacOS

2006-01-12 Thread drh
Ken & Deb Allen <[EMAIL PROTECTED]> wrote: > Yes, the unixLock() routine is defined in the 3.3.0 source, but not > in the 3.2.8 code. > > Nor can I find the #define for this anywhere in the 3.3.0 source (nor > can I find any definition for the sqlite3OsLock (other than a > function prototype

Re: [sqlite] Problem executing SQLite 3.3.0 under MacOS

2006-01-12 Thread Ken & Deb Allen
Yes, the unixLock() routine is defined in the 3.3.0 source, but not in the 3.2.8 code. Nor can I find the #define for this anywhere in the 3.3.0 source (nor can I find any definition for the sqlite3OsLock (other than a function prototype) in either the 3.2.8 or 3.3.0 source. When I attemp

Re: [sqlite] Problem executing SQLite 3.3.0 under MacOS

2006-01-12 Thread drh
Ken & Deb Allen <[EMAIL PROTECTED]> wrote: > > I had a look, but I do not see where the sqlite3OsLock code is > implemented. I see the function prototype, but not the actual > implementation (not even a typedef or wrapper for a native call). > The real name of the function is unixLock. Ther

Re: [sqlite] Problem executing SQLite 3.3.0 under MacOS

2006-01-12 Thread Ken & Deb Allen
I have confirmed that if I use the 3.2.8 source for SQLite my application compiles with 108 warnings but it executes without any problems. If I replace the SQLite source files with those from the 3.3.0 download, the compilation reports only 6 warnings and takes a bit less time, but when I

[sqlite] Problem executing SQLite 3.3.0 under MacOS

2006-01-12 Thread Ken & Deb Allen
I have encountered a problem while attempting to execute some code with SQLite embedded. This code was working with the previous version of the source. I am developing a small framework to permit me to use the SQLite engine from within some Cocoa applications I am developing for personal us