I am a newbie and I am trying to install the ndiswrapper on my compaq m700 laptop, but when I try to do "make install" I get the following error.
make: Entering directory `/usr/src/ndiswrapper-0.10/driver'
make -C /lib/modules/18.104.22.168-2-386/build SUBDIRS=/usr/src/ndiswrapper-0.10/driver \
make: *** /lib/modules/22.214.171.124-2-386/build: No such file or directory. Stop.
make: Entering an unknown directorymake: Leaving an unknown directorymake: *** [default] Error 2
make: Leaving directory `/usr/src/ndiswrapper-0.10/driver'
make: *** [install] Error 2
AUTHORS INSTALL README driver ndiswrapper.spec.in version
ChangeLog Makefile debian ndiswrapper.8 utils
The error message is pretty self explanatory.
The make rules require some directory, and it can't find it. So the output "No such file or directory. Stop"
In general, anytime you download new source code or software the files README and INSTALL (and any variation of) are usually very helpful (and in this case explain what needs to be done).
you need to ln -s /pathtokernelsrc /lib/modules/kernelversion/build
and of course a requirement to this is that you have the source code installed.