Results 1 to 3 of 3

Thread: How do you compile drivers?

  1. #1
    Junior Member
    Join Date
    Jan 2010
    Posts
    33

    Default How do you compile drivers?

    On backtrack 3 final live CD, I get the following error whenever I try to compile ("make") the driver for the usb dongles (RT73 and RTL8187L drivers)

    Code:
     make: *** /lib/modules/2.6.21.5/build: No such file or directory.  Stop.
    What am I doing wrong?

  2. #2
    Member
    Join Date
    Jan 2010
    Posts
    140

    Default

    You need the kernel headers.
    Code:
    # wget http://www.offensive-security.com/kernel.lzm
    # lzm2dir kernel.lzm /

  3. #3
    Senior Member
    Join Date
    Apr 2008
    Posts
    2,008

    Default

    If you are using the CD version of BT3 you will need to manually add the kernel sources using the following commands.
    Code:
    wget http://www.offensive-security.com/kernel.lzm
    lzm2dir kernel.lzm /
    EDIT: Larryhaja beat me to it by a nose length.
    -Monkeys are like nature's humans.

Posting Permissions

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