在ubuntu10.10下编译u-boot-1.1.6问题

我用的是Ubuntu10.04 在建立交叉编译环境的时候遇到以下问题 : make: *** 没有规则可以创建目标“lib”。 停止。
这是怎么回事啊?

make[1]:正在离开目录 `/home/aron/crosstool-0.43/build/arm-linux/gcc-3.4.5-glibc-2.3.6/build-gcc-core/gcc'
+ cd ..
+ logresult gcc-core /home/aron/crosstool-0.43/build/arm-linux/gcc-3.4.5-glibc-2.3.6/gcc-core-prefix/bin/arm-linux-gcc
+ test -x /home/aron/crosstool-0.43/build/arm-linux/gcc-3.4.5-glibc-2.3.6/gcc-core-prefix/bin/arm-linux-gcc
+ echo crosstool: gcc-core built ok
crosstool: gcc-core built ok
+ echo Build glibc and linuxthreads
Build glibc and linuxthreads
+ mkdir -p build-glibc
+ cd build-glibc
+ echo
+ test '!' -f Makefile
+ test -d /home/aron/crosstool-0.43/build/arm-linux/gcc-3.4.5-glibc-2.3.6/glibc-2.3.6/nptl
+ libc_cv_forced_unwind=yes
+ libc_cv_c_cleanup=yes
+ export libc_cv_forced_unwind libc_cv_c_cleanup
+ BUILD_CC=gcc
+ CFLAGS='-O '
+ CC='arm-linux-gcc '
+ AR=arm-linux-ar
+ RANLIB=arm-linux-ranlib
+ /home/aron/crosstool-0.43/build/arm-linux/gcc-3.4.5-glibc-2.3.6/glibc-2.3.6/configure --prefix=/usr --build=i686-pc-linux-gnu --host=arm-linux --enable-kernel=2.4.3 --without-tls --without-__thread --without-cvs --disable-profile --disable-debug --without-gd --enable-shared --enable-add-ons=linuxthreads, --with-headers=/opt/crosstools/gcc-3.4.5-glibc-2.3.6/arm-linux/arm-linux/include
checking build system type... i686-pc-linux-gnu
checking host system type... arm-unknown-linux-gnu
running configure fragment for add-on linuxthreads
+ grep -l '^install-lib-all:' /home/aron/crosstool-0.43/build/arm-linux/gcc-3.4.5-glibc-2.3.6/glibc-2.3.6/Makerules
+ GLIBC_INITIAL_BUILD_RULE=lib
+ GLIBC_INITIAL_INSTALL_RULE='install-lib-all install-headers'
+ GLIBC_INSTALL_APPS_LATER=yes
+ make LD=arm-linux-ld RANLIB=arm-linux-ranlib lib
make: *** 没有规则可以创建目标“lib”。 停止。

作者: bayernolive   发布时间: 2011-05-18