Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 May 2012 15:30:38 -0700
From:      Kevin Oberman <kob6558@gmail.com>
To:        Thomas Mueller <mueller23@insightbb.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Make buildkernel fails on /usr/src/sys/dev/ata/atapi-cam.c
Message-ID:  <CAN6yY1undSPPgdVY8Twg3J3u_i-h4Estoe6hTR_gseg8FAVOZw@mail.gmail.com>
In-Reply-To: <7B.6F.18646.A9E86BF4@smtp01.insight.synacor.com>
References:  <7B.6F.18646.A9E86BF4@smtp01.insight.synacor.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Fri, May 18, 2012 at 11:02 AM, Thomas Mueller
<mueller23@insightbb.com> wrote:
> 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

Do you have 'device ata' in your kernel?

Is 'option ATA_CAM' in it? I don't know how atapi-cam plays with ATA_CAM.
-- 
R. Kevin Oberman, Network Engineer
E-mail: kob6558@gmail.com



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