Quote:
Originally posted by nyghtone
mkdir -p /lib/modules/2.6.5-1.322/misc
install -m 0644 ndiswrapper.ko /lib/modules/2.6.5-1.322/misc
install: cannot stat `ndiswrapper.ko': No such file or directory
make[1]: Leaving directory `/usr/src/ndiswrapper-0.6/driver'
|
If I am understanding correctly from the bit that you posted, this isn't actually a compilation error, but an installation error. Without having checked out the NDISWrapper program, most programs follow the general
./configure
make
make install
pattern. The 'make' portion actually compiles and builds the modules, libraries, apps, etc. The 'make install' portion actually moves the compiled bits to the appropriate directories, sets up permissions, etc.
Based on the part I quoted from your original post, it seems that the problem that 'make install' is running into is that when it tries to copy the ndiswrapper.ko file from /usr/src/ndiswrapper-0.6/driver to /lib/modules/2.6.5-1.322/misc, it can't find ndiswrapper.ko at the /usr/src/ndiswrapper-0.6/driver location.
What I would suggest is to './configure' and 'make' again. As an extra safeguard, you might even want to do those from a clean source tree (re-extract the .tar.gz archive). Before you run 'make install', check to see that ndiswrapper.ko is in the right place. If not, put it in the spot that the 'make install' script expects it to be. Then run 'make install'.
I've run into this before with 'make install' and sometimes you just have to continue tweaking it until it works right.