[asterisk-bugs] [JIRA] (ASTERISK-28250) build: Cross-compilation fails for target arm-linux-gnueabihf

Jean Aunis - Prescom (JIRA) noreply at issues.asterisk.org
Wed Jan 23 05:38:47 CST 2019


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

Jean Aunis - Prescom commented on ASTERISK-28250:
-------------------------------------------------

I can submit a patch fixing the configuration of pjsip and jansson, but I'm not sure of the proper way to fix the first point : it is a known limitation of AC_CHECK_FILES macro, and I don't see any way to get around it.
Would it be acceptable not to check for the presence of hrirs.h when cross-compiling ?

> build: Cross-compilation fails for target arm-linux-gnueabihf
> -------------------------------------------------------------
>
>                 Key: ASTERISK-28250
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28250
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/BuildSystem
>    Affects Versions: 16.1.1
>         Environment: Centos 7.4 and Ubuntu 18.04
>            Reporter: Jean Aunis - Prescom
>            Assignee: Jean Aunis - Prescom
>            Severity: Minor
>              Labels: pjsip
>
> Cross-compiling Asterisk for the architecture arm-linux-gnueabihf does not work out of the box. The configuration is done with these options:
> {code}
> ./configure --host=arm-linux-gnueabihf --with-jansson-bundled --disable-xmldoc
> {code}
> The following operations fail :
> - the configure script fails when checking for the existence of hrirs.h
> - bundled pjproject and jansson are not properly configured.
> These modifications to configure.ac solved the last issue :
> {code}
> -               JANSSON_CONFIGURE_OPTS+=" --host=$host"
> +               JANSSON_CONFIGURE_OPTS+=" --host=$host_alias"
> ...
> -               PJPROJECT_CONFIGURE_OPTS+=" --host=$host"
> +               PJPROJECT_CONFIGURE_OPTS+=" --host=$host_alias"
> {code}



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



More information about the asterisk-bugs mailing list