Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 Mar 2013 11:59:21 +0100
From:      "Hartmann, O." <ohartman@zedat.fu-berlin.de>
To:        freebsd Current <freebsd-current@freebsd.org>
Subject:   r248093: Kernel build failure: /usr/src/sys/net80211/ieee80211_output.c:600:23: error: unused variable 'ic' [-Werror,-Wunused-variable]
Message-ID:  <513B1609.3020204@zedat.fu-berlin.de>

next in thread | raw e-mail | index | archive | help
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



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