Re: USB mass storage device formatting if filesystem is not FAT32

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Re: USB mass storage device formatting if filesystem is not FAT32

1,258 次查看
kaisun1
Contributor III

Hi ,

     I am using imx6 sabresd board as my development platform, using android 4.0 as my operating system.  I've added some code, now my board can recognize fat32 format ssd, and can read and write properly.  Now I need to used ntfs format but the code does not support.

I usd the patch(0004-ntfs_support.patch ) on HDMI Dongle Reference Design Release

adn used the folder (cp folder external/ntfs-3g) on i.MX6 OTT TVBox HW/SW Reference Design Release (ICS4.0.4_1.0.0-alpha)

Compile entire project, the following error:

In file included from external/ntfs-3g/src/ntfs-3g.c:28:

external/ntfs-3g/config.h:49:1: warning: "HAVE_ENDIAN_H" redefined

In file included from <command-line>:0:

./system/core/include/arch/linux-arm/AndroidConfig.h:165:1: warning: this is the location of the previous definition

external/ntfs-3g/src/ntfs-3g.c:69:23: error: sys/xattr.h: No such file or directory

external/ntfs-3g/src/ntfs-3g.c: In function 'ntfs_fuse_getattr':

external/ntfs-3g/src/ntfs-3g.c:858: error: 'struct stat' has no member named 'st_atim'

external/ntfs-3g/src/ntfs-3g.c:859: error: 'struct stat' has no member named 'st_ctim'

external/ntfs-3g/src/ntfs-3g.c:860: error: 'struct stat' has no member named 'st_mtim'

external/ntfs-3g/src/ntfs-3g.c: In function 'ntfs_check_access_xattr':

external/ntfs-3g/src/ntfs-3g.c:2486: error: 'S_IEXEC' undeclared (first use in this function)

external/ntfs-3g/src/ntfs-3g.c:2486: error: (Each undeclared identifier is reported only once

external/ntfs-3g/src/ntfs-3g.c:2486: error: for each function it appears in.)

external/ntfs-3g/src/ntfs-3g.c:2486: error: 'S_IWRITE' undeclared (first use in this function)

external/ntfs-3g/src/ntfs-3g.c: In function 'ntfs_fuse_setxattr':

external/ntfs-3g/src/ntfs-3g.c:2977: error: 'XATTR_CREATE' undeclared (first use in this function)

external/ntfs-3g/src/ntfs-3g.c:2982: error: 'XATTR_REPLACE' undeclared (first use in this function)

make: *** [out/target/product/sabresd_6dq/obj/EXECUTABLES/ntfs-3g_intermediates/src/ntfs-3g.o] Error 1

regards

0 项奖励
回复
0 回复数