Hello, I'm trying to compile ceph with zfs on linux from scratch version 8.2 but the compilation fails with the following errors: Scanning dependencies of target os_zfs_objs [ 33%] Building CXX object src/os/CMakeFiles/os_zfs_objs.dir/filestore/ZFSFileStoreBackend.cc.o [ 34%] Building CXX object src/os/CMakeFiles/os_zfs_objs.dir/fs/ZFS.cc.o In file included from /usr/include/libzfs/libnvpair.h:28:0, from /usr/include/libzfs/libzfs.h:36, from /sources/ceph-13.2.2/src/os/fs/ZFS.cc:5: /usr/include/libzfs/sys/nvpair.h:91:2: error: 'uint32_t' does not name a type; did you mean 'u_int32_t'? uint32_t nvl_nvflag; /* persistent flags */ ^~~~~~~~ u_int32_t /usr/include/libzfs/sys/nvpair.h:92:2: error: 'uint64_t' does not name a type; did you mean 'u_int64_t'? uint64_t nvl_priv; /* ptr to private data if not packed */ ^~~~~~~~ u_int64_t /usr/include/libzfs/sys/nvpair.h:93:2: error: 'uint32_t' does not name a type; did you mean 'u_int32_t'? uint32_t nvl_flag; ^~~~~~~~ u_int32_t /usr/include/libzfs/sys/nvpair.h:155:31: error: 'uint_t' has not been declared int nvlist_alloc(nvlist_t **, uint_t, int); ^~~~~~ /usr/include/libzfs/sys/nvpair.h:163:1: error: 'uint_t' does not name a type; did you mean 'u_int8_t'? uint_t nvlist_nvflag(nvlist_t *); ^~~~~~ u_int8_t /usr/include/libzfs/sys/nvpair.h:165:32: error: 'uint_t' has not been declared int nvlist_xalloc(nvlist_t **, uint_t, nv_alloc_t *); ^~~~~~ /usr/include/libzfs/sys/nvpair.h:173:56: error: 'boolean_t' has not been declared int nvlist_add_boolean_value(nvlist_t *, const char *, boolean_t); ^~~~~~~~~ /usr/include/libzfs/sys/nvpair.h:174:47: error: 'uchar_t' has not been declared int nvlist_add_byte(nvlist_t *, const char *, uchar_t); ^~~~~~~ /usr/include/libzfs/sys/nvpair.h:176:48: error: 'uint8_t' has not been declared int nvlist_add_uint8(nvlist_t *, const char *, uint8_t); ^~~~~~~ /usr/include/libzfs/sys/nvpair.h:178:49: error: 'uint16_t' has not been declared int nvlist_add_uint16(nvlist_t *, const char *, uint16_t); ^~~~~~~~ /usr/include/libzfs/sys/nvpair.h:180:49: error: 'uint32_t' has not been declared int nvlist_add_uint32(nvlist_t *, const char *, uint32_t); ^~~~~~~~ /usr/include/libzfs/sys/nvpair.h:182:49: error: 'uint64_t' has not been declared int nvlist_add_uint64(nvlist_t *, const char *, uint64_t); ^~~~~~~~ /usr/include/libzfs/sys/nvpair.h:185:56: error: 'boolean_t' has not been declared int nvlist_add_boolean_array(nvlist_t *, const char *, boolean_t *, uint_t); ^~~~~~~~~ /usr/include/libzfs/sys/nvpair.h:185:69: error: 'uint_t' has not been declared int nvlist_add_boolean_array(nvlist_t *, const char *, boolean_t *, uint_t); ^~~~~~ /usr/include/libzfs/sys/nvpair.h:186:53: error: 'uchar_t' has not been declared int nvlist_add_byte_array(nvlist_t *, const char *, uchar_t *, uint_t); ^~~~~~~ /usr/include/libzfs/sys/nvpair.h:186:64: error: 'uint_t' has not been declared int nvlist_add_byte_array(nvlist_t *, const char *, uchar_t *, uint_t); ^~~~~~ /usr/include/libzfs/sys/nvpair.h:187:63: error: 'uint_t' has not been declared int nvlist_add_int8_array(nvlist_t *, const char *, int8_t *, uint_t); ^~~~~~ /usr/include/libzfs/sys/nvpair.h:188:54: error: 'uint8_t' has not been declared int nvlist_add_uint8_array(nvlist_t *, const char *, uint8_t *, uint_t); ^~~~~~~ /usr/include/libzfs/sys/nvpair.h:188:65: error: 'uint_t' has not been declared int nvlist_add_uint8_array(nvlist_t *, const char *, uint8_t *, uint_t); ^~~~~~ /usr/include/libzfs/sys/nvpair.h:189:65: error: 'uint_t' has not been declared int nvlist_add_int16_array(nvlist_t *, const char *, int16_t *, uint_t); ^~~~~~ /usr/include/libzfs/sys/nvpair.h:190:55: error: 'uint16_t' has not been declared int nvlist_add_uint16_array(nvlist_t *, const char *, uint16_t *, uint_t); ^~~~~~~~ /usr/include/libzfs/sys/nvpair.h:190:67: error: 'uint_t' has not been declared int nvlist_add_uint16_array(nvlist_t *, const char *, uint16_t *, uint_t); ^~~~~~ /usr/include/libzfs/sys/nvpair.h:191:65: error: 'uint_t' has not been declared int nvlist_add_int32_array(nvlist_t *, const char *, int32_t *, uint_t); ^~~~~~ /usr/include/libzfs/sys/nvpair.h:192:55: error: 'uint32_t' has not been declared int nvlist_add_uint32_array(nvlist_t *, const char *, uint32_t *, uint_t); ^~~~~~~~ /usr/include/libzfs/sys/nvpair.h:192:67: error: 'uint_t' has not been declared int nvlist_add_uint32_array(nvlist_t *, const char *, uint32_t *, uint_t); ^~~~~~ /usr/include/libzfs/sys/nvpair.h:193:65: error: 'uint_t' has not been declared int nvlist_add_int64_array(nvlist_t *, const char *, int64_t *, uint_t); ^~~~~~ /usr/include/libzfs/sys/nvpair.h:194:55: error: 'uint64_t' has not been declared int nvlist_add_uint64_array(nvlist_t *, const char *, uint64_t *, uint_t); ^~~~~~~~ /usr/include/libzfs/sys/nvpair.h:194:67: error: 'uint_t' has not been declared int nvlist_add_uint64_array(nvlist_t *, const char *, uint64_t *, uint_t); ^~~~~~ /usr/include/libzfs/sys/nvpair.h:195:70: error: 'uint_t' has not been declared ...... Someone can help me to understand ? Thank you Regards, Stefano Ricci