[asterisk-bugs] [JIRA] (ASTERISK-28250) build: Cross-compilation fails for target arm-linux-gnueabihf
Friendly Automation (JIRA)
noreply at issues.asterisk.org
Thu Jan 24 08:24:47 CST 2019
[ https://issues.asterisk.org/jira/browse/ASTERISK-28250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=246038#comment-246038 ]
Friendly Automation commented on ASTERISK-28250:
------------------------------------------------
Change 10917 merged by Joshua C. Colp:
build : Fix cross-compilation errors
[https://gerrit.asterisk.org/10917|https://gerrit.asterisk.org/10917]
> 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