[asterisk-bugs] [JIRA] (DAHTOOL-77) 'DAHDI linux complete' does not compile

Malcolm Davenport (JIRA) noreply at issues.asterisk.org
Mon May 1 15:53:57 CDT 2017


     [ https://issues.asterisk.org/jira/browse/DAHTOOL-77?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Malcolm Davenport updated DAHTOOL-77:
-------------------------------------

    Assignee:     (was: Wendell Thompson)

> 'DAHDI linux complete' does not compile
> ---------------------------------------
>
>                 Key: DAHTOOL-77
>                 URL: https://issues.asterisk.org/jira/browse/DAHTOOL-77
>             Project: DAHDI-Tools
>          Issue Type: Bug
>      Security Level: None
>          Components: General
>    Affects Versions: 2.10.0
>         Environment: ARCH linux, Kernel 4.10.11-1-ARCH
>            Reporter: Christian Hesse
>
> "DAHDI linux complete" package as available on the ASTERISK homepage (version 2.11.1) stops compiling with errors when building the tools:
> --- SNIP ---
>   CHECK    xpp_sync
>   CHECK    lsdahdi
>   CHECK    xpp_blink
>   CHECK    dahdi_genconf
>   CHECK    dahdi_hardware
>   CHECK    twinstar
> make[4]: Leaving directory '/home/user/asterisk/dahdi-linux-complete-2.11.1+2.11.1/tools/xpp'
> make[3]: Leaving directory '/home/user/asterisk/dahdi-linux-complete-2.11.1+2.11.1/tools/xpp'
> Making all in doc
> make[3]: Entering directory '/home/user/asterisk/dahdi-linux-complete-2.11.1+2.11.1/tools/doc'
> make[3]: Nothing to be done for 'all'.
> make[3]: Leaving directory '/home/user/asterisk/dahdi-linux-complete-2.11.1+2.11.1/tools/doc'
> Making all in hotplug
> make[3]: Entering directory '/home/user/asterisk/dahdi-linux-complete-2.11.1+2.11.1/tools/hotplug'
> make[3]: Nothing to be done for 'all'.
> make[3]: Leaving directory '/home/user/asterisk/dahdi-linux-complete-2.11.1+2.11.1/tools/hotplug'
> Making all in ppp
> make[3]: Entering directory '/home/user/asterisk/dahdi-linux-complete-2.11.1+2.11.1/tools/ppp'
>   CC       dahdi_la-dahdi.lo
> dahdi.c:46:24: fatal error: dahdi/user.h: No such file or directory
>  #include <dahdi/user.h>
>                         ^
> compilation terminated.
> make[3]: *** [Makefile:481: dahdi_la-dahdi.lo] Error 1
> make[3]: Leaving directory '/home/user/asterisk/dahdi-linux-complete-2.11.1+2.11.1/tools/ppp'
> make[2]: *** [Makefile:1113: all-recursive] Error 1
> make[2]: Leaving directory '/home/user/asterisk/dahdi-linux-complete-2.11.1+2.11.1/tools'
> make[1]: *** [Makefile:662: all] Error 2
> make[1]: Leaving directory '/home/user/asterisk/dahdi-linux-complete-2.11.1+2.11.1/tools'
> make: *** [Makefile:11: all] Error 2
> --- SNAP ---
> Reason is, that the autoconf framework does not handle well relative paths given in the "--with-dahdi" option, which is specified in the top-level Makefile.
> To work around, change in the top level Makefile the line
> (cd tools && [ -f config.status ] || ./configure --with-dahdi=../linux)
> to
> (cd tools && [ -f config.status ] || ./configure --with-dahdi=/put/absolute/path/here/linux)
> for not having relative paths but absolute paths.
> Of course this does not solve this issue.
> P.S.: JIRE does not know of version 2.11.1, so I had to falsely state "2.10.0" as affected version.



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



More information about the asterisk-bugs mailing list