[asterisk-users] DAHDI-linux 2.7 compile error with CONFIG_DAHDI_NET enabled

Dave Fullerton dfullertasterisk at shorelinecontainer.com
Mon Jun 10 10:33:16 CDT 2013





Not sure how I should officially report this, but I'm getting a compile 
error with DAHDI-linux 2.7 when I define CONFIG_DAHDI_NET in 
include/dahdi/dahdi_config.h. I am able to compile successfully when I 
leave it undefined, but I need to be able to use the network support.

<snipped>
/oct6100_api/oct6100_tsst.o
   AR      /tmp/dahdi-linux-2.7.0-net/drivers/dahdi/oct612x/lib.a
   Building modules, stage 2.
   MODPOST 0 modules
make[1]: Leaving directory `/usr/src/linux-3.4.45'
make -C /lib/modules/3.4.45-smp/build 
SUBDIRS=/tmp/dahdi-linux-2.7.0-net/drivers/dahdi 
DAHDI_INCLUDE=/tmp/dahdi-linux-2.7.0-net/include DAHDI_MODULES_EXTRA=" " 
HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[1]: Entering directory `/usr/src/linux-3.4.45'
   CC [M]  /tmp/dahdi-linux-2.7.0-net/drivers/dahdi/dahdi-base.o
/tmp/dahdi-linux-2.7.0-net/drivers/dahdi/dahdi-base.c: In function 
'dahdi_net_open':
/tmp/dahdi-linux-2.7.0-net/drivers/dahdi/dahdi-base.c:1967:4: error: 
'struct dahdi_chan' has no member named 'rxbufpolicy'
make[2]: *** [/tmp/dahdi-linux-2.7.0-net/drivers/dahdi/dahdi-base.o] Error 1
make[1]: *** [_module_/tmp/dahdi-linux-2.7.0-net/drivers/dahdi] Error 2
make[1]: Leaving directory `/usr/src/linux-3.4.45'
make: *** [modules] Error 2

-Dave




More information about the asterisk-users mailing list