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

Alex Regan (JIRA) noreply at issues.asterisk.org
Fri Apr 26 08:34:47 CDT 2019


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

Alex Regan edited comment on DAHLIN-368 at 4/26/19 8:33 AM:
------------------------------------------------------------

This still fails on my fedora29 5.0.9 system

root at orion dahdi-for-5.0]# uname -a
Linux orion.inside.guardiandigital.com 5.0.9-200.fc29.x86_64 #1 SMP Mon Apr 22 00:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
[root at orion ~]# git clone git://git.asterisk.org/team/sruffell/dahdi-linux dahdi-for-5.0
Cloning into 'dahdi-for-5.0'...
remote: Counting objects: 20639, done.
remote: Compressing objects: 100% (3910/3910), done.
remote: Total 20639 (delta 13631), reused 20639 (delta 13631)
Receiving objects: 100% (20639/20639), 21.32 MiB | 2.40 MiB/s, done.
Resolving deltas: 100% (13631/13631), done.

make install:
...
  CC [M]  /root/dahdi-for-5.0/drivers/dahdi/oct612x/oct612x-user.o
/root/dahdi-for-5.0/drivers/dahdi/oct612x/oct612x-user.c: In function ‘Oct6100UserGetTime’:
/root/dahdi-for-5.0/drivers/dahdi/oct612x/oct612x-user.c:38:2: error: implicit declaration of function ‘do_gettimeofday’; did you mean ‘do_settimeofday64’? [-Werror=implicit-function-declaration]
  do_gettimeofday(&tv);
  ^~~~~~~~~~~~~~~
  do_settimeofday64




was (Author: gossamer):
This still fails on my fedora29 5.0.9 system

root at orion dahdi-for-5.0]# uname -a
Linux orion.inside.guardiandigital.com 5.0.9-200.fc29.x86_64 #1 SMP Mon Apr 22 00:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
[root at orion dahdi-for-5.0]# cd ..
[root at orion ~]# rm -rf dahdi-for-5.0
[root at orion ~]# git clone git://git.asterisk.org/team/sruffell/dahdi-linux dahdi-for-5.0
Cloning into 'dahdi-for-5.0'...
remote: Counting objects: 20639, done.
remote: Compressing objects: 100% (3910/3910), done.
remote: Total 20639 (delta 13631), reused 20639 (delta 13631)
Receiving objects: 100% (20639/20639), 21.32 MiB | 2.40 MiB/s, done.
Resolving deltas: 100% (13631/13631), done.

make install:
...
  CC [M]  /root/dahdi-for-5.0/drivers/dahdi/oct612x/oct612x-user.o
/root/dahdi-for-5.0/drivers/dahdi/oct612x/oct612x-user.c: In function ‘Oct6100UserGetTime’:
/root/dahdi-for-5.0/drivers/dahdi/oct612x/oct612x-user.c:38:2: error: implicit declaration of function ‘do_gettimeofday’; did you mean ‘do_settimeofday64’? [-Werror=implicit-function-declaration]
  do_gettimeofday(&tv);
  ^~~~~~~~~~~~~~~
  do_settimeofday64



> 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