在ubuntu10.10下编译u-boot-1.1.6问题
时间:2011-05-18
来源:互联网
我用的是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”。 停止。
这是怎么回事啊?
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
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28