|
|
我从昨晚到现在一直被一个问题给绊住了,请各位给予帮助。
问题:在第六章6.11 安装glibc-2.3.4时,
root:/sources/glibc-build# ../glibc-2.3.4/configure --prefix=/usr \
> --disable-profile --enable-add-ons \
> --enable-kernel=2.6.0 --libexecdir=/usr/lib/glibc
这一步在运行时提示如下错误:
。。。。。。
checking for a BSD-compatible install... /tools/bin/install -c
checking whether ln -s works... yes
checking for gcc... gcc
checking for suffix of object files... configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
在config.log中:
。。。。。。
configure:2644: gcc -V </dev/null >&5
../glibc-2.3.4/configure: line 2645: /tools/bin/gcc: No such file or directory
configure:2647: $? = 127
configure:2651: checking for suffix of object files
configure:2672: gcc -c conftest.c >&5
../glibc-2.3.4/configure: line 2673: /tools/bin/gcc: No such file or directory
configure:2675: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "GNU C Library"
| #define PACKAGE_TARNAME "c-library"
| #define PACKAGE_VERSION "(see version.h)"
| #define PACKAGE_STRING "GNU C Library (see version.h)"
| #define PACKAGE_BUGREPORT "glibc"
| #define USE_REGPARMS 1
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2689: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
盼回复!!! |
|