Error while building gcc: Link tests are not allowed after GCC_NO_EXECUTABLES

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm trying to build GCC 4.6.3 but I get the following error when I invoke make:

checking for library containing strerror... configure: error: Link
tests are not allowed after GCC_NO_EXECUTABLES.
make[2]: *** [configure-stage2-libiberty] Error 1
make[2]: Leaving directory `/media/LFS/build/gcc'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/media/LFS/build/gcc'
make: *** [all] Error 2

I tried to configure with "--with-system-zlib" but got the same error.

The zlib config.log has this:

conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:6654: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "zlib"
| #define VERSION "1.1.4"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>

What's going here?
-- 
Anmol Sarma


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux