PDA

View Full Version : Nethunter kernel for Xperia Z2 23.5.a.1.291



larenmc
2018-10-24, 00:47
im trying to port the kernel for xperia z2(shinano_sirius_defconfig) marshmallow kernel source from sony open archive but i get compilation errors
tried different toolchains.(doomlord toolchains incl linaro, the toolchain listed on nethunter wiki) using ubuntu 14.04 x64

it compiles with the stock kernel but after adding nethunter support/wireless support, it gives the following error at ath6kl


drivers/net/wireless/ath/ath6kl/bmi.o
CC drivers/net/wireless/ath/ath6kl/cfg80211.o
drivers/net/wireless/ath/ath6kl/cfg80211.c:2959:2: warning: initialization from incompatible pointer type [enabled by default]
error, forbidden warning: cfg80211.c:2959
make[5]: *** [drivers/net/wireless/ath/ath6kl/cfg80211.o] Error 1
make[4]: *** [drivers/net/wireless/ath/ath6kl] Error 2
make[3]: *** [drivers/net/wireless/ath] Error 2
make[2]: *** [drivers/net/wireless] Error 2
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2

Any help?