Hi, Thank you all for the reply.
i am still wondering why setting DSQLITE_DISABLE_LFS=1 had no effect on the code when we have a clear #ifndef ? , 1) if my application does not need LFS , how do i really make it here (system uses : Linux nitrogen6x 3.0.15-ts-armv7l) ? i was getting sizeof(off_t) to 8 in robust_ftruncate and 4 in ts_ftruncate i was expecting DSQLITE_DISABLE_LFS=1 should make sizeof(off_t) to 4 in robust_ftruncate , but it didnt. solution tried: 2) Later i added below code in the begining of test_syscall.c which made ts_ftruncate() 's sizeof(off_t) to change to 8. #ifndef SQLITE_DISABLE_LFS # define _LARGE_FILE 1 # ifndef _FILE_OFFSET_BITS # define _FILE_OFFSET_BITS 64 # endif # define _LARGEFILE_SOURCE 1 #endif 3) Another solution i tried was setting -D_FILE_OFFSET_BITS=64 while building -- View this message in context: http://sqlite.1065341.n5.nabble.com/TCL-Test-failures-on-ARM-tp67612p67995.html Sent from the SQLite mailing list archive at Nabble.com. _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users