Re: Problem Compiling Kernel Module

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

 



cdlaforc@xxxxxxxxxxxxxx kirjoitti viestissään (lähetysaika 
torstai, 6. tammikuuta 2005 17:07):
> This is the gcc command I am trying at this
> time:
>
> gcc -D__Kernel__ -I/lib/modules/$(uname -r)/build/include
> -DMODULE -Wall -O2 -c hello.c -o hello.o

This is how kernel modules were built with 2.4 kernels. FC3 has a 
2.6 kernel and you should follow the current instructions: 
http://tldp.org/LDP/lkmpg/2.6/html/x209.html

-- 
 Markku Kolkka
 markku.kolkka@xxxxxx


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

  Powered by Linux