Compile a module for a kernel version not running

Discuss Programming

Postby Basher52 » Tue Nov 18, 2008 3:11 pm

Those didn't do any output
User avatar
Basher52
guru
guru
 
Posts: 881
Joined: Wed Oct 22, 2003 5:57 am
Location: .SE

Postby Void Main » Tue Nov 18, 2008 3:13 pm

And you tried booting the 2.6.26 kernel, re-extracted the module source into a clean directory and trying building from there and still had the same problem?
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Postby Basher52 » Tue Nov 18, 2008 3:23 pm

Yep, that did it :)
but I wonder why?

I'm off to bed since it's getting late and I'm starting to get a headache :(

thx man :D
User avatar
Basher52
guru
guru
 
Posts: 881
Joined: Wed Oct 22, 2003 5:57 am
Location: .SE

Postby Void Main » Tue Nov 18, 2008 3:42 pm

Basher52 wrote:Yep, that did it :)
but I wonder why?

I'm off to bed since it's getting late and I'm starting to get a headache :(

thx man :D


I actually suggested doing that before because I said it looked like there was something hanging around from the last time you compiled it. Did you ever do a "make clean" like I had asked? If you compile for one kernel using "make" and then switch to another kernel and do not do a "make clean" to remove the object files from the previous build make will assume everything is up to date and not actually compile anything. So then the "make install" would have just installed the object files that you built from the previous kernel.
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Postby Basher52 » Mon Nov 24, 2008 1:39 am

I guess I didn't although I thought I did.
User avatar
Basher52
guru
guru
 
Posts: 881
Joined: Wed Oct 22, 2003 5:57 am
Location: .SE

Previous

Return to Programming

Who is online

Users browsing this forum: No registered users and 1 guest