Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 13 of 13
You actually need the kernel source from which the running kernel is built. So get any latest stable source from kernel.org, configure, build kernel and modules, install it, make sure ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Linux User cyberinstru's Avatar
    Join Date
    Jan 2007
    Location
    India
    Posts
    362

    You actually need the kernel source from which the running kernel is built.
    So get any latest stable source from kernel.org, configure, build kernel and modules, install it, make sure that the new kernel image boots up properly.

    Then your module compilation shud have no problems.
    ---------------------------------
    Registered Linux User #440311
    HI2ARUN _AT_ GMAIL _DOT_ COM
    ---------------------------------

  2. #12
    Just Joined!
    Join Date
    Aug 2006
    Location
    india
    Posts
    57
    hi cyberinstructer,
    today i am happy ,with ur help i made success i installed 2.6.20kernel from kernel.org
    i config it make it and got it to boot when i turn on the system thanku but........

    while config i dont know whether i have config for ethernet MY NET not working.

    when i make ur given makefile it is entering /usr/src
    [rajasekhar@localhost hello]$ make -f Makefile.txt
    make -C /lib/modules/2.6.20/build M=/home/rajasekhar/hello modules
    make[1]: Entering directory `/usr/src/kernels/linux-2.6.20.4'
    scripts/Makefile.build:17: /home/rajasekhar/hello/Makefile: No such file or directory
    make[2]: *** No rule to make target `/home/rajasekhar/hello/Makefile'. Stop.
    make[1]: *** [_module_/home/rajasekhar/hello] Error 2
    make[1]: Leaving directory `/usr/src/kernels/linux-2.6.20.4'
    make: *** [default] Error 2

    whats happening cyber???

  3. #13
    Linux User cyberinstru's Avatar
    Join Date
    Jan 2007
    Location
    India
    Posts
    362
    scripts/Makefile.build:17: /home/rajasekhar/hello/Makefile: No such file or directory
    make[2]: *** No rule to make target `/home/rajasekhar/hello/Makefile'. Stop.
    make[1]: *** [_module_/home/rajasekhar/hello] Error 2
    make[1]: Leaving directory `/usr/src/kernels/linux-2.6.20.4'
    make: *** [default] Error 2
    Rename the makefile as "Makefile" and not "Makefile.txt"
    ---------------------------------
    Registered Linux User #440311
    HI2ARUN _AT_ GMAIL _DOT_ COM
    ---------------------------------

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
  •