SVN r355148/9 breaks build

Michael Butler imb at protected-networks.net
Thu Nov 28 02:44:51 UTC 2019


Something missing from a header here?

Building /usr/obj/usr/src/amd64.amd64/sys/VM01/uma_core.o
--- uma_core.o ---
/usr/src/sys/vm/uma_core.c:1864:39: error: use of undeclared identifier
'sysctl___vm_uma'
        zone->uz_oid = SYSCTL_ADD_NODE(NULL,
SYSCTL_STATIC_CHILDREN(_vm_uma),
                                             ^
/usr/src/sys/sys/sysctl.h:245:44: note: expanded from macro
'SYSCTL_STATIC_CHILDREN'
#define SYSCTL_STATIC_CHILDREN(oid_name)
(&sysctl__##oid_name.oid_children)
                                                  ^
<scratch space>:154:1: note: expanded from here
sysctl___vm_uma
^
/usr/src/sys/vm/uma_core.c:1864:15: error: assigning to 'struct
sysctl_oid *' from incompatible type 'void'
        zone->uz_oid = SYSCTL_ADD_NODE(NULL,
SYSCTL_STATIC_CHILDREN(_vm_uma),
                     ^
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
*** [uma_core.o] Error code 1

	imb


More information about the freebsd-current mailing list