Re: Building external kernel modules with kernel 2.6...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 29 Nov 2004, Aaron Gaudio wrote:

> According to this (http://linuxdevices.com/articles/AT4389927951.html)
> article, you must have the linux kernel source tree, with compiled
> binaries (at least the vermagic.o file) in order to build an kernel
> module outside of the kernel tree. 
>
> For obvious reasons, this is highly inconvenient. However, I've noticed
> that the NVIDIA kernel driver installation is able to install the
> nvidia.ko module without needing a precompiled source tree, and also
> VMWare is able to compile vmmon.o and vmnet.o (notice the use of the
> older .o naming scheme rather than .ko) without error (all of these
> successfully load into the kernel, though they taint it).

The required source (aka kernel include files) are already part of the
'kernel' rpm. To check:

ls /lib/modules/`uname -r`/build

> Is there a guide or howto available which describes the process without
> requiring a compiled source tree?

Check the FC3 release notes. It at file:///usr/share/doc/HTML/index.html

Satish


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux