You don't have the proper kernel headers installed. (There should be directories called
kernel-headers-2.4.27-1 and
kernel-headers-2.4.27-1-386 in the /usr/src directory)
You only have the kernel source installed, which isn't good enough.
You need the kernel-headers for the very kernel you have.
Typically that is installed by
Code:
apt-get install kernel-headers-$(uname -r)
But, since your kernel is not the most current one in the repositories, there are no headers for your very specific kernel there.
I recommend that you install a kernel just like I have mentioned to you earlier. (reboot after the installation of the new kernel and then install the kernel-headers as mentioned above)
And I think those instructions for the ndiswrapper are are a bit flawed/incomplete for the step #3.
The link creation should be done on the kernel-headers dir for your specific kernel instead
I suggest you create the symlink like this instead, and it should work better (type it as-it-is, the $(uname -r) part will automatically be replaced with the kernel version you are running.:
Code:
ln -s /usr/src/kernel-headers-$(uname -r) /lib/modules/$(uname -r)/build
(after you have installed a new kernel and corresponding kernel-headers, since your currently installed kernel is not the latest available of its specific kind, therefore there are no kernel-headers available for it, just as I mentioned above).