Can't make, says Kernel source is missing

I'm trying to follow the instructions here

to install FreePBX/Asterisk on my Ubuntu server. When I try to Make DAHDI, it gives me the error that:

You do not appear to have the sources for the 3.19.0-28-generic kernel installed.

I tried to follow all instructions for installing my source, but I'm still getting this error. When I run apt-get source linux-image-$(uname -r) I have noticed that it says

Picking 'linux-lts-vivid' as source package instead of 'linux-image-3.19.0-28-generic'" 

so I'm wondering if that's the problem?

1 Answer

You need the headers, So try:

  1. Update package list

    sudo apt-get update
  2. Install last kernel with its headers (It seems you have vivid kernel), So run:

    sudo apt-get install linux-generic-lts-vivid

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like