Use "#define _FILE_OFFSET_BITS 64" in Linux