How to build module against headers that are not from the running kernel?
I'm trying to debug a module I programmed but I don't want to do it on the running host but against UML (don't want to reboot every 5 minutes).
The UML kernel I downloaded is 184.108.40.206. I have already downloaded the ubuntu kernel headers for this version (they belong to natty though I'm running maverick.... when I installed the .deb file with dpkg I had no problem at all).
Now I'd like to build said module against these headers. How can I do it?
Here's the makefile for my module:
I had to change the Makefile to have a different (static) path for the build directory.
|All times are GMT -5. The time now is 10:51 PM.|