I need to use sqlite on VirtualLogix VLX ( a Linux-like embedded OS). The source code is from sqlite-amalgamation-3.6.14.tar.gz. Because of some reason, I use my Makefile to compile source code instead of Makefile that ./configure generate.
My Makefile is : CC=c64xplus-linux-gcc LIBPATH=-L. INCPATH=-I. BIN=demo2 OBJ=sqlite3.o shell.o $(BIN):$(OBJ) $(CC) -g -o $(BIN) $(OBJ) $(INCPATH) $(LIBPATH) -lpthread -Wl,-ar sqlite3.o: $(CC) -g -c sqlite3.c -o sqlite3.o -lpthread shell.o: $(CC) -g -c shell.c $(INCPATH) -o shell.o The Makefile can generate program that execute correctly on PC and arm embedded system. My problem is when I create tables or query a record in an exist databas on VLX, sqlite3_exec() always return error code 10 (SQLITE3_IOERR). The filesystem of VLX is NFS and fopen, fread and fwrite function can work correctly on it. how to resolve this problem? ___________________________________________________________ 好玩贺卡等你发,邮箱贺卡全新上线! http://card.mail.cn.yahoo.com/ _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users