Re: [sqlite] sqlite3_open() problem for ARM

2008-10-30 Thread MikeW
Leandro Ribeiro <[EMAIL PROTECTED]> writes:

> 
> Hello Guys.
> 
> I have a problem with running SQLite.
> I am running linux 2.6.17 on *ARM* and basically problem is that my 
> application
> is crushing on *sqlite3_open*()  function while the sqlite3 command 
> shell is
> running without problems.

> Please help
> 
> NOTE: the same appplication compiled for linux PC is working fine.
> 
> Best regards
> Leandro
> 

Could be a compiler issue - try turning OFF optimisation: "-O0"

MikeW






___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


[sqlite] sqlite3_open() problem for ARM

2008-10-09 Thread Leandro Ribeiro
Hello Guys.

I have a problem with running SQLite.
I am running linux 2.6.17 on *ARM* and basically problem is that my 
application
is crushing on *sqlite3_open*()  function while the sqlite3 command 
shell is
running without problems.
I added the sqlite3.h file to my project.
/**/
#include 
#include "sqlite3.h"

static int callback(void *NotUsed, int argc, char **argv, char **azColName){
  int i;
  for(i=0; i