[asterisk-users] Problems compiling Asterisk on Debian
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Thu Oct 7 05:16:02 CDT 2010
On Mon, Sep 27, 2010 at 06:21:16PM +0200, Danny Dias wrote:
> Thanks Dean,
>
> I've done it before, that's why i'm here asking :( take a look:
>
> root at Sangoma-Testing:/usr/src/dahdi-linux-2.1.0.4# apt-cache search
> linux-headers-$(uname -r)
> linux-headers-2.6.26-2-amd64 - Header files for Linux 2.6.26-2-amd64
> root at Sangoma-Testing:/usr/src/dahdi-linux-2.1.0.4# sudo apt-get install
> linux-headers-$(uname -r)
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> linux-headers-2.6.26-2-amd64 is already the newest version.
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> root at Sangoma-Testing:/usr/src/dahdi-linux-2.1.0.4# make
> echo "You do not appear to have the sources for the 2.6.26-2-amd64 kernel
> installed."
> You do not appear to have the sources for the 2.6.26-2-amd64 kernel
> installed.
> exit 1
> make: *** [modules] Error 1
This error basically means:
no such file /lib/modules/`uname -r`/build/.config
'build' above is a symlink. If you have linux-headers-2.6.26-2-amd64 ,
it is supposed to point from /lib/modules/2.6.26-2-amd64/build to
/usr/src/linux-headers-2.6.26-2-amd64 .
Is that the case?
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
More information about the asterisk-users
mailing list