[Home]

Summary:DAHLIN-00347: dahdi-linux-complete-2.10.2+2.10.2 won't compile under fedora 22
Reporter:Jean-Louis Noel (jln17)Labels:
Date Opened:2015-06-17 06:02:00Date Closed:2019-05-31 10:39:47
Priority:MajorRegression?
Status:Closed/CompleteComponents:
Versions:2.10.1 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Fedora 22Attachments:
Description:mpptalk.c:515:28: error: logical not is only applied to the left hand side of co
mparison [-Werror=logical-not-parentheses]
 if(!astribank->burn_state == BURN_STATE_STARTED) {
                           ^
cc1: all warnings being treated as errors
<builtin>: recipe for target 'mpptalk.o' failed
make[2]: *** [mpptalk.o] Error 1
make[2]: Leaving directory '/usr/src/phones/dahdi-linux-complete-2.10.2+2.10.2/t
ools/xpp'
Makefile:138: recipe for target 'utils-subdirs' failed
Comments:By: Russ Meyerriecks (rmeyerriecks) 2015-06-17 11:23:52.549-0500

Looks like the logical-not-parenthesis warning was added in gcc 5.

By: Jean-Louis Noel (jln17) 2015-06-17 13:40:16.717-0500

Yes, there is a problem with the dahdi script too.
I had to comment out:

; Source function library.
; if [ $system = redhat ]; then
;    . $initdir/functions || exit 0
; fi

otherwise it wouldn't work properly.

By: Russ Meyerriecks (rmeyerriecks) 2015-06-23 10:23:31.229-0500

I've pushed a fix for this out to the 2.10.y branch in dahdi-tools if you would like to test. Here's a quick rundown of dahdi from source if you aren't familiar.

https://wiki.asterisk.org/wiki/display/DAHDI/Quick+Start+From+Source

I'll look towards making a 2.10.2.1 release soon.

By: Tzafrir Cohen (tzafrir) 2017-03-27 03:57:58.253-0500

Any news? I believe this issue was fixed.