Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make err!!! #138

Open
Joisen opened this issue Oct 8, 2018 · 1 comment
Open

Make err!!! #138

Joisen opened this issue Oct 8, 2018 · 1 comment

Comments

@Joisen
Copy link

Joisen commented Oct 8, 2018

[joisen@mac-localdomain exfat-nofuse-master]$ make
make -C /lib/modules/4.16.3-301.fc28.x86_64/build M=/home/joisen/Downloads/exfat-nofuse-master modules
make[1]: 进入目录“/usr/src/kernels/4.18.11-200.fc28.x86_64”
CC [M] /home/joisen/Downloads/exfat-nofuse-master/exfat_core.o
CC [M] /home/joisen/Downloads/exfat-nofuse-master/exfat_super.o
/home/joisen/Downloads/exfat-nofuse-master/exfat_super.c: 在函数‘exfat_fill_inode’中:
/home/joisen/Downloads/exfat-nofuse-master/exfat_super.c:1927:27: 错误:传递‘exfat_time_fat2unix’的第 2 个参数时在不兼容的指针类型间转换 [-Werror=incompatible-pointer-types]
exfat_time_fat2unix(sbi, &inode->i_mtime, &info.ModifyTimestamp);
^~~~~~~~~~~~~~~
/home/joisen/Downloads/exfat-nofuse-master/exfat_super.c:150:70: 附注:需要类型‘struct timespec *’,但实参的类型为‘struct timespec64 *’
void exfat_time_fat2unix(struct exfat_sb_info *sbi, struct timespec *ts,
~~~~~~~~~~~~~~~~~^~
/home/joisen/Downloads/exfat-nofuse-master/exfat_super.c:1928:27: 错误:传递‘exfat_time_fat2unix’的第 2 个参数时在不兼容的指针类型间转换 [-Werror=incompatible-pointer-types]
exfat_time_fat2unix(sbi, &inode->i_ctime, &info.CreateTimestamp);
^~~~~~~~~~~~~~~
/home/joisen/Downloads/exfat-nofuse-master/exfat_super.c:150:70: 附注:需要类型‘struct timespec *’,但实参的类型为‘struct timespec64 *’
void exfat_time_fat2unix(struct exfat_sb_info *sbi, struct timespec *ts,
~~~~~~~~~~~~~~~~~^~
/home/joisen/Downloads/exfat-nofuse-master/exfat_super.c:1929:27: 错误:传递‘exfat_time_fat2unix’的第 2 个参数时在不兼容的指针类型间转换 [-Werror=incompatible-pointer-types]
exfat_time_fat2unix(sbi, &inode->i_atime, &info.AccessTimestamp);
^~~~~~~~~~~~~~~
/home/joisen/Downloads/exfat-nofuse-master/exfat_super.c:150:70: 附注:需要类型‘struct timespec *’,但实参的类型为‘struct timespec64 *’
void exfat_time_fat2unix(struct exfat_sb_info *sbi, struct timespec *ts,
~~~~~~~~~~~~~~~~~^~
/home/joisen/Downloads/exfat-nofuse-master/exfat_super.c: 在函数‘exfat_write_inode’中:
/home/joisen/Downloads/exfat-nofuse-master/exfat_super.c:2010:27: 错误:传递‘exfat_time_unix2fat’的第 2 个参数时在不兼容的指针类型间转换 [-Werror=incompatible-pointer-types]
exfat_time_unix2fat(sbi, &inode->i_mtime, &info.ModifyTimestamp);
^~~~~~~~~~~~~~~
/home/joisen/Downloads/exfat-nofuse-master/exfat_super.c:169:70: 附注:需要类型‘struct timespec *’,但实参的类型为‘struct timespec64 *’
void exfat_time_unix2fat(struct exfat_sb_info *sbi, struct timespec *ts,
~~~~~~~~~~~~~~~~~^~
/home/joisen/Downloads/exfat-nofuse-master/exfat_super.c:2011:27: 错误:传递‘exfat_time_unix2fat’的第 2 个参数时在不兼容的指针类型间转换 [-Werror=incompatible-pointer-types]
exfat_time_unix2fat(sbi, &inode->i_ctime, &info.CreateTimestamp);
^~~~~~~~~~~~~~~
/home/joisen/Downloads/exfat-nofuse-master/exfat_super.c:169:70: 附注:需要类型‘struct timespec *’,但实参的类型为‘struct timespec64 *’
void exfat_time_unix2fat(struct exfat_sb_info *sbi, struct timespec *ts,
~~~~~~~~~~~~~~~~~^~
/home/joisen/Downloads/exfat-nofuse-master/exfat_super.c:2012:27: 错误:传递‘exfat_time_unix2fat’的第 2 个参数时在不兼容的指针类型间转换 [-Werror=incompatible-pointer-types]
exfat_time_unix2fat(sbi, &inode->i_atime, &info.AccessTimestamp);
^~~~~~~~~~~~~~~
/home/joisen/Downloads/exfat-nofuse-master/exfat_super.c:169:70: 附注:需要类型‘struct timespec *’,但实参的类型为‘struct timespec64 *’
void exfat_time_unix2fat(struct exfat_sb_info *sbi, struct timespec *ts,
~~~~~~~~~~~~~~~~~^~
cc1:有些警告被当作是错误
make[2]: *** [scripts/Makefile.build:318:/home/joisen/Downloads/exfat-nofuse-master/exfat_super.o] 错误 1
make[1]: *** [Makefile:1521:module/home/joisen/Downloads/exfat-nofuse-master] 错误 2
make[1]: 离开目录“/usr/src/kernels/4.18.11-200.fc28.x86_64”
make: *** [Makefile:35:all] 错误 2

@DraceWang
Copy link

you can get your solution here:
#136

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants