Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Aug 2012 07:27:34 -0700
From:      Adrian Chadd <adrian@freebsd.org>
To:        David Wolfskill <david@catwhisker.org>
Cc:        current@freebsd.org
Subject:   Re: FreeBSD buildkernel fails @r239409 in sys/dev/ath/if_ath_tx.c
Message-ID:  <CAJ-Vmokd0jF_X6b1dwP7M7s0ubeKoq0NfSXcNkK-Sq_CHvk4%2Bw@mail.gmail.com>
In-Reply-To: <20120820120925.GE1415@albert.catwhisker.org>
References:  <20120820120925.GE1415@albert.catwhisker.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Yup, I forgot an #ifdef ATH_DEBUG.

I'll fix it shortly.



Adrian


On 20 August 2012 05:09, David Wolfskill <david@catwhisker.org> wrote:
> This is using clang:
>
> ...
>>>> stage 3.2: building everything
> cd /usr/obj/usr/src/sys/CANARY; MAKEOBJDIRPREFIX=3D/usr/obj  MACHINE_ARCH=
=3Di386  MACHINE=3Di386  CPUTYPE=3D GROFF_BIN_PATH=3D/usr/obj/usr/src/tmp/l=
egacy/usr/bin  GROFF_FONT_PATH=3D/usr/obj/usr/src/tmp/legacy/usr/share/grof=
f_font  GROFF_TMAC_PATH=3D/usr/obj/usr/src/tmp/legacy/usr/share/tmac  _SHLI=
BDIRPREFIX=3D/usr/obj/usr/src/tmp  _LDSCRIPTROOT=3D  VERSION=3D"FreeBSD 10.=
0-CURRENT i386 1000017"  INSTALL=3D"sh /usr/src/tools/install.sh"  PATH=3D/=
usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/us=
r/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/u=
sr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr=
/bin /usr/obj/usr/src/make.i386/make KERNEL=3Dkernel all -DNO_MODULES_OBJ
> clang -c -O -pipe  -std=3Dc99 -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  -Wno-error-tautological-compare -Wno-error-empt=
y-body  -Wno-error-parentheses-equality -nostdinc  -I. -I/usr/src/sys -I/us=
r/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_=
global.h  -mno-aes -mno-avx -mno-mmx -mno-sse -msoft-float -ffreestanding -=
fstack-protector -Werror  /usr/src/sys/dev/ath/if_ath_tx.c -I/usr/src/sys/d=
ev/ath
> /usr/src/sys/dev/ath/if_ath_tx.c:379:22: error: use of undeclared identif=
ier
>       'ATH_DEBUG_XMIT'
>                 if (sc->sc_debug & ATH_DEBUG_XMIT)
>                                    ^
> /usr/src/sys/dev/ath/if_ath_tx.c:380:4: error: implicit declaration of fu=
nction
>       'ath_printtxbuf' is invalid in C99
>       [-Werror,-Wimplicit-function-declaration]
>                         ath_printtxbuf(sc, bf, qnum, 0, 0);
>                         ^
> 2 errors generated.
> *** [if_ath_tx.o] Error code 1
>
> Stop in /common/S4/obj/usr/src/sys/CANARY.
> *** [buildkernel] Error code 1
>
> Stop in /usr/src.
> *** [buildkernel] Error code 1
>
> Stop in /usr/src.
>
> Peace,
> david
> --
> David H. Wolfskill                              david@catwhisker.org
> Depriving a girl or boy of an opportunity for education is evil.
>
> See http://www.catwhisker.org/~david/publickey.gpg for my public key.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmokd0jF_X6b1dwP7M7s0ubeKoq0NfSXcNkK-Sq_CHvk4%2Bw>