OK, I know it's only just out today but this is what I get when compiling dahdi-linux. make -C drivers/dahdi/firmware firmware-loaders make[1]: Entering directory `/usr/src/dahdi-linux-2.2.0.2/drivers/dahdi/firmware' make[1]: Leaving directory `/usr/src/dahdi-linux-2.2.0.2/drivers/dahdi/firmware' make -C /lib/modules/2.6.31.5-0.1-default/build SUBDIRS=/usr/src/dahdi-linux-2.2.0.2/drivers/dahdi DAHDI_INCLUDE=/usr/src/dahdi-linux-2.2.0.2/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m make[1]: Entering directory `/usr/src/linux-2.6.31.5-0.1-obj/x86_64/default' make -C ../../../linux-2.6.31.5-0.1 O=/usr/src/linux-2.6.31.5-0.1-obj/x86_64/default/. modules CC [M] /usr/src/dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp/base.o /usr/src/dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp/base.c: In function ?wctc4xxp_net_register?: /usr/src/dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp/base.c:776: error: ?struct net_device? has no member named ?set_multicast_list? /usr/src/dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp/base.c:777: error: ?struct net_device? has no member named ?open? /usr/src/dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp/base.c:778: error: ?struct net_device? has no member named ?stop? /usr/src/dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp/base.c:779: error: ?struct net_device? has no member named ?hard_start_xmit? /usr/src/dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp/base.c:780: error: ?struct net_device? has no member named ?get_stats? /usr/src/dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp/base.c:781: error: ?struct net_device? has no member named ?do_ioctl? /usr/src/dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp/base.c: In function ?wctc4xxp_init_one?: /usr/src/dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp/base.c:3460: warning: ?DMA_nnBIT_MASK? is deprecated make[5]: *** [/usr/src/dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp/base.o] Error 1 make[4]: *** [/usr/src/dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp] Error 2 make[3]: *** [_module_/usr/src/dahdi-linux-2.2.0.2/drivers/dahdi] Error 2 make[2]: *** [sub-make] Error 2 make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.31.5-0.1-obj/x86_64/default' make: *** [modules] Error 2 But actually I only want dahdi dummy at the moment where could I modify the Makefile to just do this? Dave Cotton -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 6682 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20091113/3274c0d5/attachment.bin
On 11/13/2009 01:11 PM, Dave Cotton wrote:> OK, I know it's only just out today but this is what I get when > compiling dahdi-linux. > > make -C drivers/dahdi/firmware firmware-loaders > make[1]: Entering directory > `/usr/src/dahdi-linux-2.2.0.2/drivers/dahdi/firmware' > make[1]: Leaving directory > `/usr/src/dahdi-linux-2.2.0.2/drivers/dahdi/firmware' > make -C /lib/modules/2.6.31.5-0.1-default/build > SUBDIRS=/usr/src/dahdi-linux-2.2.0.2/drivers/dahdi > DAHDI_INCLUDE=/usr/src/dahdi-linux-2.2.0.2/include DAHDI_MODULES_EXTRA=" > " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m > make[1]: Entering directory `/usr/src/linux-2.6.31.5-0.1-obj/x86_64/default' > make -C ../../../linux-2.6.31.5-0.1 > O=/usr/src/linux-2.6.31.5-0.1-obj/x86_64/default/. modules > CC [M] /usr/src/dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp/base.o > /usr/src/dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp/base.c: In function > ?wctc4xxp_net_register?: > /usr/src/dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp/base.c:776: error: > ?struct net_device? has no member named ?set_multicast_list? > /usr/src/dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp/base.c:777: error: > ?struct net_device? has no member named ?open? > /usr/src/dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp/base.c:778: error: > ?struct net_device? has no member named ?stop? > /usr/src/dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp/base.c:779: error: > ?struct net_device? has no member named ?hard_start_xmit? > /usr/src/dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp/base.c:780: error: > ?struct net_device? has no member named ?get_stats? > /usr/src/dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp/base.c:781: error: > ?struct net_device? has no member named ?do_ioctl? > /usr/src/dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp/base.c: In function > ?wctc4xxp_init_one?: > /usr/src/dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp/base.c:3460: > warning: ?DMA_nnBIT_MASK? is deprecated > make[5]: *** > [/usr/src/dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp/base.o] Error 1 > make[4]: *** [/usr/src/dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp] Error 2 > make[3]: *** [_module_/usr/src/dahdi-linux-2.2.0.2/drivers/dahdi] Error 2 > make[2]: *** [sub-make] Error 2 > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/usr/src/linux-2.6.31.5-0.1-obj/x86_64/default' > make: *** [modules] Error 2 > > But actually I only want dahdi dummy at the moment where could I modify > the Makefile to just do this?The easiest thing to do is comment out the following line in drivers/dahdi/Kbuild. obj-$(DAHDI_BUILD_ALL)$(CONFIG_DAHDI_WCTC4XXP) += wctc4xxp/ Or you can grab the head of the 2.2 branch or trunk which has all the build issues for recent kernels resolved. Hopefully soon there will be a 2.2.1 release but it takes some time to run through the regression tests. Cheers, Shaun -- Shaun Ruffell Digium, Inc. | Linux Kernel Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at: www.digium.com & www.asterisk.org
On 13/11/09 20:42, Shaun Ruffell wrote:> The easiest thing to do is comment out the following line in > drivers/dahdi/Kbuild. > > obj-$(DAHDI_BUILD_ALL)$(CONFIG_DAHDI_WCTC4XXP) += wctc4xxp/ > > Or you can grab the head of the 2.2 branch or trunk which has all the > build issues for recent kernels resolved. Hopefully soon there will be > a 2.2.1 release but it takes some time to run through the regression tests.Ok thanks that got it compiled but then this appeared Loading DAHDI hardware modules: WARNING: All config files need .conf: /etc/modprobe.d/dahdi.blacklist, it will be ignored in a future release. WARNING: All config files need .conf: /etc/modprobe.d/options, it will be ignored in a future release. WARNING: All config files need .conf: /etc/modprobe.d/dahdi, it will be ignored in a future release. The files need an .conf extension now. Still, biggest problem is asterisk does not get any further than *CLI> == Using SIP RTP TOS bits 184 == Using SIP RTP CoS mark 5 == Using SIP VRTP TOS bits 136 == Using SIP VRTP CoS mark 6 I look farther tomorrow. Dave Cotton -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 6682 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20091113/68bf98cb/attachment.bin