Results 1 to 2 of 2

Thread: externel kernel module compilation

  1. #1
    Join Date
    Mar 2010
    Beans
    1

    externel kernel module compilation

    hi all !
    i'm totally new to programming in linux, and i begin with driver programming.

    i have ubuntu 9.04.
    i made my first module
    exactly as in this tutorial http://www.linuxtopia.org/online_boo...ide/index.html

    i've read the makefile i've somewhat understood it.

    i made makefile and the source code hello.c then go to the directory and type make
    it gives me make:nothing can be done for 'all'
    i've read in some tutorials that i need linux kernel headers but i could'n download them
    and i think ubuntu doesn't need it because it knew the make command.
    so please tell me what the exact procedure to do.

  2. #2
    Join Date
    Jul 2010
    Beans
    1
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: externel kernel module compilation

    Hi bonyshine,

    Try this https://wiki.ubuntu.com/KernelCustomBuild and tell me if you got something working. Try first the simple recipe from Martin Pitt!

Bookmarks

Posting Permissions

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