Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Aug 2012 05:09:25 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        current@freebsd.org
Cc:        adrian@freebsd.org
Subject:   FreeBSD buildkernel fails @r239409 in sys/dev/ath/if_ath_tx.c
Message-ID:  <20120820120925.GE1415@albert.catwhisker.org>

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

--HnQK338I3UIa/qiP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

This is using clang:

=2E..
>>> 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-qu=
al  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -=
fdiagnostics-show-option  -Wno-error-tautological-compare -Wno-error-empty-=
body  -Wno-error-parentheses-equality -nostdinc  -I. -I/usr/src/sys -I/usr/=
src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_gl=
obal.h  -mno-aes -mno-avx -mno-mmx -mno-sse -msoft-float -ffreestanding -fs=
tack-protector -Werror  /usr/src/sys/dev/ath/if_ath_tx.c -I/usr/src/sys/dev=
/ath
/usr/src/sys/dev/ath/if_ath_tx.c:379:22: error: use of undeclared identifier
      '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 func=
tion
      '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
--=20
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.

--HnQK338I3UIa/qiP
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlAyKPQACgkQmprOCmdXAD1xrwCfRYm4OTsBahXySWaseJ9cf51O
EAAAn1tNk4H535TZGS+69+pv0tAijSnc
=hrxL
-----END PGP SIGNATURE-----

--HnQK338I3UIa/qiP--



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