[asterisk-bugs] [JIRA] (ASTERISK-23184) Cosmetic error when cross-compiling as ./configure calls ./menuselect/configure
Rusty Newton (JIRA)
noreply at issues.asterisk.org
Tue Jan 28 18:37:03 CST 2014
[ https://issues.asterisk.org/jira/browse/ASTERISK-23184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=214514#comment-214514 ]
Rusty Newton commented on ASTERISK-23184:
-----------------------------------------
Thanks. Patches clean against trunk as well.
> 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
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list