Find the answer to your Linux question:
Results 1 to 2 of 2
I tried do write a simple helloworld module using hello_init and hello_exit . I also wrote the makefile using the standard textbook on device drivers by O'Reilly. I got the ...
  1. #1
    Just Joined!
    Join Date
    Sep 2009
    Posts
    1

    Question Module programming in opensuse10.2

    I tried do write a simple helloworld module using hello_init and hello_exit . I also wrote the makefile using the standard textbook on device drivers by O'Reilly. I got the following error message:
    Entering directory '/usr/src/linux-2.6.18.2-34-obj/i386/default
    ***No rule to make target 'modules'. Stop
    Leaving directory ------------------------------------
    Error 2

    What could be the problem ? what is kernel source tree and how do we install it on opensuse 10.2 linux?

  2. #2
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    GO to Yast-Software-Software Management and search for kernel-source. Install it. This will give you the required header files.

    Also do you have gcc installed. If not install it same as above.

Posting Permissions

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