Kernel compile failure in ATH.

From: Ian FREISLICH <ianf_at_clue.co.za>
Date: Thu, 23 Jun 2011 15:21:28 +0200
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
Received on Thu Jun 23 2011 - 11:52:32 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:15 UTC