help with lkm

Andrey Vul andrey.vul at gmail.com
Wed Apr 26 19:01:35 UTC 2006


Kernel helloworld uses printk(), NOT stdio printf() / iostream cout>>
also gcc whines about some problem in <linux/time.h>
so which kernelheader do i need just for helloworld?

FAQ> http://www.packetstormsecurity.org/docs/hack/LKM_HACKING.html

On 4/25/06, michael chang <thenewme91 at gmail.com> wrote:
> You need to add to the link directory list (or some other
> header/include list or something).
>
> Try looking at the kernel hacking FAQ.
>
> On 4/25/06, Andrey Vul <andrey.vul at gmail.com> wrote:
> > gcc returns this:
> > ./helloworld.c:2:26: error: Linux/module.h: No such file or directory
> >
> > what do i do (i really want to try kernel hacking)
> >
>
>
> --
> ~Mike
>  - Just the crazy copy cat.
>


--
-AV-




More information about the ubuntu-ca mailing list