I.e. the compilation problem is not in the kernel module, right? In this case, the problem is that you have /usr/include/asm symlinked to your kernel's include/asm-i386 directory, which is the wrong setup. However your solution should not give any problem.
Kernel-Modules are usually compiled against the sources in either /usr/src/linux or /lib/modules/<version>/build.
Take a look at the nvidia-kernel ebuild or other ebuilds that build kernel modules. It would be fatal to compile them against the headers in /usr/include. On Gentoo, you can have linux26-headers-2.6.7 installed, but actually be running a 2.6.10 Kernel - and even worse, it is even possible to keep 2.4 headers when running a 2.6 kernel.
------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ User-mode-linux-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
