Re: Re: Re: Am I obliged to compile the kernel to compile a module?

2011-08-20 Thread abdelkader belahcene
*Hi,
Solved.
Just need to install linux-headers.

thanks
*


Re: Re: Am I obliged to compile the kernel to compile a module?

2011-08-20 Thread abdelkader belahcene
*Sorry I did not notice
The compilation of the module
needs header or compiled object?
any idea please
Thanks*


Re: Am I obliged to compile the kernel to compile a module?

2011-08-20 Thread Walter Hurry
On Sat, 20 Aug 2011 17:04:59 +0200, abdelkader belahcene wrote:

< snip same question repeated >

Polite request: Please refrain from starting multiple threads for the 
same question.



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/j2ol3n$asf$2...@dough.gmane.org



Am I obliged to compile the kernel to compile a module?

2011-08-20 Thread abdelkader belahcene
Hi,
I write  a module.c  and want to add to the kernel.

I downloaded the corresponding source ( linux-3.0.tar.bz2), and put it in
in /usr/src/linux-3.0
in the makefile for my modle I tried

 make -C   /usr/src/linux-3.0 M=$(PWD) modules

It failed , it looked for  something like /lib/modules/3.0/build

 How to create this directory (build) ?

Am I obliged to compile the kernel ?

thanks for help