Results 1 to 4 of 4

Thread: Make && Make Install : please set KERNELPATH

Hybrid View

  1. #1
    Just burned his ISO
    Join Date
    Oct 2011
    Posts
    3

    Default Make && Make Install : please set KERNELPATH

    I'm trying to:

    make
    make install

    in the mad-wifi directory.

    I get this as soon as i type: make

    /bin/sh: line 0: cd: /lib/modules/2.6.39.4/build: No such file or directory
    Makefile.inc:66: *** /lib/modules/2.6.39.4/build is missing, please set KERNELPATH. Stop.


    I've installed linux-headers and linux-source
    It looks like they've been installed into: /usr/src/
    I've also tried reinstalling the packages.

    The command: uname -r returns:
    2.6.39.4


    Does anybody have any idea on how i can get make && make install working??


    UPDATE: Solved With:

    root@bt:~# prepare-kernel-sources
    root@bt:~# cd /usr/src/linux
    root@bt:~# cp -rf include/generated/* include/linux/
    Last edited by g0bl1n; 10-26-2011 at 10:12 PM. Reason: Format Error

  2. #2
    Moderator g0tmi1k's Avatar
    Join Date
    Feb 2010
    Posts
    1,771

    Default Re: Make && Make Install : please set KERNELPATH

    Did you Prepare the Kernel Headers?
    http://www.backtrack-linux.org/wiki/...Kernel_Headers
    Have you...g0tmi1k?

  3. #3
    Just burned his ISO
    Join Date
    Oct 2011
    Posts
    3

    Default Re: Make && Make Install : please set KERNELPATH

    Thanks man, it worked.. I appreciate the help!

  4. #4
    Just burned his ISO sasanet's Avatar
    Join Date
    Jun 2011
    Location
    EU
    Posts
    25

    Default Re: Make && Make Install : please set KERNELPATH

    copy this code and paste it into console:
    Code:
    cd /lib/modules/2.6.39.4/
    ln -s /usr/src/linux build
    if you get error like"module.symvers is missing" during driver installation and you would like to fix that than after you prepare kernel headers do this:
    Code:
    cd /usr/src/linux/
    make modules
    however this action may take 2 hours and it's not very important.
    important is to make symbolic link in your /lib/modules/$(uname -r)/

    cheers!

Similar Threads

  1. [QUESTION]Can I Make My BackTrack Live CD Install Persistent?[QUESTION]
    By Shadowman in forum BackTrack 5 Beginners Section
    Replies: 0
    Last Post: 05-15-2011, 07:55 PM
  2. how to make USB install NOT persistent
    By nullman in forum Beginners Forum
    Replies: 2
    Last Post: 05-17-2010, 06:06 PM
  3. what i need to install in bt4 to make pass scan faster
    By shadi in forum Beginners Forum
    Replies: 2
    Last Post: 05-11-2010, 10:55 PM
  4. Error on Make && Make install Command
    By KherKhere in forum OLD Newbie Area
    Replies: 1
    Last Post: 01-22-2010, 03:17 PM
  5. Make an iso/image of good Install
    By simo923 in forum OLD BackTrack v2.0 Final
    Replies: 10
    Last Post: 05-02-2007, 11:27 PM

Posting Permissions

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