Re: kernel no longer builds without nvme

From: Warner Losh <wlosh_at_bsdimp.com>
Date: Thu, 21 Jul 2016 19:46:31 -0600
> 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
Received on Thu Jul 21 2016 - 23:46:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:06 UTC