On Mon, Sep 27, 2010 at 06:09:15PM +0200, Danny Dias wrote: > r...@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