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

    Can't build any modules for custom kernel


    I downloaded kernel, compiled and installed it.

    When running the kernel however, I can't seem to be able to compile any modules for the kernel. The kernel source is still under /usr/src/linux (which is a symlink to /usr/src/linux-

    I've tried compiling various things: the latest Madwifi, Truecrypt, the VMware kernel modules. They all recognise that the source for the current kernel is kept in /usr/src/linux (which it is), but they all fail with nondescript errors (make [Error 2]).

    I have run make modules_prepare from inside /usr/src/linux, but to no avail.

    What could I be missing? When I build the kernel, I copied over my current config and didn't change anything, so is there a kernel config option I am missing or something?

    Thanks in advance.

  2. #2
    Linux Enthusiast likwid's Avatar
    Join Date
    Dec 2006
    You copied over your current kernel config to the newly downloaded one? I don't think that would work. When I compile a new kernel I use the vanilla source from and choose all the options I want.

Posting Permissions

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