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

build failed for kernel 4.4.114 #129

Open
viperomega opened this issue Mar 2, 2018 · 2 comments
Open

build failed for kernel 4.4.114 #129

viperomega opened this issue Mar 2, 2018 · 2 comments

Comments

@viperomega
Copy link

make -C /lib/modules/4.4.114-42-default/build M=/root/exfat-nofuse/git/exfat-nofuse modules
make[1]: Entering directory '/usr/src/linux-4.4.114-42-obj/x86_64/default'
CC [M] /root/exfat-nofuse/git/exfat-nofuse/exfat_super.o
/root/exfat-nofuse/git/exfat-nofuse/exfat_super.c: In function ‘exfat_direct_IO’:
/root/exfat-nofuse/git/exfat-nofuse/exfat_super.c:1737:6: warning: passing argument 4 of ‘blockdev_direct_IO’ makes pointer from integer without a cast [enabled by default]
offset, exfat_get_block);
^
In file included from /usr/src/linux-4.4.114-42/include/linux/pagemap.h:8:0,
from /root/exfat-nofuse/git/exfat-nofuse/exfat_super.c:57:
/usr/src/linux-4.4.114-42/include/linux/fs.h:2713:23: note: expected ‘int (*)(struct inode *, sector_t, struct buffer_head *, int)’ but argument is of type ‘loff_t’
static inline ssize_t blockdev_direct_IO(struct kiocb *iocb,
^
/root/exfat-nofuse/git/exfat-nofuse/exfat_super.c:1737:6: error: too many arguments to function ‘blockdev_direct_IO’
offset, exfat_get_block);
^
In file included from /usr/src/linux-4.4.114-42/include/linux/pagemap.h:8:0,
from /root/exfat-nofuse/git/exfat-nofuse/exfat_super.c:57:
/usr/src/linux-4.4.114-42/include/linux/fs.h:2713:23: note: declared here
static inline ssize_t blockdev_direct_IO(struct kiocb *iocb,
^
/root/exfat-nofuse/git/exfat-nofuse/exfat_super.c: At top level:
/root/exfat-nofuse/git/exfat-nofuse/exfat_super.c:1799:2: warning: initialization from incompatible pointer type [enabled by default]
.direct_IO = exfat_direct_IO,
^
/root/exfat-nofuse/git/exfat-nofuse/exfat_super.c:1799:2: warning: (near initialization for ‘exfat_aops.direct_IO’) [enabled by default]
/usr/src/linux-4.4.114-42/scripts/Makefile.build:270: recipe for target '/root/exfat-nofuse/git/exfat-nofuse/exfat_super.o' failed
make[4]: *** [/root/exfat-nofuse/git/exfat-nofuse/exfat_super.o] Error 1
/usr/src/linux-4.4.114-42/Makefile:1434: recipe for target 'module/root/exfat-nofuse/git/exfat-nofuse' failed
make[3]: *** [module/root/exfat-nofuse/git/exfat-nofuse] Error 2
Makefile:150: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:24: recipe for target '__sub-make' failed
make[1]: *** [__sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-4.4.114-42-obj/x86_64/default'
Makefile:35: recipe for target 'all' failed
make: *** [all] Error 2

@AldarisX
Copy link

same problem,openSUSE 42.3

@sectroyer
Copy link

Don't know if you are aware but samsung released source code of exfat driver that works on 4.x kernels 😄 Maybe that can help you 😄

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

3 participants