trying to compile uzfs fails on ubuntu 5.15.0-1027-gcp #14487
Unanswered
shampavman
asked this question in
Q&A
Replies: 1 comment
-
Ok so i know the reason, its a simple signature mismatch. while what is getting pushed is, Is there something i'm missing in as a flag to configure ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I"m trying to comple the code from https://github.com/mayadata-io/cstor
and i already have zfs 2.1.4 running on my ubuntu 20.04.
I got to fixing a whole bunch of MODULE_LICENSE() issues and now stuck with this
root@ubuntu:~/uzfs/cstor/build# make modules -C /usr/src/linux-headers-5.15.0-1027-gcp M=/root/uzfs/cstor/build make: Entering directory '/usr/src/linux-headers-5.15.0-1027-gcp' CC [M] /root/uzfs/cstor/build/conftest.o /root/uzfs/cstor/build/conftest.c:62:56: error: initialization of ‘int (*)(const struct xattr_handler *, struct dentry *, struct inode *, const char *, void *, size_t)’ {aka ‘int (*)(const struct xattr_handler *, struct dentry *, struct inode *, const char *, void *, long unsigned int)’} from incompatible pointer type ‘int (*)(struct inode *, const char *, void *, size_t)’ {aka ‘int (*)(struct inode *, const char *, void *, long unsigned int)’} [-Werror=incompatible-pointer-types] 62 | .get = get, | ^~~ /root/uzfs/cstor/build/conftest.c:62:56: note: (near initialization for ‘xops.get’) cc1: some warnings being treated as errors
i'm not sure, if i should change the function as per 5.15's xattr.h or should i do something else.
Requesting help.
I've attached the complete config.log
config.log
Beta Was this translation helpful? Give feedback.
All reactions