Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Nov 2019 21:44:41 -0500
From:      Michael Butler <imb@protected-networks.net>
To:        freebsd-current <freebsd-current@freebsd.org>, jeff@freebsd.org
Subject:   SVN r355148/9 breaks build
Message-ID:  <3e4daebb-cd5d-a9b3-daa1-d335f18e9ec8@protected-networks.net>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3e4daebb-cd5d-a9b3-daa1-d335f18e9ec8>