[asterisk-users] dahdi 2.10.1 build fails

sean darcy seandarcy2 at gmail.com
Mon Jun 1 15:24:31 CDT 2015


On fedora 21, trying to build dahdi for kernel 4.0.4.

gcc-4.9.2-6.fc21.x86_64

make -C /lib/modules/4.0.4-202.fc21.x86_64/build 
SUBDIRS=/home/asterisk/rpmbuild/BUILD/dahdi-linux-2.10.1/drivers/dahdi 
DAHDI_INCLUDE=/home/asterisk/rpmbuild/BUILD/dahdi-linux-2.10.1/include 
DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[1]: Entering directory '/usr/src/kernels/4.0.4-202.fc21.x86_64'
   CC [M] 
/home/asterisk/rpmbuild/BUILD/dahdi-linux-2.10.1/drivers/dahdi/dahdi-base.o
/home/asterisk/rpmbuild/BUILD/dahdi-linux-2.10.1/drivers/dahdi/dahdi-base.c: 
In function 'set_spanno_and_basechan':
/home/asterisk/rpmbuild/BUILD/dahdi-linux-2.10.1/drivers/dahdi/dahdi-base.c:7056:2: 
error: void value not ignored as it ought to be
   dahdi_dev_dbg(ASSIGN, span_device(span),
   ^
/home/asterisk/rpmbuild/BUILD/dahdi-linux-2.10.1/drivers/dahdi/dahdi-base.c: 
In function '_assign_spanno_and_basechan':
/home/asterisk/rpmbuild/BUILD/dahdi-linux-2.10.1/drivers/dahdi/dahdi-base.c:7080:2: 
error: void value not ignored as it ought to be
   dahdi_dev_dbg(ASSIGN, span_device(span),
   ^
/home/asterisk/rpmbuild/BUILD/dahdi-linux-2.10.1/drivers/dahdi/dahdi-base.c:7100:2: 
error: void value not ignored as it ought to be
   dahdi_dev_dbg(ASSIGN, span_device(span),
   ^
/home/asterisk/rpmbuild/BUILD/dahdi-linux-2.10.1/drivers/dahdi/dahdi-base.c: 
In function '_check_spanno_and_basechan':
/home/asterisk/rpmbuild/BUILD/dahdi-linux-2.10.1/drivers/dahdi/dahdi-base.c:7150:2: 
error: void value not ignored as it ought to be
   dahdi_dev_dbg(ASSIGN, span_device(span),
   ^
/home/asterisk/rpmbuild/BUILD/dahdi-linux-2.10.1/drivers/dahdi/dahdi-base.c:7156:3: 
error: void value not ignored as it ought to be
    dahdi_dev_dbg(ASSIGN, span_device(span),
    ^
/home/asterisk/rpmbuild/BUILD/dahdi-linux-2.10.1/drivers/dahdi/dahdi-base.c:7184:2: 
error: void value not ignored as it ought to be
   dahdi_dev_dbg(ASSIGN, span_device(span),
   ^




More information about the asterisk-users mailing list