r248093: Kernel build failure: /usr/src/sys/net80211/ieee80211_output.c:600:23: error: unused variable 'ic' [-Werror,-Wunused-variable]
Hartmann, O.
ohartman at zedat.fu-berlin.de
Sat Mar 9 10:58:20 UTC 2013
On CURRENT, r248093, build of kernel fails due to the below shown error.
[...]
cc -c -O3 -O3 -Wno-error=unused-variable -fno-strict-aliasing
-march=native -std=c99 -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 -fno-omit-frame-pointer -mno-aes -mno-avx
-mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float
-fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror
/usr/src/sys/net80211/ieee80211_output.c
/usr/src/sys/net80211/ieee80211_output.c:600:23: error: unused variable
'ic' [-Werror,-Wunused-variable]
struct ieee80211com *ic = ni->ni_ic;
^
1 error generated.
*** [ieee80211_output.o] Error code 1
Stop in /usr/obj/usr/src/sys/GATE.
*** [buildkernel] Error code 1
Stop in /usr/src.
*** [buildkernel] Error code 1
Stop in /usr/src.
Oliver
More information about the freebsd-current
mailing list