Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    could not find usable .config (note that THERE IS a working symlink!)


    I googled for like an hour I keep getting results that ask the user to create a valid symlink. I'm pretty sure my symlink is good so that isnt the problem. I tried googling KBUILD_OUTPUT , set environment var,etc.. but I found nothing that could help me.

    What should I do to make "emerge ndiswrapper" work? Why do I get this error message?:

    * Determining the location of the kernel source code
    * Found kernel source directory:
    * /usr/src/linux
    * Could not find a usable .config in the kernel source directory.
    * Please ensure that /usr/src/linux points to a configured set of Linux sources.
    * If you are using KBUILD_OUTPUT, please set the environment var so that
    * it points to the necessary object directory so that it might find .config.

    !!! ERROR: net-wireless/ndiswrapper-1.2-r1 failed.

    Thanks in advance

  2. #2
    Linux Guru Cabhan's Avatar
    Join Date
    Jan 2005
    Seattle, WA, USA
    Well, first off, IS there a usable .config?
    ls /usr/src/linux/.config
    Assuming that there is not, you'll need to generate one. Check in /boot to see if the config file was backed up to there (config-2.6.xx). If it was, just copy that to /usr/src/linux/.config. If there is none, you'll need to rerun menuconfig and reset the configuration of your kernel.

Posting Permissions

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