Which version of SQLite supports VxWorks DKM mode ?
(1) By anonymous on 2021-07-28 08:17:46 [link] [source]
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.
(2) By Andy Ling (AndyL) on 2021-07-28 09:45:25 in reply to 1 [link] [source]
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 18.104.22.168. 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.
(3) By anonymous on 2021-07-30 06:11:06 in reply to 2 [link] [source]
I tried to use the latest version of SQLite (version 3.36) with vxWorks 22.214.171.124. 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 ?
(4) By anonymous on 2021-08-02 02:23:19 in reply to 3 [source]
My problem was solved, pls close this topic.
(5) By Stephan Beal (stephan) on 2021-08-02 02:27:24 in reply to 4 [link] [source]
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.