[asterisk-bugs] [JIRA] (ASTERISK-23184) [patch] Cosmetic error when cross-compiling as ./configure calls ./menuselect/configure
Joshua Colp (JIRA)
noreply at issues.asterisk.org
Mon Dec 18 10:54:07 CST 2017
[ https://issues.asterisk.org/jira/browse/ASTERISK-23184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joshua Colp updated ASTERISK-23184:
-----------------------------------
Affects Version/s: 13.18.4
> [patch] Cosmetic error when cross-compiling as ./configure calls ./menuselect/configure
> ---------------------------------------------------------------------------------------
>
> Key: ASTERISK-23184
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-23184
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: General
> Affects Versions: 1.8.25.0, 11.7.0, 12.0.0, 13.18.4
> Environment: Building AstLinux 1.x (via Buildroot)
> Reporter: abelbeck
> Severity: Minor
> Attachments: asterisk-11-configure-cross-fix.patch, asterisk-1.8-configure-cross-fix.patch
>
>
> For 3+ years revision 290102:
> http://svnview.digium.com/svn/asterisk?view=revision&revision=290102
> adds configure.ac logic to run ./menuselect/configure .
> The problem is while cross-compiling CC is not properly set for the "host" compilation of menuselect when called via the main ./configure script.
> The error is of this form, near the very end, just before the Asterisk logo...
> --
> checking for gcc... /home/user/astlinux/1.0/output/host/usr/bin/i586-unknown-linux-gnu-gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... configure: error: in `/home/user/astlinux/1.0/output/build/asterisk-1.8.25.0/menuselect':
> configure: error: cannot run C compiled programs.
> If you meant to cross compile, use `--host'.
> See `config.log' for more details.
> --
> Fortunately the above error is not fatal and menuselect/Makefile will again call ./menuselect/configure when called using the "host" make.
> The offered 'cleanup' is to skip this configure.ac section when cross-compiling.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list