Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 12 of 12
Dataplayer, If you install correctly it should work and don't use that makefile unless and until there is a version conflicts, use a simple one first, like **********************Makefile******************* obj-m := ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Just Joined! vijay_kernel's Avatar
    Join Date
    Apr 2007
    Posts
    77

    Dataplayer,

    If you install correctly it should work and don't use that makefile unless and until there is a version conflicts, use a simple one first, like

    **********************Makefile*******************
    obj-m := file_name.o

    all:

    make -C /lib/modules/`uname -r`/build M=$(PWD) modules

    clean:

    make -C /lib/modules/`uname -r`/build M=$(PWD) clean

    ***********************************************

    If this won't work and if u get a version error messages, then use the same Makefile you used before.

    This is the way to learn it, all the best....

  2. #12
    Just Joined! vijay_kernel's Avatar
    Join Date
    Apr 2007
    Posts
    77
    Please note that , in my above message the " make " line should start with a space of TAB.

Page 2 of 2 FirstFirst 1 2

Posting Permissions

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