Yup, I forgot an #ifdef ATH_DEBUG. I'll fix it shortly.
Adrian On 20 August 2012 05:09, David Wolfskill <da...@catwhisker.org> wrote: > This is using clang: > > ... >>>> stage 3.2: building everything > cd /usr/obj/usr/src/sys/CANARY; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 > MACHINE=i386 CPUTYPE= GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin > GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font > GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac > _SHLIBDIRPREFIX=/usr/obj/usr/src/tmp _LDSCRIPTROOT= VERSION="FreeBSD > 10.0-CURRENT i386 1000017" INSTALL="sh /usr/src/tools/install.sh" > PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/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=kernel all -DNO_MODULES_OBJ > clang -c -O -pipe -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 > -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_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/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 > function > '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 da...@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. _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"