Makefile:1522: recipe for target '_module_/home/pi/Netgear-A6210/os/linux' failed add_virtual_intf = CFG80211_OpsVirtualInfAdd, home/pi/Netgear-A6210/os/linux/././os/linux/cfg80211/cfg80211.c:2386:22: error: initialization from incompatible pointer type change_virtual_intf = CFG80211_OpsVirtualInfChg, home/pi/Netgear-A6210/os/linux/././os/linux/cfg80211/cfg80211.c:2385:25: error: initialization from incompatible pointer type I have tried all the steps in this post but still i get When compiling it there are a large number of warnings but this also happens with some other drivers I have and they mostly work. If you post the output of command uname -a I can compile it for the kernel version you are using and post it on Dropbox for you to download. I have downloaded the driver you are trying to compile and have compiled it but I do not know if it will work as I do not have a wifi adapter that uses that driver. You can check by looking at the first 3 or 4 lines in the Makefile in the linux source and this will show you the kernel version the source is for and you can compare that with the output of command uname -a. It is possible if you downloaded the Linux source from github then it is probably the very latest version so may not be the version you need. Yes, set the link to where the source you got from github is stored. are the headers in the GitHub repositry I have downloaded or is there another download I need to run to get the correct headers? Thanks for the fast reply, As I am new to this, I don't know where to get the headers. You will need to change directory /home/pi/src/linux to the directory where your Linux source/headers are stored. Code: Select all sudo ln -s /home/pi/src/linux /lib/modules/$(uname -r)/build
0 Comments
Leave a Reply. |