kernel no longer builds without nvme

Warner Losh wlosh at bsdimp.com
Fri Jul 22 01:46:34 UTC 2016


> On Jul 21, 2016, at 11:53 AM, Ngie Cooper (yaneurabeya) <yaneurabeya at gmail.com> wrote:
> 
>> 
>> On Jul 21, 2016, at 06:45, Michael Butler <imb at protected-networks.net> wrote:
>> 
>> For those of us who build "minimal" kernels:
>> 
>> Building /usr/obj/usr/src/sys/VM02/vers.c
>> Building /usr/obj/usr/src/sys/VM02/vers.o
>> Building /usr/obj/usr/src/sys/VM02/kernel
>> --- kernel ---
>> linking kernel
>> cam_xpt.o: In function `xpt_announce_periph':
>> /usr/src/sys/cam/cam_xpt.c:(.text+0xcd2): undefined reference to
>> `nvme_print_ident'
>> cam_xpt.o: In function `xpt_denounce_periph':
>> /usr/src/sys/cam/cam_xpt.c:(.text+0xe76): undefined reference to
>> `nvme_print_ident'
>> cam_xpt.o: In function `xpt_run_devq':
>> /usr/src/sys/cam/cam_xpt.c:(.text+0x2bc0): undefined reference to
>> `nvme_op_string'
>> /usr/src/sys/cam/cam_xpt.c:(.text+0x2bd8): undefined reference to
>> `nvme_cmd_string'
>> cam_xpt.o: In function `xpt_bus_register':
>> /usr/src/sys/cam/cam_xpt.c:(.text+0x620b): undefined reference to
>> `nvme_get_xport'
>> *** [kernel] Error code 1
> 
> CCing Scott and Warner. This is one of many reports I’ve seen related to this issue.

Fixed in https://svnweb.freebsd.org/changeset/base/303165 . Sorry about the mixup.
I didn’t even think to test this case.

Warner




More information about the freebsd-current mailing list