CURRENT r303131: builkernel failure xpt: undefined reference to `nvme_print_ident'

From: O. Hartmann <ohartman_at_zedat.fu-berlin.de>
Date: Thu, 21 Jul 2016 09:21:07 +0200
Recent CURRENT (r303131) can not build a kernel and fails due to the error shown
below:


[...]
cc -target x86_64-unknown-freebsd12.0
--sysroot=/empty/nanoobj/FAFNER_amd64/empty/CURRENT/src/tmp
-B/empty/nanoobj/FAFNER_amd64/empty/CURRENT/src/tmp/usr/bin -c -O2 -pipe
-fno-strict-aliasing   -nostdinc  -I. -I/empty/CURRENT/src/sys
-I/empty/CURRENT/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS
-include opt_global.h   -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse
-msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv
-fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
-Wno-pointer-sign -D__printf__=__freebsd_kprintf__  -Wmissing-include-dirs
-fdiagnostics-show-option  -Wno-unknown-pragmas
-Wno-error-tautological-compare -Wno-error-empty-body
-Wno-error-parentheses-equality -Wno-error-unused-function
-Wno-error-pointer-sign -Wno-error-shift-negative-value  -mno-aes -mno-avx
-std=iso9899:1999 -Werror  vers.c --- kernel --- linking kernel cam_xpt.o: In
function
`xpt_announce_periph': /empty/CURRENT/src/sys/cam/cam_xpt.c:(.text+0xac2):
undefined reference to `nvme_print_ident' cam_xpt.o: In function
`xpt_denounce_periph': /empty/CURRENT/src/sys/cam/cam_xpt.c:(.text+0xc66):
undefined reference to `nvme_print_ident' cam_xpt.o: In function
`xpt_run_devq': /empty/CURRENT/src/sys/cam/cam_xpt.c:(.text+0x270f): undefined
reference to
`nvme_op_string' /empty/CURRENT/src/sys/cam/cam_xpt.c:(.text+0x2727): undefined
reference to `nvme_cmd_string' cam_xpt.o: In function
`xpt_bus_register': /empty/CURRENT/src/sys/cam/cam_xpt.c:(.text+0x5211):
undefined reference to `nvme_get_xport' *** [kernel] Error code 1
[...]


Kind regards,

oh
Received on Thu Jul 21 2016 - 05:21:23 UTC

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