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 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. How do I get past this and how do we turn off modules we dont need. Thansk, Jerry
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
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 > > > > 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. > > How do I get past this and how do we turn off modules we dont need. > > Thansk, > > Jerry >Thanks that works. Is there an easy way to make DAHDI only compile dahdi_dummy? I have cases where I dont need all the other modules compiled, no hardware cards in use. Just trying to save compile time on slower machines at install time. Jerry