[asterisk-bugs] [JIRA] (DAHLIN-356) Compilation fails on 4.13

Michael Phillips (JIRA) noreply at issues.asterisk.org
Tue Jun 26 09:30:54 CDT 2018


    [ https://issues.asterisk.org/jira/browse/DAHLIN-356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=243949#comment-243949 ] 

Michael Phillips edited comment on DAHLIN-356 at 6/26/18 9:29 AM:
------------------------------------------------------------------

Trying to build dahdi but getting multiple errors in xbus-sysfs.c:
error: reg_cmd_t {aka âstruct reg_cmdâ} has no member named h
error: RAM undeclared (first use in this function); did you mean READ?
error: addr_low undeclared (first use in this function); did you mean caddr_t?
and on and on...
System is Linux 4.16.15-300.fc28.x86_64



was (Author: michaelp at ccslink.com):
Trying to build dahdi but getting multiple errors in xbus-sysfs.c:
error: reg_cmd_t {aka âstruct reg_cmdâ} has no member named h
error: RAM undeclared (first use in this function); did you mean READ?
error: addr_low undeclared (first use in this function); did you mean caddr_t?
and on and on...

> Compilation fails on 4.13
> -------------------------
>
>                 Key: DAHLIN-356
>                 URL: https://issues.asterisk.org/jira/browse/DAHLIN-356
>             Project: DAHDI-Linux
>          Issue Type: Bug
>      Security Level: None
>         Environment: Kernel >= 4.13
>            Reporter: Jean-Denis Girard
>            Assignee: Shaun Ruffell
>            Severity: Blocker
>         Attachments: dev_attrs_groups.patch, dev_attrs_groups-v2.patch, dev_attrs_groups-v3.patch
>
>
> dev_attrs was removed from struct bus_type on kernel 4.13, need to convert to dev_groups, see http://lkml.iu.edu/hypermail/linux/kernel/1706.0/04578.html.
> I made a patch and sent a pull request on github.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list