Date: Sat, 11 Nov 2017 21:26:15 -0500 From: Michael Butler <imb@protected-networks.net> To: Will Andrews <will@freebsd.org> Cc: freebsd-current <freebsd-current@freebsd.org> Subject: Re: SVN r325728 breaks build Message-ID: <4499647c-83e1-0946-aaa8-a45b37268ff1@protected-networks.net> In-Reply-To: <20171112005859.GA6107@miranda.firepipe.net> References: <3dcb38fb-4db6-62ba-4867-12f54fcfd5e8@protected-networks.net> <20171112005859.GA6107@miranda.firepipe.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4499647c-83e1-0946-aaa8-a45b37268ff1>
