added #define _FILE_OFFSET_BITS 64 , for embeded devices