Make buildkernel fails on /usr/src/sys/dev/ata/atapi-cam.c

Thomas Mueller mueller23 at insightbb.com
Fri May 18 18:02:10 UTC 2012


After a successful "make buildworld" with newly updated source tree, "make buildkernel" failed on atapi-cam.c :

Ending lines of my buildkernel.log are

cc -shared -nostdlib hack.c -o hack.So
rm -f hack.c
MAKE=make sh /usr/src/sys/conf/newvers.sh SANDY
cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000  -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror  vers.c
linking kernel.debug
atapi-cam.o: In function `atapi_action':
/usr/src/sys/dev/ata/atapi-cam.c:436: undefined reference to `ata_controlcmd'
/usr/src/sys/dev/ata/atapi-cam.c:651: undefined reference to `ata_queue_request'
*** Error code 1

Stop in /usr/obj/usr/src/sys/SANDY.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
(end of quoted text)

Is this a known problem?  This is on RELENG_9  and just a couple hours ago.

Tom



More information about the freebsd-stable mailing list