Done my friend:<div><br></div><div><div>root@Sangoma-Testing:/lib/modules/2.6.26-2-amd64/kernel/drivers# module-assistant prepare</div><div>Getting source for kernel version: 2.6.26-2-amd64</div><div>apt-get install linux-headers-2.6.26-2-amd64 </div>
<div>Reading package lists... Done</div><div>Building dependency tree </div><div>Reading state information... Done</div><div>linux-headers-2.6.26-2-amd64 is already the newest version.</div><div>0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.</div>
<div>Creating symlink...</div><div>apt-get install build-essential </div><div>Reading package lists... Done</div><div>Building dependency tree </div><div>Reading state information... Done</div><div>build-essential is already the newest version.</div>
<div>0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.</div><div><br></div><div>Done!</div><div>root@Sangoma-Testing:/lib/modules/2.6.26-2-amd64/kernel/drivers# cd /usr/src/dahdi-linux-2.1.0.4/</div><div>root@Sangoma-Testing:/usr/src/dahdi-linux-2.1.0.4# make</div>
<div>echo "You do not appear to have the sources for the 2.6.26-2-amd64 kernel installed."</div><div>You do not appear to have the sources for the 2.6.26-2-amd64 kernel installed.</div><div>exit 1</div><div>make: *** [modules] Error 1</div>
<div><br></div><div><br></div><div>The same result :(</div><br><div class="gmail_quote">2010/9/27 Daniel Tryba <span dir="ltr"><<a href="mailto:daniel@tryba.nl">daniel@tryba.nl</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Mon, Sep 27, 2010 at 06:09:15PM +0200, Danny Dias wrote:<br>
> root@Sangoma-Testing:/usr/src/dahdi-linux-2.1.0.4# make<br>
> echo "You do not appear to have the sources for the 2.6.26-2-amd64 kernel<br>
> installed."<br>
> You do not appear to have the sources for the 2.6.26-2-amd64 kernel<br>
> installed.<br>
> exit 1<br>
> make: *** [modules] Error 1<br>
><br>
> What should i do?<br>
<br>
</div>The easiest way would be to use module-assistant<br>
# aptitude install module-assistant<br>
# module-assistant prepare<br>
<br>
This checks which kernel you are running and install the right packages,<br>
eg:<br>
module-assistant prepare<br>
Getting source for kernel version: 2.6.26-2-vserver-amd64<br>
apt-get install linux-headers-2.6.26-2-vserver-amd64<br>
<div class="im">Reading package lists... Done<br>
Building dependency tree<br>
Reading state information... Done<br>
</div>The following extra packages will be installed:<br>
linux-headers-2.6.26-2-common-vserver linux-kbuild-2.6.26<br>
The following NEW packages will be installed:<br>
linux-headers-2.6.26-2-common-vserver<br>
linux-headers-2.6.26-2-vserver-amd64<br>
linux-kbuild-2.6.26<br>
<div class="im">0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.<br>
</div>Need to get 4366kB of archives.<br>
After this operation, 35.8MB of additional disk space will be<br>
used.<br>
Do you want to continue [Y/n]?<br>
<br>
--<br>
<br>
Daniel Tryba<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="h5">_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br></div>