arter97 / exfat-linux

EOL exFAT filesystem module for Linux kernel. Everyone should be using https://github.com/namjaejeon/linux-exfat-oot instead.
Other
262 stars 59 forks source link

build failed on kernel 4.14 #24

Open ptpt52 opened 4 years ago

ptpt52 commented 4 years ago
make -j1 -C "/mnt/Data/Sources/openwrt/x-wrt/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/linux-4.14.187" KCFLAGS="-ffile-prefix-map=/mnt/Data/Sources/openwrt/x-wrt/build_dir/target-mips_24kc_musl=target-mips_24kc_musl" HOSTCFLAGS="-O2 -I/mnt/Data/Sources/openwrt/x-wrt/staging_dir/host/include -I/mnt/Data/Sources/openwrt/x-wrt/staging_dir/hostpkg/include -I/mnt/Data/Sources/openwrt/x-wrt/staging_dir/target-mips_24kc_musl/host/include -Wall -Wmissing-prototypes -Wstrict-prototypes" CROSS_COMPILE="mips-openwrt-linux-musl-" ARCH="mips" KBUILD_HAVE_NLS=no KBUILD_BUILD_USER="" KBUILD_BUILD_HOST="" KBUILD_BUILD_TIMESTAMP="Fri Jul 10 10:26:47 2020" KBUILD_BUILD_VERSION="0" HOST_LOADLIBES="-L/mnt/Data/Sources/openwrt/x-wrt/staging_dir/host/lib" KBUILD_HOSTLDLIBS="-L/mnt/Data/Sources/openwrt/x-wrt/staging_dir/host/lib" CONFIG_SHELL="bash" V=''  cmd_syscalls= KERNELRELEASE=4.14.187 M="/mnt/Data/Sources/openwrt/x-wrt/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/exfat-linux-2020-07-10-ed234528" CONFIG_EXFAT_FS=m modules
make[3]: Entering directory '/mnt/Data/Sources/openwrt/x-wrt/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/linux-4.14.187'
  CC [M]  /mnt/Data/Sources/openwrt/x-wrt/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/exfat-linux-2020-07-10-ed234528/inode.o
/mnt/Data/Sources/openwrt/x-wrt/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/exfat-linux-2020-07-10-ed234528/inode.c: In function '__exfat_write_inode':
/mnt/Data/Sources/openwrt/x-wrt/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/exfat-linux-2020-07-10-ed234528/inode.c:57:28: error: passing argument 2 of 'exfat_set_entry_time' from incompatible pointer type [-Werror=incompatible-pointer-types]
  exfat_set_entry_time(sbi, &inode->i_mtime,
                            ^~~~~~~~~~~~~~~
In file included from /mnt/Data/Sources/openwrt/x-wrt/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/exfat-linux-2020-07-10-ed234528/inode.c:16:
/mnt/Data/Sources/openwrt/x-wrt/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/exfat-linux-2020-07-10-ed234528/exfat_fs.h:536:73: note: expected 'struct timespec64 *' but argument is of type 'struct timespec *'
 void exfat_set_entry_time(struct exfat_sb_info *sbi, struct timespec64 *ts,
                                                      ~~~~~~~~~~~~~~~~~~~^~
/mnt/Data/Sources/openwrt/x-wrt/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/exfat-linux-2020-07-10-ed234528/inode.c:62:28: error: passing argument 2 of 'exfat_set_entry_time' from incompatible pointer type [-Werror=incompatible-pointer-types]
  exfat_set_entry_time(sbi, &inode->i_atime,
                            ^~~~~~~~~~~~~~~
In file included from /mnt/Data/Sources/openwrt/x-wrt/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/exfat-linux-2020-07-10-ed234528/inode.c:16:
/mnt/Data/Sources/openwrt/x-wrt/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/exfat-linux-2020-07-10-ed234528/exfat_fs.h:536:73: note: expected 'struct timespec64 *' but argument is of type 'struct timespec *'
 void exfat_set_entry_time(struct exfat_sb_info *sbi, struct timespec64 *ts,
                                                      ~~~~~~~~~~~~~~~~~~~^~
/mnt/Data/Sources/openwrt/x-wrt/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/exfat-linux-2020-07-10-ed234528/inode.c: In function 'exfat_fill_inode':
/mnt/Data/Sources/openwrt/x-wrt/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/exfat-linux-2020-07-10-ed234528/inode.c:607:17: error: incompatible types when assigning to type 'struct timespec' from type 'struct timespec64'
  inode->i_mtime = info->mtime;
                 ^
/mnt/Data/Sources/openwrt/x-wrt/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/exfat-linux-2020-07-10-ed234528/inode.c:608:17: error: incompatible types when assigning to type 'struct timespec' from type 'struct timespec64'
  inode->i_ctime = info->mtime;
                 ^
/mnt/Data/Sources/openwrt/x-wrt/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/exfat-linux-2020-07-10-ed234528/inode.c:610:17: error: incompatible types when assigning to type 'struct timespec' from type 'struct timespec64'
  inode->i_atime = info->atime;
                 ^
cc1: some warnings being treated as errors
scripts/Makefile.build:326: recipe for target '/mnt/Data/Sources/openwrt/x-wrt/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/exfat-linux-2020-07-10-ed234528/inode.o' failed
make[4]: *** [/mnt/Data/Sources/openwrt/x-wrt/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/exfat-linux-2020-07-10-ed234528/inode.o] Error 1
Makefile:1550: recipe for target '_module_/mnt/Data/Sources/openwrt/x-wrt/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/exfat-linux-2020-07-10-ed234528' failed
make[3]: *** [_module_/mnt/Data/Sources/openwrt/x-wrt/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/exfat-linux-2020-07-10-ed234528] Error 2
make[3]: Leaving directory '/mnt/Data/Sources/openwrt/x-wrt/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/linux-4.14.187'
Makefile:48: recipe for target '/mnt/Data/Sources/openwrt/x-wrt/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/exfat-linux-2020-07-10-ed234528/.built' failed
make[2]: *** [/mnt/Data/Sources/openwrt/x-wrt/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/exfat-linux-2020-07-10-ed234528/.built] Error 2
make[2]: Leaving directory '/mnt/Data/Sources/openwrt/x-wrt/feeds/x/exfat-linux'
time: package/feeds/x/exfat-linux/compile#0.89#0.42#2.81
package/Makefile:111: recipe for target 'package/feeds/x/exfat-linux/compile' failed
make[1]: *** [package/feeds/x/exfat-linux/compile] Error 2
make[1]: Leaving directory '/mnt/Data/Sources/openwrt/x-wrt'
/mnt/Data/Sources/openwrt/x-wrt/include/toplevel.mk:233: recipe for target 'package/feeds/x/exfat-linux/compile' failed
make: *** [package/feeds/x/exfat-linux/compile] Error 2