Summary: | ASTERISK-27948: chan_phone fails to build: ixjuser.h removed in kernel >=4.17 | ||
Reporter: | Anthony Messina (amessina) | Labels: | |
Date Opened: | 2018-06-29 19:23:17 | Date Closed: | 2018-10-20 19:47:38 |
Priority: | Trivial | Regression? | |
Status: | Closed/Complete | Components: | Channels/chan_phone |
Versions: | 15.4.1 | Frequency of Occurrence | Constant |
Related Issues: | |||
Environment: | Fedora 28 x86_64, kernel-4.17.3 | Attachments: | |
Description: | chan_phone fails to build: ixjuser.h removed in kernel >=4.17 | ||
Comments: | By: Asterisk Team (asteriskteam) 2018-06-29 19:23:18.863-0500 Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution. A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report. Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process]. By: Kevin Harwell (kharwell) 2018-07-02 14:39:26.490-0500 Note, chan_phone is in [extended support|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Module+Support+States], thus support times will reflect that. As such, I'd highly recommend [submitting a patch|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process] if you are able. By: Anthony Messina (amessina) 2018-07-03 17:59:33.036-0500 Thank you Kevin, though I personally don't have the expertise to submit a patch for this and don't use chan_phone myself. I wanted to report this as I build Asterisk packages for use on Fedora Linux which just recently brought in the 4.17 line of kernels. By: Corey Farrell (coreyfarrell) 2018-10-08 23:13:58.277-0500 I'm confused, the configure script has a check for {{linux/ixjuser.h}}, if not found it is supposed to disable chan_phone. Is it possible you ran ./configure against kernel 4.16 then upgraded to >=4.17? Please try running ./configure with the new kernel installed. If this does not cause chan_phone to be disabled please attach the config.log and the full error message produced when chan_phone.c fails to compile. My system is running kernel 4.18.10 and menuselect will not allow chan_phone to be enabled (due to missing ixjuser.h). Also to expand on Kevin's comment, chan_phone is now deprecated in Asterisk 16+. It'll be deleted at some time in the future. By: Anthony Messina (amessina) 2018-10-20 19:46:43.367-0500 Corey, you are correct. After re-running ./configure and make menuconfig, chan_phone doesn't get included in the build. This issue can be closed. By: Anthony Messina (amessina) 2018-10-20 19:47:38.615-0500 Rerunning ./configure and make menuconfig detects that ixjuser.h is no longer available in kernel >= 4.17 |