On 08/15/2013 11:42 AM, Ajazur Rahaman wrote:
     Dear sir,

Do we have sqlite support for UCLINUX Kernel Version 2.6.38 ? If it is
,from which version it is supported.
   We are trying to compile " sqlite-3.6.12 autoconf " code to get
executables so as to run it on our Board which has no support for
MMU(Memory Management Unit).

Below is the cross compiling procedure we are following to compile
sqlite-3.6.12

         -->./configure CC= <path to the cross
compiler>/m68k-uclinux/bin/m68k-uclinux-gcc
               --build=i686-pc-linux-gnu --host=m68k-uclinux
--prefix=/home/Aijas/Sqlite3 --disable-libtool-lock
--> make
--> sudo make install

After getting executables When we try to run it on our Board,We are getting
Error message that "DATABASE IS LOCKED".

I have already posted this issue on sqlite-mailing list.But still there is
no response.
http://www.mail-archive.com/[email protected]/msg78514.html<https://mail.infotech-enterprises.com/OWA/redir.aspx?C=CY9heysEWUy1Xg0eEzE4Cj_o3O4GbdAI4tzqG8Otuvemzlf7JIKb2u7Q72Uq1OkQtK3Epd4n8mI.&URL=http%3a%2f%2fwww.mail-archive.com%2fsqlite-users%40sqlite.org%2fmsg78514.html>

Can you please help us in resolving this issue.

Perhaps the fcntl() locks are not working on uclinux. Try opening
the connection using:

  sqlite3 *db;
sqlite3_open_v2("your_db_file.db", &db, SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE, "unix-none");

This will disable all inter-process locking.

Dan.

_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to