[Asterisk-Users] Do I *need* to compile zaptel?

Jean-Michel Hiver hiver.j at wanadoo.fr
Fri Oct 29 00:52:36 MST 2004


Dave Cotton wrote:

>On Fri, 2004-10-29 at 10:48 +0400, Jean-Michel Hiver wrote:
>
>  
>
>>Now I don't have any digium hardware in this box, so I wanted to use the 
>>ztdummy driver before starting asterisk. However 'modprobe ztdummy' 
>>tells me that module ztdummy is not found.
>>
>>Is there a way to install ztdummy pre-compiled or is it necessary to 
>>compile it?
>>    
>>
>
>If the person who packaged it didn't include ztdummy you must compile
>it.
>
>In the Makefile look for # ztdummy and remove the #
>
>On y go.
>  
>
Oh I have done that... the reason for which I am trying to *avoid* 
compilation is because I can't compile it to start with :-)

Here is what I do:

cd /usr/src/zaptel
make clean
make linux26

It all goes OK until it enters directory '/usr/src/linux-2.6.7'.

  CC [M]    /usr/src/zaptel/zaptel.o
In file included from /usr/src/zaptel/zaptel.c:40:
/usr/src/zaptel/zconfig.h:10:27: linux/version.h: No such file or directory
<then a lot of garbage error messages>

It seems that version.h is present in the 2.4 kernel source tree, but I 
can't see it in 2.6.7.

<wild guess>
My guess is that the debian is distributing the 1.0 stable branch, which 
might happen to have no support for 2.6.x kernels, and that I need to 
cvs checkout the head?
</wild guess>

Cheers,
Jean-Michel.



More information about the asterisk-users mailing list