[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to load module to kernel core?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Alle 16:33, luned́ 26 maggio 2003, Ravi ha scritto:
> cc -DMODULE -W -D_KERNEL__ -I/usr/src/linux-x.x.x module.c
I knew that this include path is deprecated. Use this one instead:
- -I /lib/modules/`uname -r`/build/include
Compile the code, insmod it and check it out.
Ciao ciao
thesponge
- --
$>cd /pub
$>more beer
(0>
//\ Perego Paolo <p_perego@modiano.com> - www.sikurezza.org/angel
V_/_ 'Diverso non significa necessariamente peggiore.'
I'm Linux drow 2.4.19-4GB - SuSE Linux 8.1 (i386) powered.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE+3GZWe2SOXFIw7OcRAuY/AJ4w9hCCZT4Lw0RnlsL133P/FFg1OwCdHwx1
4XWC8EEaOyTrNvd2nFO9J5o=
=I4yj
-----END PGP SIGNATURE-----
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/