for your eyes only
Knowledge Hurts – a blog of thoughts, things and stuff.

Kernel build tree does not exist?

Hi. It’s me again. Some problem, that I have seen wrongly described in forums is the following:

When I compile mISDN under Debian with Kernel 2.6.26 (mISDN is included in the kernel version 2.6.27 and up), I get the problem “kernel build tree does not exist” thrown at me by the ./configure script in the mISDN directory.

configure: error: kernel build tree does not exist build:/lib/modules/2.6.26-2-686/build /

source:/lib/modules/2.6.26-2-686/source

All that needs to be done is to install the package kernel-headers-2.6-686

sudo apt-get install kernel-headers-2.6-686

and to link the headers to /lib/modules/2.6.26-2-686/source with the command: cd /lib/modules/2.6.26-2-686/source

ln -s /usr/src/linux-headers-2.6.26-2-686 source

After this, ./configure and the whole build process succeeds!

Read on! Knowledge hurts.

Advertisements

One Response to “Kernel build tree does not exist?”

  1. don’t you think it should be apt-get install linux-headers-2.6-686 instead of apt-get install kernel-headers-2.6-686 ?


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: