[asterisk-users] dahdi compile error on svn

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sun Nov 16 17:45:03 CST 2008


On Sun, Nov 16, 2008 at 04:49:28PM -0500, Jerry Geis wrote:
> I did an svn check out of dahdi.
> I am running centos 4.7
> 
> on the make all I get an error.
>  
> 
>  /usr/src/dahdi-complete/linux/drivers/dahdi/wcb4xxp/Makefile: No such 
> file or directory
> make[4]: *** No rule to make target 
> `/usr/src/dahdi-complete/linux/drivers/dahdi/wcb4xxp/Makefile'.  Stop.
> make[3]: *** [/usr/src/dahdi-complete/linux/drivers/dahdi/wcb4xxp] Error 2
> make[2]: *** [_module_/usr/src/dahdi-complete/linux/drivers/dahdi] Error 2
> make[2]: Leaving directory `/usr/src/kernels/2.6.9-78.0.5.EL-i686'
> make[1]: *** [modules] Error 2
> make[1]: Leaving directory `/usr/src/dahdi-complete/linux'
> make: *** [all] Error 2
> 

Nice. Older version of the kernel. Kbuild won't do and we need o use
Makefile.

Could you please try copying over the Makefile fro wct4xxp?

  cp -a drivers/dahdi/wct4xxp/Makefile drivers/dahdi/wcb4xxp/

No further editing should be needed.

> 
> 
> Also we no longer seem to have a "make menuselect" for dahdi. I was 
> trying to just turn off the wcp4xxp
> as I dont need that.

The easiest way is to edit drivers/dahdi/Kbuid . If the dahdi tree is
built inside a kernel tree, though, you can use the standard
menuconfig/xconfig/whatever to select specific dahdi modules.

-- 
               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