Date: Thu, 25 May 2023 09:03:13 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 257222] Cannot use libzfs_core from user space programs due to missing libnvpair.h and other dependencies Message-ID: <bug-257222-227-QKimYYeD3d@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-257222-227@https.bugs.freebsd.org/bugzilla/> References: <bug-257222-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257222 Gleb Popov <arrowd@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |arrowd@FreeBSD.org --- Comment #8 from Gleb Popov <arrowd@FreeBSD.org> --- This problem is still there in 14-CURRENT. Simply including <libzfs_core.h> results in In file included from /usr/include/libzfs_core.h:32: In file included from /usr/include/libnvpair.h:29: /usr/include/sys/nvpair.h:152:45: error: unknown type name 'uint_t' _SYS_NVPAIR_H int nvlist_alloc(nvlist_t **, uint_t, int); ^ ... /usr/include/sys/nvpair.h:171:70: error: unknown type name 'boolean_t' _SYS_NVPAIR_H int nvlist_add_boolean_value(nvlist_t *, const char *, boolean_t); ^ /usr/include/sys/nvpair.h:172:61: error: unknown type name 'uchar_t'; did y= ou mean 'wchar_t'? _SYS_NVPAIR_H int nvlist_add_byte(nvlist_t *, const char *, uchar_t); ^ ... --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257222-227-QKimYYeD3d>