[asterisk-users] Problems compiling Asterisk on Debian

Danny Dias ing.diasdanny at gmail.com
Mon Sep 27 11:28:04 CDT 2010


Done my friend:

root at Sangoma-Testing:/lib/modules/2.6.26-2-amd64/kernel/drivers#
module-assistant prepare
Getting source for kernel version: 2.6.26-2-amd64
apt-get install linux-headers-2.6.26-2-amd64
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.
Creating symlink...
apt-get install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Done!
root at Sangoma-Testing:/lib/modules/2.6.26-2-amd64/kernel/drivers# cd
/usr/src/dahdi-linux-2.1.0.4/
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


The same result :(

2010/9/27 Daniel Tryba <daniel at tryba.nl>

> On Mon, Sep 27, 2010 at 06:09:15PM +0200, Danny Dias wrote:
> > 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
> >
> > What should i do?
>
> The easiest way would be to use module-assistant
> # aptitude install module-assistant
> # module-assistant prepare
>
> This checks which kernel you are running and install the right packages,
> eg:
> module-assistant prepare
> Getting source for kernel version: 2.6.26-2-vserver-amd64
> apt-get install linux-headers-2.6.26-2-vserver-amd64
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following extra packages will be installed:
>  linux-headers-2.6.26-2-common-vserver linux-kbuild-2.6.26
> The following NEW packages will be installed:
>  linux-headers-2.6.26-2-common-vserver
>  linux-headers-2.6.26-2-vserver-amd64
> linux-kbuild-2.6.26
> 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
> Need to get 4366kB of archives.
> After this operation, 35.8MB of additional disk space will be
> used.
> Do you want to continue [Y/n]?
>
> --
>
>   Daniel Tryba
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100927/2116e10e/attachment.htm 


More information about the asterisk-users mailing list