Re: SVN r325728 breaks build

From: Michael Butler <imb_at_protected-networks.net>
Date: Sat, 11 Nov 2017 21:26:15 -0500
On 11/11/17 19:59, Will Andrews wrote:
> On Sat, Nov 11, 2017 at 07:15:35PM -0500, Michael Butler wrote:
>> As follows:
>>
>> --- zfs.o ---
>> In file included from /usr/src/lib/libprocstat/zfs.c:51:
>> In file included from /usr/obj/usr/src/amd64.amd64/tmp/usr/include/kvm.h:39:
>> /usr/obj/usr/src/amd64.amd64/tmp/usr/include/vm/vm.h:111:13: error:
>> typedef redefinition with different types ('int' vs 'enum boolean_t')
>> typedef int boolean_t;
>>               ^
>> /usr/src/sys/cddl/compat/opensolaris/sys/types.h:84:34: note: previous
>> definition is here
>> typedef enum { B_FALSE, B_TRUE }        boolean_t;
>>                                           ^
>> 	imb
> 
> I have a patch being tested, will fix shortly.  Thanks.

Not with SVN r325732 ..

In file included from /usr/src/lib/libkvm/kvm_i386.c:63:
In file included from /usr/src/lib/libkvm/kvm_i386.h:33:
/usr/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/include/vm/vm.h:74:16: 
error: redefinition of typedef 'vm_prot_t' is a C11 feature 
[-Werror,-Wtypedef-redefinition]
typedef u_char vm_prot_t;       /* protection codes */
                ^
/usr/src/lib/libkvm/kvm.h:45:16: note: previous definition is here
typedef u_char vm_prot_t;
                ^
1 error generated.
*** [kvm_i386.o] Error code 1

make[4]: stopped in /usr/src/lib/libkvm
Received on Sun Nov 12 2017 - 01:26:19 UTC

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