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, "mak=
e 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=3Dmake sh /usr/src/sys/conf/newvers.sh SANDY
> cc -c -O2 -frename-registers -pipe -fno-strict-aliasing =A0-std=3Dc99 -g =
-Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes =A0-Wmissing-p=
rototypes -Wpointer-arith -Winline -Wcast-qual =A0-Wundef -Wno-pointer-sign=
 -fformat-extensions =A0-Wmissing-include-dirs -fdiagnostics-show-option =
=A0 -nostdinc =A0-I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -=
DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limi=
t=3D8000 --param inline-unit-growth=3D100 --param large-function-growth=3D1=
000 =A0-fno-omit-frame-pointer -mcmodel=3Dkernel -mno-red-zone -mno-mmx -mn=
o-sse -msoft-float =A0-fno-asynchronous-unwind-tables -ffreestanding -fstac=
k-protector -Werror =A0vers.c
> linking kernel.debug
> atapi-cam.o: In function `atapi_action':
> /usr/src/sys/dev/ata/atapi-cam.c:436: undefined reference to `ata_control=
cmd'
> /usr/src/sys/dev/ata/atapi-cam.c:651: undefined reference to `ata_queue_r=
equest'
> *** 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? =A0This is on RELENG_9 =A0and just a couple hour=
s 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.
--=20
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>