Summary: | ASTERISK-09497: menuselect: configuration error: C compiler cannot create executables | ||
Reporter: | Ovidiu Sas (ovi) | Labels: | |
Date Opened: | 2007-05-23 12:45:05 | Date Closed: | 2007-05-23 13:43:32 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/BuildSystem |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | I was trying to add asterisk 1.4 to the openembedded repository, but it is failing to configure properly for menuselect. It seems that the cross-compile options are passed to the native host compiler. from menuselect/config.log: =========================== configure:2190: checking for C compiler default output file name configure:2217: cc -isystem/home/admin/slug-3.10/releases/slugos-3.10-beta/openslug-nslu2.tmp/staging/armeb-linux/include -Os -fomit-frame-pointer -frename-registers -fno-unroll-loops -fno-inline-functions -fweb -funit-at-a-time -isystem/home/admin/slug-3.10/releases/slugos-3.10-beta/openslug-nslu2.tmp/staging/armeb-linux/include -L/home/admin/slug-3.10/releases/slugos-3.10-beta/openslug-nslu2.tmp/staging/armeb-linux/lib -Wl,-rpath-link,/home/admin/slug-3.10/releases/slugos-3.10-beta/openslug-nslu2.tmp/staging/armeb-linux/lib -Wl,-O1 conftest.c >&5 cc1: error: unrecognized option `-fweb' cc1: error: unrecognized option `-funit-at-a-time' configure:2220: $? = 1 configure:2258: result: configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2265: error: C compiler cannot create executables | ||
Comments: | By: Ovidiu Sas (ovi) 2007-05-23 12:50:23 Ooops ... This is a duplicate of 0009784 It should be closed. |