Results 1 to 5 of 5
root@xyz:/usr/src/linux# sudo make modules
CHK include/linux/version.h
make[1]: *** No rule to make target `arch/i386/kernel/msr.c', needed by `arch/i386/kernel/msr.o'. Stop.
make: *** [arch/i386/kernel] Error 2
I am fairly new to linux and ...
- 04-15-2006 #1Just Joined!
- Join Date
- Feb 2005
- Posts
- 33
make modules failing "No rule to make target", mismatched versions?
I am fairly new to linux and even newer to Ubuntu, been messing around with it a bit and I think I may have mixed up my linux headers or something when I upgraded the linux version. I also remember seeing some issues with the build directory earlier on which is probably related?root@xyz:/usr/src/linux# sudo make modules
CHK include/linux/version.h
make[1]: *** No rule to make target `arch/i386/kernel/msr.c', needed by `arch/i386/kernel/msr.o'. Stop.
make: *** [arch/i386/kernel] Error 2
Could anyone give me some advice on how to fix this and/or clean it up a bit?
- 04-15-2006 #2Just Joined!
- Join Date
- Feb 2005
- Posts
- 33
Well it seems that i was missing some files in my source, so I assume rebuilding my kernel is the only way at this point.
- 04-16-2006 #3Just Joined!
- Join Date
- Feb 2005
- Posts
- 33
Well tried rebuilding my kernel but didnt work at all...
I'm really just stuck at this point. What can I do aside from a reinstall?
- 04-16-2006 #4
Are you running the 2.4 kernel? I got this same error while trying to install a wireless driver only to learn I could not build it against the 2.4. When I upgraded to the 2.6 kernel it built without incident. Maybe that's what's going on with you?
- 04-17-2006 #5Just Joined!
- Join Date
- Feb 2005
- Posts
- 33
Nope, my kernel is:
2.6.12-10-386


Reply With Quote
