Kernel compile error with iw_ndis.c
Solution 1:
Considering your last question about your laptop backlight, you don't need to compile the kernel to use the patch. You just need to add the PPA to your system's Software Sources.
htorque explained how to proceed in his comment :
Just add the PPA to your system. Start a terminal and run
sudo apt-add-repository ppa:kamalmostafa/linux-kamal-mjgbacklight
, thensudo apt-get update
and finally run the upgrade withsudo apt-get upgrade
. As you can read in the above link to the PPA, you might need to addacpi_backlight=vendor
to the linux-line of the grub entry for the new kernel (see the comments in this answer about how to add parameters to the kernel during boot).
The whole process is already detailed at the bottom of the page you linked.