jurobystricky / Netgear-A6210

AC1200 High Gain WiFi USB Adapter Linux kernel driver
292 stars 155 forks source link

Failure to Make - on 4.12 Kali #80

Open clayday27 opened 7 years ago

clayday27 commented 7 years ago

Hello,

Failed to make file

/var/lib/dkms/Netgear-A6210/1.0/build/os/linux/../../os/linux/cfg80211/cfg80211.c:2385:25: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] .change_virtual_intf = CFG80211_OpsVirtualInfChg, ^~~~~~~~~ /var/lib/dkms/Netgear-A6210/1.0/build/os/linux/../../os/linux/cfg80211/cfg80211.c:2385:25: note: (near initialization for 'CFG80211_Ops.change_virtual_intf') /var/lib/dkms/Netgear-A6210/1.0/build/os/linux/../../os/linux/cfg80211/cfg80211.c:2386:22: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] .add_virtual_intf = CFG80211_OpsVirtualInfAdd, ^~~~~~~~~ /var/lib/dkms/Netgear-A6210/1.0/build/os/linux/../../os/linux/cfg80211/cfg80211.c:2386:22: note: (near initialization for 'CFG80211_Ops.add_virtual_intf') cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali2-common/scripts/Makefile.build:307: recipe for target '/var/lib/dkms/Netgear-A6210/1.0/build/os/linux/../../os/linux/cfg80211/cfg80211.o' failed make[4]: [/var/lib/dkms/Netgear-A6210/1.0/build/os/linux/../../os/linux/cfg80211/cfg80211.o] Error 1 /usr/src/linux-headers-4.12.0-kali2-common/Makefile:1532: recipe for target 'module/var/lib/dkms/Netgear-A6210/1.0/build/os/linux' failed make[3]: [module/var/lib/dkms/Netgear-A6210/1.0/build/os/linux] Error 2

genodeftest commented 7 years ago

Hi clayday27, can you please put your code into code blocks? That would increase readability a lot.

77 has some changes which should make the A6210 kernel module build with kernel 4.12. Please try that change.