Which version of SQLite supports VxWorks DKM mode ?
I'd like to integrate sqlite to a vxworks application. The vxworks application runs in VxWorks kernel mode (DKM). So, which version of Sqlite should I chose ?
Thank you very much.
It may depend which version of vxWorks you are using. VxWorks 7 21.03 has sqlite "built in" as a 3rd party addon. The version given is 184.108.40.206. It may have been available in earlier versions of vxWorks 7.
I am using sqlite with vxWorks 6.9 and the version I'm currently using is 3.22.0, but I think it has been working since about 3.8.0
If you don't use the built in library then I would just go for the latest version and if you have problems report them here.
I tried to use the latest version of SQLite (version 3.36) with vxWorks 220.127.116.11. Here's my compile options;
 4_BYTE_ALIGNED_MALLOC  COMPILER=gcc-4.3.3  DEBUG  ENABLE_8_3_NAMES=2  ENABLE_IOTRACE  SYSTEM_MALLOC  THREADSAFE=1
The sqlite3_open was successful, however I got the following IO trace when trying to create table by calling sqlite3_exec()
-> runTestCreateDB value = -2093072040 = 0x833e4158 = 'X' -> OPEN 0x8137e560 /NAND/test.db DBHDR 0x8137e560 0 100 LOCK 0x8137e560 1 LOCK 0x8137e560 4 UNLOCK 0x8137e560 1 UNLOCK 0x8137e560 0 sqlite create table failed (10) disk I/O error
Could you help ?
My problem was solved, pls close this topic.
pls close this topic.
This software doesn't have a way of closing topics. The closest we can do is stop responding to it (starting right after this response), noting that someone else may come along in a year, find it relevant to them, and "reopen" it.