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

Kirsty Tyerman (JIRA) noreply at issues.asterisk.org
Thu Nov 30 20:41:08 CST 2017


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

Kirsty Tyerman commented on DAHLIN-356:
---------------------------------------

I am currently running Fedora 27 (kernel:4.13.15-300.fc27.x86_64) and am having issues compiling dahdi-sources-4.11. I have applied patch v3 and have passed the dev_attrs error. It is now failing to compile with the following error:

In file included from ./include/linux/kobject.h:21:0,
                 from ./include/linux/module.h:17,
                 from /root/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/xpp/xbus-sysfs.c:24:
/root/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/xpp/xbus-sysfs.c:801:23: error: 'hwid_show' undeclared here (not in a function); did you mean 'type_show'?
 static DEVICE_ATTR_RO(hwid);


> 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