Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jul 2016 09:21:07 +0200
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        freebsd-current <freebsd-current@freebsd.org>
Subject:   CURRENT r303131: builkernel failure xpt: undefined reference to `nvme_print_ident'
Message-ID:  <20160721092107.19582c07@freyja.zeit4.iv.bundesimmobilien.de>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160721092107.19582c07>