Find the answer to your Linux question:
Results 1 to 4 of 4
Hi , I am Fedora Core linux my kernel version is 2.6.11. I had wrote one simple kernel module which prints hello world when its get inserted into the kernel. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2006
    Posts
    24

    Regarding Make File for 2.6.11


    Hi ,
    I am Fedora Core linux my kernel version is 2.6.11. I had wrote one simple kernel module which prints hello world when its get inserted into the kernel. The Make file is working for 2.6.9 but it is not working for 2.6.11 can any one give what the difference between 2.6.9 and 2.6.11.

  2. #2
    Linux Enthusiast
    Join Date
    Aug 2006
    Posts
    631
    What kind of errors did you get?
    You need the kernel headers/source that match your kernel.

    Have a read of this:

    http://www.mjmwired.net/resources/mj...#kernelheaders

    Regards

  3. #3
    Linux Enthusiast
    Join Date
    Aug 2006
    Posts
    631
    My make file is not giving any errors it is building and printing
    BUILDING MODULES
    MODPOST

    but it is not creating a .ko file in the directory can plz help me out
    Raju,

    Please don't ask to reply by private email. It's considered a good thing to post questions and the solutions here, so that it may help someone else in the future.

    Did you install the headers/sources that match your kernel?

    Regards

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Dec 2006
    Posts
    3
    Hi ,
    When you are buildild , make sure that you have corresponding kernel source tree and header/Make file everything is proper and matches ur uname -r
    regards

Posting Permissions

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