Hi,

I am trying to add sqllite3 to a C-Program to replace a hand-made 
on-disk-datastructure that has proven to be cumbersome to change and 
inefficient.

Unfortunately the program crashes very early in the initialization 
before the first line of my own code executes, making the problem 
difficult to debug.

The linux-system this is to run on is built from scratch using the T2 
build-system (www.t2-project.org). I am cross-compiling the system from 
an Ubuntu-System for a semi-embedded machine. The program itself is 
cross-compiled on top of that using standard GNU auto-tools.

The sqlite3 command-line tool works fine, so I suspect the library 
itself has been built OK, and that I am doing something wrong in my 
compile-and-link stuff. Because as said above, none of my own code get's 
executed, the program never reaches main().

Are there any common pitfalls for beginners like me that could cause 
this problem?

The only idea I had so far is running both programs with strace. The 
output of strace for sqlite3 is at

http://www.marian-aldenhoevel.de/tmp/sqlite.txt

And the output from my program is at

http://www.marian-aldenhoevel.de/tmp/kbox.txt

I cannot see anything obvious that precedes the problem.

Ciao, MM
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to