LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices



Reply
 
Search this Thread
Old 07-12-2008, 11:41 PM   #1
linlax
LQ Newbie
 
Registered: Jul 2008
Posts: 2

Rep: Reputation: 0
compiling driver modules


hi

I am learnig device driver.I was using fedora 3 for compiling linux driver modules.every thing was fine there. now i got fedora 9.but i dont have linux/init.h, linux/module.h, linux/kernel.h in /usr/include/linux folder.

i was told to install kernel devel package rpm. but it was installed already.

how/where i can get them to compile kernel modules.

in fedora6,8 also i found linux/init.h, linux/module.h, linux/kernel.h were missing. why they are not installed.

suggest me a linux version to compile driver modules easily.
 
Old 07-13-2008, 05:47 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,272

Rep: Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663
"linux/init.h, linux/module.h, linux/kernel.h"

All 3 files are from glibc-devel.

So # 'yum install glibc-devel' (and may be # 'yum install
glibc-headers') will do it.

Regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling Modules BBPS Linux - Software 1 05-12-2006 08:47 AM
Compiling as modules: useful always? itzfritz Linux - General 2 11-17-2004 08:57 PM
compiling modules DBabo Linux - Software 8 07-29-2004 07:55 AM
Modules not Compiling BlakeB395 Linux - Software 0 02-08-2004 04:06 AM
modules don't seem to be compiling thrice Slackware 3 11-20-2003 11:37 PM


All times are GMT -5. The time now is 08:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration