Incompatible fuse ops ioctl signature with git cloned fuse installation


xuning97@...
 

from the config, FUSE_USE_VERSION is defined to 32

        reqs.define('fuse', libs=['fuse3'], defines=["FUSE_USE_VERSION=32"],
        headers=['fuse3/fuse.h'], package='fuse3-devel') 
from git fuse src, when this version is defined under 35, the first ioctl signature will be used, here the cmd type is int



from daos srce code, "unsigned int cmd" is used, which is not compatible with the first definition, so the compilation will fail. After comment out "unsigned", everything is compiled successfully.

Join daos@daos.groups.io to automatically receive all group messages.