[asterisk-bugs] [JIRA] (DAHLIN-368) DAHDI fails to build against kernel 5.0

Anthony Messina (JIRA) noreply at issues.asterisk.org
Mon Mar 25 08:46:47 CDT 2019


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

Anthony Messina commented on DAHLIN-368:
----------------------------------------

Shaun, since you're working on this. Building with your for-5.0 branch on Fedora 29:

{noformat}
  CC [M]  /builddir/build/BUILD/dahdi-linux-kmod-3.0.0/_kmod_build_5.0.3-200.fc29.x86_64/drivers/dahdi/xpp/xbus-core.o
BUILDSTDERR: /builddir/build/BUILD/dahdi-linux-kmod-3.0.0/_kmod_build_5.0.3-200.fc29.x86_64/drivers/dahdi/xpp/xbus-core.c: In function 'xframe_init':
BUILDSTDERR: /builddir/build/BUILD/dahdi-linux-kmod-3.0.0/_kmod_build_5.0.3-200.fc29.x86_64/drivers/dahdi/xpp/xbus-core.c:262:2: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration]
BUILDSTDERR:   do_gettimeofday(&xframe->tv_created);
BUILDSTDERR:   ^~~~~~~~~~~~~~~
BUILDSTDERR:   do_settimeofday64
BUILDSTDERR: cc1: some warnings being treated as errors
BUILDSTDERR: make[3]: *** [scripts/Makefile.build:277: /builddir/build/BUILD/dahdi-linux-kmod-3.0.0/_kmod_build_5.0.3-200.fc29.x86_64/drivers/dahdi/xpp/xbus-core.o] Error 1
BUILDSTDERR: make[2]: *** [scripts/Makefile.build:492: /builddir/build/BUILD/dahdi-linux-kmod-3.0.0/_kmod_build_5.0.3-200.fc29.x86_64/drivers/dahdi/xpp] Error 2
BUILDSTDERR: make[2]: *** Waiting for unfinished jobs....
{noformat}

> DAHDI fails to build against kernel 5.0
> ---------------------------------------
>
>                 Key: DAHLIN-368
>                 URL: https://issues.asterisk.org/jira/browse/DAHLIN-368
>             Project: DAHDI-Linux
>          Issue Type: Bug
>      Security Level: None
>          Components: dahdi (the module)
>    Affects Versions: 3.0.0
>            Reporter: Shaun Ruffell
>            Assignee: Keith Morgan
>
> Linux kernel 5.0 has changed the timekeeping interfaces to fix the 2038 problem.
> I believe the drivers should be standardized on ktime for internal time, but before making any changes to the app drivers, I was looking for some early feedback on the proposed approach.
> The work is currently at http://git.asterisk.org/gitweb/?p=team/sruffell/dahdi-linux.git;a=shortlog;h=refs/heads/for-5.0 if anyone has any comments.



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



More information about the asterisk-bugs mailing list