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


_______________________________________________
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to