Unable to build recent ath9k module from compat-wireless
arclance
Status: Interested
Joined: 26 May 2012
Posts: 41
Reply Quote
Starting with the 2012-12-04 archive from here building the the ath9k module with these optional build options enabled fails.
:: Code ::
export CONFIG_ATH9K_DEBUGFS=y
export CONFIG_ATH_DEBUG=y

This happens with both the 3.6.0-9 and 3.6.0-10 liquorix kernels.

This is the error message from the build failure.
:: Code ::
  CC [M]  /media/Linux_Data/Programs_CB10/compat_wireless/compat-wireless-2012-12-06/compat-wireless-2012-12-06/drivers/net/wireless/ath/ath9k/debug.o
/media/Linux_Data/Programs_CB10/compat_wireless/compat-wireless-2012-12-06/compat-wireless-2012-12-06/drivers/net/wireless/ath/ath9k/debug.c: In function ‘ath9k_sta_add_debugfs’:
/media/Linux_Data/Programs_CB10/compat_wireless/compat-wireless-2012-12-06/compat-wireless-2012-12-06/drivers/net/wireless/ath/ath9k/debug.c:1589:4: error: ‘struct ath_node’ has no member named ‘node_stat’
/media/Linux_Data/Programs_CB10/compat_wireless/compat-wireless-2012-12-06/compat-wireless-2012-12-06/drivers/net/wireless/ath/ath9k/debug.c: In function ‘ath9k_sta_remove_debugfs’:
/media/Linux_Data/Programs_CB10/compat_wireless/compat-wireless-2012-12-06/compat-wireless-2012-12-06/drivers/net/wireless/ath/ath9k/debug.c:1599:19: error: ‘struct ath_node’ has no member named ‘node_stat’
make[5]: *** [/media/Linux_Data/Programs_CB10/compat_wireless/compat-wireless-2012-12-06/compat-wireless-2012-12-06/drivers/net/wireless/ath/ath9k/debug.o] Error 1
make[4]: *** [/media/Linux_Data/Programs_CB10/compat_wireless/compat-wireless-2012-12-06/compat-wireless-2012-12-06/drivers/net/wireless/ath/ath9k] Error 2
make[3]: *** [/media/Linux_Data/Programs_CB10/compat_wireless/compat-wireless-2012-12-06/compat-wireless-2012-12-06/drivers/net/wireless/ath] Error 2
make[2]: *** [/media/Linux_Data/Programs_CB10/compat_wireless/compat-wireless-2012-12-06/compat-wireless-2012-12-06/drivers/net/wireless] Error 2
make[1]: *** [_module_/media/Linux_Data/Programs_CB10/compat_wireless/compat-wireless-2012-12-06/compat-wireless-2012-12-06] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.6.0-10.dmz.1-liquorix-amd64'
make: *** [modules] Error 2

Before I make a bug report about this can anyone tell me if this is due the differences between the liquorix kernel and the vanilla kernel or something else.
Back to top
arclance
Status: Interested
Joined: 26 May 2012
Posts: 41
Reply Quote
This was caused by a change in ath9k that added a dependency to debug builds but did not update the code to reflect that.
It has been fixed in ath9k and should show up in compat-drivers once it pulls in that change.
Back to top
Display posts from previous:   

All times are GMT - 8 Hours