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

From: Konstantin Belousov <kostikbel_at_gmail.com>
Date: Sat, 17 Sep 2016 21:14:55 +0300
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.
Received on Sat Sep 17 2016 - 16:15:00 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:07 UTC