Hi,
backports-20141114 ath9k doesn't build for me on Ubuntu LTS 14.04
kernel 3.13.0-39
] make defconfig-ath9k && make -j4
/home/me/Downloads/backports-20141114/drivers/net/wireless/ath/ath9k/common-spectral.c:40:5:
error: redefinition of \u2018ath_cmn_process_fft\u2019
int ath_cmn_process_fft(struct ath_spec_scan_priv *spec_priv, struct
ieee80211_hdr *hdr,
^
In file included from
/home/me/Downloads/backports-20141114/drivers/net/wireless/ath/ath9k/common.h:27:0,
from
/home/me/Downloads/backports-20141114/drivers/net/wireless/ath/ath9k/ath9k.h:27,
from
/home/me/Downloads/backports-20141114/drivers/net/wireless/ath/ath9k/common-spectral.c:18:
/home/me/Downloads/backports-20141114/drivers/net/wireless/ath/ath9k/common-spectral.h:146:19:
note: previous definition of \u2018ath_cmn_process_fft\u2019 was here
static inline int ath_cmn_process_fft(struct ath_spec_scan_priv *spec_priv,
^
make[8]: *** [/home/me/Downloads/backports-20141114/drivers/net/wireless/ath/ath9k/common-spectral.o]
Error 1
Felix
On 11/18/2014 12:02 AM, ASIC Felix wrote:
> Hi,
>
> backports-20141114 ath9k doesn't build for me on Ubuntu LTS 14.04
> kernel 3.13.0-39
>
> ] make defconfig-ath9k && make -j4
>
> /home/me/Downloads/backports-20141114/drivers/net/wireless/ath/ath9k/common-spectral.c:40:5:
> error: redefinition of \u2018ath_cmn_process_fft\u2019
> int ath_cmn_process_fft(struct ath_spec_scan_priv *spec_priv, struct
> ieee80211_hdr *hdr,
> ^
> In file included from
> /home/me/Downloads/backports-20141114/drivers/net/wireless/ath/ath9k/common.h:27:0,
> from
> /home/me/Downloads/backports-20141114/drivers/net/wireless/ath/ath9k/ath9k.h:27,
> from
> /home/me/Downloads/backports-20141114/drivers/net/wireless/ath/ath9k/common-spectral.c:18:
> /home/me/Downloads/backports-20141114/drivers/net/wireless/ath/ath9k/common-spectral.h:146:19:
> note: previous definition of \u2018ath_cmn_process_fft\u2019 was here
> static inline int ath_cmn_process_fft(struct ath_spec_scan_priv *spec_priv,
> ^
> make[8]: *** [/home/me/Downloads/backports-20141114/drivers/net/wireless/ath/ath9k/common-spectral.o]
> Error 1
>
> Felix
There is a bug in upstream ath9k, you need this additional patch:
http://www.spinics.net/lists/linux-wireless/msg129456.html
Hauke