Find the answer to your Linux question:
Results 1 to 4 of 4
Hi, I am beginner to linux. I have purchased a Fedora9 Cd and installed. When i tried to create a module programs..i could not find the kernel.h and module.h containing ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2008
    Posts
    9

    Thumbs up Linux module programming.


    Hi,
    I am beginner to linux. I have purchased a Fedora9 Cd and installed. When i tried to create a module programs..i could not find the kernel.h and module.h containing the necessary interfaces, like printk, module_init(), etc.,

    What shall be done? Should i get a new linux kernel and compile..

    Since i am a beginner, it would be of great help, if explained eloborately.

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    if you have an internet connection you can just download and install the kernel headers for the kernel you are currently using with yum

    If this is just to be a test machine to build and develop kernel modules, I would recommend building your own kernel from source, that way you are sure you have everything you need.

  3. #3
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,758

    Smile

    Yes Fedora Doesn't come with linux kernel (For my fedora 7 i downloaded & installed kernel source)

    So check this link
    The Linux Kernel Archives

    and click on "F" from this part ... UTC F V VI C Changelog

    http://www.linuxforums.org/forum/lin...ng-kernel.html

    All the best
    First they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -----
    FOSS India Award winning ext3fs Undelete tool www.giis.co.in. Online Linux Terminal http://www.webminal.org

  4. #4
    Just Joined!
    Join Date
    Aug 2008
    Posts
    9
    Hi,
    Thanks for the inputs. I have downloaded the rpms from the rpm.com and i tried to install as shown in the Personal Fedora 9 Installation Guide
    and tried installing the source and header. It shows me Error.I am installing on a 64bit laptop, containing Fedora - 9 linux. Your inputs would be of great help.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •