Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Debian Linux Help > make modules failing "No rule to make target", mismatched versions?

Forgot Password?
 Debian Linux Help   Discussions related to Debian GNU/Linux.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 04-15-2006   #1 (permalink)
Just Joined!
 
Join Date: Feb 2005
Posts: 33
make modules failing "No rule to make target", mismatched versions?

Quote:
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 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?

Could anyone give me some advice on how to fix this and/or clean it up a bit?
sachi is offline  


Reply With Quote
Old 04-15-2006   #2 (permalink)
Just 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.
sachi is offline   Reply With Quote
Old 04-16-2006   #3 (permalink)
Just 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?
sachi is offline   Reply With Quote
Old 04-16-2006   #4 (permalink)
Super Moderator
 
Dapper Dan's Avatar
 
Join Date: Oct 2004
Location: The Sovereign State of South Carolina
Posts: 4,136
Send a message via AIM to Dapper Dan
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?
__________________
CRUX 2.5 + IceWM Registered:#371367 New Members: click here
Dapper Dan is offline   Reply With Quote
Old 04-17-2006   #5 (permalink)
Just Joined!
 
Join Date: Feb 2005
Posts: 33
Nope, my kernel is:
2.6.12-10-386
sachi is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 03:02 PM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2