r305902: ufs/inode.h:148:15: error: unknown type name 'bool'

Konstantin Belousov kostikbel at gmail.com
Sat Sep 17 18:15:00 UTC 2016


On Sat, Sep 17, 2016 at 07:48:06PM +0200, O. Hartmann wrote:
> Obviosly r305902 breaks source and so building a kernel, as the compiler output below
> shows. Reverting back to r305900 is fine.
> 
> [...]
> ===> lib/libprocstat/zfs (obj)
> `zfs.o' is up to date.
> Building /usr/obj/usr/src/lib/libprocstat/common_kvm.o
> In file included from /usr/src/lib/libprocstat/common_kvm.c:47:
> /usr/obj/usr/src/tmp/usr/include/ufs/ufs/inode.h:148:15: error: unknown type name 'bool'
> static inline bool
>               ^
> /usr/obj/usr/src/tmp/usr/include/ufs/ufs/inode.h:155:15: error: unknown type name 'bool'
> static inline bool
>               ^
> /usr/src/lib/libprocstat/common_kvm.c:101:35: error: no member named 'i_dev' in 'struct
> inode' vn->vn_fsid = dev2udev(kd, inode.i_dev);
>                                    ~~~~~ ^
> 3 errors generated.
> *** Error code 1
> 

This is hopefully fixed by r305903.


More information about the freebsd-current mailing list