[asterisk-bugs] [JIRA] (DAHLIN-346) Dahdi 2.10.1 fails to compile under kernel 4.0
Russ Meyerriecks (JIRA)
noreply at issues.asterisk.org
Fri May 29 11:01:32 CDT 2015
[ https://issues.asterisk.org/jira/browse/DAHLIN-346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=226398#comment-226398 ]
Russ Meyerriecks commented on DAHLIN-346:
-----------------------------------------
Thomas,
This issue is fixed on the current master branch of dahdi-linux. Until the next tarball release, you can work around this by compiling from the dahdi-linux repo.
https://wiki.asterisk.org/wiki/display/DAHDI/Quick+Start+From+Source
No need to update dahdi-tools for the time being as its current state may cause build issues on centos systems.
> Dahdi 2.10.1 fails to compile under kernel 4.0
> ----------------------------------------------
>
> Key: DAHLIN-346
> URL: https://issues.asterisk.org/jira/browse/DAHLIN-346
> Project: DAHDI-Linux
> Issue Type: Bug
> Security Level: None
> Components: dahdi (the module)
> Affects Versions: 2.10.1
> Environment: Fedora 21, kernel 4.0.4
> Reporter: Thomas B. Clark
> Assignee: Russ Meyerriecks
>
> Dahdi compile fails with numerous errors:
> [root at clark dahdi-linux-complete-2.10.1+2.10.1]# make all
> make -C linux all
> make[1]: Entering directory '/usr/local/src/asterisk/dahdi-linux-complete-2.10.1+2.10.1/linux'
> make -C drivers/dahdi/firmware firmware-loaders
> make[2]: Entering directory '/usr/local/src/asterisk/dahdi-linux-complete-2.10.1+2.10.1/linux/drivers/dahdi/firmware'
> make[2]: Leaving directory '/usr/local/src/asterisk/dahdi-linux-complete-2.10.1+2.10.1/linux/drivers/dahdi/firmware'
> make -C /lib/modules/4.0.4-201.fc21.x86_64/build SUBDIRS=/usr/local/src/asterisk/dahdi-linux-complete-2.10.1+2.10.1/linux/drivers/dahdi DAHDI_INCLUDE=/usr/local/src/asterisk/dahdi-linux-complete-2.10.1+2.10.1/linux/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
> make[2]: Entering directory '/usr/src/kernels/4.0.4-201.fc21.x86_64'
> CC [M] /usr/local/src/asterisk/dahdi-linux-complete-2.10.1+2.10.1/linux/drivers/dahdi/dahdi-base.o
> /usr/local/src/asterisk/dahdi-linux-complete-2.10.1+2.10.1/linux/drivers/dahdi/dahdi-base.c: In function ‘set_spanno_and_basechan’:
> /usr/local/src/asterisk/dahdi-linux-complete-2.10.1+2.10.1/linux/drivers/dahdi/dahdi-base.c:7056:2: error: void value not ignored as it ought to be
> dahdi_dev_dbg(ASSIGN, span_device(span),
> ^
> /usr/local/src/asterisk/dahdi-linux-complete-2.10.1+2.10.1/linux/drivers/dahdi/dahdi-base.c: In function ‘_assign_spanno_and_basechan’:
> /usr/local/src/asterisk/dahdi-linux-complete-2.10.1+2.10.1/linux/drivers/dahdi/dahdi-base.c:7080:2: error: void value not ignored as it ought to be
> dahdi_dev_dbg(ASSIGN, span_device(span),
> ^
> /usr/local/src/asterisk/dahdi-linux-complete-2.10.1+2.10.1/linux/drivers/dahdi/dahdi-base.c:7100:2: error: void value not ignored as it ought to be
> dahdi_dev_dbg(ASSIGN, span_device(span),
> ^
> /usr/local/src/asterisk/dahdi-linux-complete-2.10.1+2.10.1/linux/drivers/dahdi/dahdi-base.c: In function ‘_check_spanno_and_basechan’:
> /usr/local/src/asterisk/dahdi-linux-complete-2.10.1+2.10.1/linux/drivers/dahdi/dahdi-base.c:7150:2: error: void value not ignored as it ought to be
> dahdi_dev_dbg(ASSIGN, span_device(span),
> ^
> /usr/local/src/asterisk/dahdi-linux-complete-2.10.1+2.10.1/linux/drivers/dahdi/dahdi-base.c:7156:3: error: void value not ignored as it ought to be
> dahdi_dev_dbg(ASSIGN, span_device(span),
> ^
> /usr/local/src/asterisk/dahdi-linux-complete-2.10.1+2.10.1/linux/drivers/dahdi/dahdi-base.c:7184:2: error: void value not ignored as it ought to be
> dahdi_dev_dbg(ASSIGN, span_device(span),
> ^
> scripts/Makefile.build:258: recipe for target '/usr/local/src/asterisk/dahdi-linux-complete-2.10.1+2.10.1/linux/drivers/dahdi/dahdi-base.o' failed
> make[3]: *** [/usr/local/src/asterisk/dahdi-linux-complete-2.10.1+2.10.1/linux/drivers/dahdi/dahdi-base.o] Error 1
> Makefile:1394: recipe for target '_module_/usr/local/src/asterisk/dahdi-linux-complete-2.10.1+2.10.1/linux/drivers/dahdi' failed
> make[2]: *** [_module_/usr/local/src/asterisk/dahdi-linux-complete-2.10.1+2.10.1/linux/drivers/dahdi] Error 2
> make[2]: Leaving directory '/usr/src/kernels/4.0.4-201.fc21.x86_64'
> Makefile:74: recipe for target 'modules' failed
> make[1]: *** [modules] Error 2
> make[1]: Leaving directory '/usr/local/src/asterisk/dahdi-linux-complete-2.10.1+2.10.1/linux'
> Makefile:9: recipe for target 'all' failed
> make: *** [all] Error 2
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list