[asterisk-bugs] [JIRA] (ASTERISK-28250) Cross-compilation fails for target arm-linux-gnueabihf
Jean Aunis - Prescom (JIRA)
noreply at issues.asterisk.org
Mon Jan 21 01:43:47 CST 2019
Jean Aunis - Prescom created ASTERISK-28250:
-----------------------------------------------
Summary: 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
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