Date: Mon, 13 Apr 2009 22:49:53 +0300 From: tethys ocean <tethys.ocean@gmail.com> To: Manolis Kiagias <sonic2000gr@gmail.com> Cc: FreeBSD Questions <questions@freebsd.org> Subject: Re: ../../../dev/ath/if_ath.c:3414: error: 'const struct ath_rx_status' has no member named 'rs_flags' Message-ID: <235b80000904131249pc7860ccj7829224949fa90db@mail.gmail.com> In-Reply-To: <49E3545A.1060607@gmail.com> References: <235b80000904130637g70dc9e66t3e62ef1b06814c4f@mail.gmail.com> <49E3545A.1060607@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
thank a lot i found info in UPDATING just below 20090312: The open-source Atheros HAL has been merged from HEAD to STABLE. The kernel compile-time option AH_SUPPORT_AR5416 has been added to support certain newer Atheros parts, particularly PCI-Express chipsets. The following modules are no longer available, and should be removed from MODULES_OVERRIDE and/or loader.conf:- ath_hal ath_rate_amrr ath_rate_onoe ath_rate_sample i added some line to my loader.conf shown in below ath_load="YES" ath_hal_load="YES" ath_rate_amrr="YES" and added to my kernel such lines device ath # Atheros pci/cardbus NIC's device ath_hal # Atheros HAL (Hardware Access Layer) options AH_SUPPORT_AR5416 # enable AR5416 tx/rx descriptors device ath_rate_sample # SampleRate tx rate control for ath but "make" fail changed just like as shown below /usr/src/sys/modules/ath/../../dev/ath/if_ath.c: In function 'ath_rx_tap': /usr/src/sys/modules/ath/../../dev/ath/if_ath.c:3414: error: 'const struct ath_rx_status' has no member named 'rs_flags' /usr/src/sys/modules/ath/../../dev/ath/if_ath.c:3416: error: 'const struct ath_rx_status' has no member named 'rs_flags' *** Error code 1 Stop in /usr/src/sys/modules/ath. *** Error code 1 Stop in /usr/src/sys/modules. *** Error code 1 On Mon, Apr 13, 2009 at 6:03 PM, Manolis Kiagias <sonic2000gr@gmail.com>wrote: > tethys ocean wrote: > > I am using 7.1-STABLE FreeBSD 7.1-STABLE # on one of the my servers. > This > > server was working properly for long time. Electricty is often break down > > and this server isnt behind UPS. Today I have found it as shutdown and > than > > opened it but some servis/daemon hasn't work (such as mysql etc) I have > done > > fschk etc. And than I want to update since it is working so so slow. Than > I > > have update source tree and rebuild kernel and "make depend" has been > > passing well and than "make" state fail, error log(stdout) is shown > bellow. > > > > [root@witch /usr/src/sys/i386/compile/WITCH]# make > > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs > > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > > -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. > > -I../../.. -I../../../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-mmx -mno-3dnow > > -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror > > ../../../dev/ath/if_ath.c -I../../../dev/ath > > ../../../dev/ath/if_ath.c: In function 'ath_rx_tap': > > ../../../dev/ath/if_ath.c:3414: error: 'const struct ath_rx_status' has > no > > member named 'rs_flags' > > ../../../dev/ath/if_ath.c:3416: error: 'const struct ath_rx_status' has > no > > member named 'rs_flags' > > *** Error code 1 > > > > Stop in /usr/src/sys/i386/compile/WITCH. > > > > I read some mail and paper about this error it is saying this is bug > freebsd > > bug... but I got suspicious because I did so many times kernel > > rebuild+update source tree. It hasnt fail with this stdout. Why now? > > > > thank a lot > > > > This is probably due to the changes in the atheros driver. You will have > to update your kernel configuration file. Please read /usr/src/UPDATING > and this thread: > > http://lists.freebsd.org/pipermail/freebsd-questions/2009-March/195075.html > -- Share now a pigeon's flight Bluebound along the ancient skies, Its women forever hair and mammal, A Mediterranean town may arise If you rip apart a pigeon's heart.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?235b80000904131249pc7860ccj7829224949fa90db>