Re: hi frnd pls guide me regarding how to compile in linux2.10.18



sathiya <sathiyadev@xxxxxxxxx> wrote:
im sathiyadev.t, new to kernel programming. so any one of u
pls clarify my issue.
that i want to compile a module into the linux kernel in
version 2.10.18.

I guess you mean 2.6.18 - at least that's what I would assume from
the next sentence:

actually im working with cc -I /usr/src/linux-
2.6.18/ include/ .c its not working.so pls who know about it
pls help me...

You don't invoke the compiler directly, you use the kernels build
system with a Makefile. How that looks like depends on circumstances.
You better first read chapter 2 of "Linux Device Drivers", 3rd edition,
by Corbet, Rubini and Kroah-Hartmann, O'Reilly, ISBN 0-596-00590-3;
which is also available as a PDF at

http://lwn.net/Kernel/LDD3/
Regards, Jens
--
\ Jens Thoms Toerring ___ jt@xxxxxxxxxxx
\__________________________ http://toerring.de
.



Relevant Pages