Hi

Just got this error making a new kernel:

cc -c -O -pipe -march=prescott -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  -mno-align-long-strings 
-mpreferred-stack-boundary=2 -mno-sse -mno-mmx -msoft-float -ffreestanding 
-fstack-protector -Werror  /usr/src/sys/dev/ath/ath_hal/ah_regdomain.c 
-I/usr/src/sys/dev/ath
cc1: warnings being treated as errors
/usr/src/sys/dev/ath/ath_hal/ah_regdomain.c: In function 'isEepromValid':
/usr/src/sys/dev/ath/ath_hal/ah_regdomain.c:170: warning: implicit declaration 
of function 'HALDEBUG_G'
/usr/src/sys/dev/ath/ath_hal/ah_regdomain.c:170: warning: nested extern 
declaration of 'HALDEBUG_G' [-Wnested-externs]
/usr/src/sys/dev/ath/ath_hal/ah_regdomain.c:170: error: 'HAL_DEBUG_REGDOMAIN' 
undeclared (first use in this function)
/usr/src/sys/dev/ath/ath_hal/ah_regdomain.c:170: error: (Each undeclared 
identifier is reported only once
/usr/src/sys/dev/ath/ath_hal/ah_regdomain.c:170: error: for each function it 
appears in.)
/usr/src/sys/dev/ath/ath_hal/ah_regdomain.c: In function 'ath_hal_mapgsm':
/usr/src/sys/dev/ath/ath_hal/ah_regdomain.c:612: error: 'HAL_DEBUG_ANY' 
undeclared (first use in this function)
*** Error code 1


-- 
Ian Freislich
_______________________________________________
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"

Reply via email to