FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

LinkBack Thread Tools
Old 08-20-2011, 03:04 PM
abdelkader belahcene
Default Am I obliged to compile the kernel to compile a module?

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

Thread Tools

All times are GMT. The time now is 04:21 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org