[asterisk-bugs] [JIRA] (ASTERISK-23184) Cosmetic error when cross-compiling as ./configure calls ./menuselect/configure

abelbeck (JIRA) noreply at issues.asterisk.org
Fri Jan 24 18:03:03 CST 2014


abelbeck created ASTERISK-23184:
-----------------------------------

             Summary: 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: 12.0.0, 11.7.0, 1.8.25.0
         Environment: Building AstLinux 1.x (via Buildroot)
            Reporter: abelbeck
            Severity: Minor


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