Ok build issues comes from these two defines in `dmu.h` ``` #define DMU_OT_IS_METADATA(ot) (((ot) & DMU_OT_NEWTYPE) ? \ ((ot) & DMU_OT_METADATA) : \ dmu_ot[(ot)].ot_metadata)
#define DMU_OT_IS_ENCRYPTED(ot) (((ot) & DMU_OT_NEWTYPE) ? \ ((ot) & DMU_OT_ENCRYPTED) : \ dmu_ot[(int)(ot)].ot_encrypt) ``` They then pull in the need for `dmu_ot` when building mdb. Which seems to be because mdb's `zfs.c` uses `SNPRINTF_BLKPTR` macro defined in `spa.h`. Which solution to this problem would people prefer? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/openzfs/openzfs/pull/124#issuecomment-303259756 ------------------------------------------ openzfs-developer Archives: https://openzfs.topicbox.com/groups/developer/discussions/T1625245905c55186-M879c41c3d33d1ce792876a66 Powered by Topicbox: https://topicbox.com