Date: Fri, 13 Feb 2009 08:33:46 -0800 From: Sam Leffler <sam@freebsd.org> To: Olivier Smedts <olivier@gid0.org> Cc: freebsd-current <freebsd-current@freebsd.org> Subject: Re: @188556 breaks if_iwn and if_wpi Message-ID: <4995A0EA.6070209@freebsd.org> In-Reply-To: <20090213125636.GA8128@q.gid0.org> References: <20090213125636.GA8128@q.gid0.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Sorry, fixed by r188582. Sam Olivier Smedts wrote: > Hello, > > I can't buildkernel (with modules) because of the following error in sys/dev/iwn : > > cc -O2 -pipe -march=native -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /work/src/sys/modules/iwn/../../dev/iwn/if_iwn.c > /work/src/sys/modules/iwn/../../dev/iwn/if_iwn.c: In function 'iwn_rx_intr': > /work/src/sys/modules/iwn/../../dev/iwn/if_iwn.c:1445: error: 'struct ieee80211com' has no member named 'ic_stats' > /work/src/sys/modules/iwn/../../dev/iwn/if_iwn.c:1455: error: 'struct ieee80211com' has no member named 'ic_stats' > /work/src/sys/modules/iwn/../../dev/iwn/if_iwn.c:1466: error: 'struct ieee80211com' has no member named 'ic_stats' > *** Error code 1 > > According to the commit message (http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/net80211/ieee80211.c?rev=1.64), ic_stats was never used, so I just removed it from if_iwn and if_wpi. See the attached patch. > > Cheers > > > ------------------------------------------------------------------------ > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4995A0EA.6070209>