make clean mod command failing due to missing .ko file
Hi,
I'm trying to install a driver for my network card. I keep getting an error of 'r8168.ko' no such file or directory
cgp@cgp-
make -C src/ clean
make[1]: Entering directory `/home/
rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions Module.symvers Modules.symvers Module.markers *.order
rm: cannot remove `.tmp_versions': Permission denied
make[1]: *** [clean] Error 1
make[1]: Leaving directory `/home/
make: *** [clean] Error 2
So I figure no prob, it just didn't remove a temp file. Then I do this.....
cgp@cgp-
make -C src/ install
make[1]: Entering directory `/home/
install -m 744 -c r8168.ko /lib/modules/
install: cannot stat `r8168.ko': No such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/
make: *** [install] Error 2
The .ko file is missing. Big problem. My question is, what can I do to get,make or replace that .ko file or what am I doing wrong? Any ideas?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu linux Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- José Antonio Rey
- Solved:
- Last query:
- Last reply: