分页: 1 / 1

ubuntu linux软件环境构建问题

发表于 : 2009-04-10 11:53
zhixian
各位大侠,我是linux新手,我完全按照《嵌入式Linux应用开发完全手册》书中第二章“嵌入式linux开发环境构建”一步一步操作。但执行最后的编译、安装工具链即运行demo-arm-softfloat.sh时出现以后错误信息,不知是什么原因?实在困惑,谢谢各位的指点!不胜感激!很可惜不能该书的网站www.100ask.net无法访问,无法向作者请教,实在遗憾。不知以下信息是如何造成的,谢谢!

root@shen-desktop:/work/tools/create_crosstools/crosstool-0.43# ./demo-arm-softfloat.sh
+ TARBALLS_DIR=/work/tools/create_crosstools/src_gcc_glibc
+ RESULT_TOP=/work/tools
+ export TARBALLS_DIR RESULT_TOP
+ GCC_LANGUAGES=c,c++
+ export GCC_LANGUAGES
+ mkdir -p /work/tools
+ cat arm-softfloat.dat gcc-3.4.5-glibc-2.3.6.dat
+ eval KERNELCONFIG=`pwd`/arm.config TARGET="arm-linux" TARGET_CFLAGS="-O" GCC_EXTRA_CONFIG="--with-float=soft" GLIBC_EXTRA_CONFIG="--without-fp" BINUTILS_DIR=binutils-2.15 GCC_DIR=gcc-3.4.5 GLIBC_DIR=glibc-2.3.6 LINUX_DIR=linux-2.6.8 LINUX_SANITIZED_HEADER_DIR=linux-libc-headers-2.6.12.0 GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.3.6 sh all.sh --notest
+ pwd
+ KERNELCONFIG="/work/tools/create"_crosstools/crosstool-0.43/arm.config TARGET="arm-linux" TARGET_CFLAGS=-O GCC_EXTRA_CONFIG=--with-float=soft GLIBC_EXTRA_CONFIG=--without-fp BINUTILS_DIR=binutils-2.15 GCC_DIR=gcc-3.4.5 GLIBC_DIR=glibc-2.3.6 LINUX_DIR=linux-2.6.8 LINUX_SANITIZED_HEADER_DIR=linux-libc-headers-2.6.12.0 GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.3.6 sh all.sh --notest
You set both LINUX_DIR and LINUX_SANITIZED_HEADER_DIR - ignoring LINUX_DIR for the build
DEJAGNU not set, so not running any regression tests
GLIBC_ADDON_OPTIONS not set, so building all glibc add-on's
+ TOOLCOMBO="gcc-3".4.5-glibc-2.3.6
+ pwd
+ BUILD_DIR=/work/tools/create_crosstools/crosstool-0.43/build/arm-linux/gcc-3.4.5-glibc-2.3.6
+ pwd
+ TOP_DIR=/work/tools/create_crosstools/crosstool-0.43
+ test -z
+ SRC_DIR=/work/tools/create_crosstools/crosstool-0.43/build/arm-linux/gcc-3.4.5-glibc-2.3.6
+ echo SRC_DIR not set, so source tarballs will be unpacked in the build directory
SRC_DIR not set, so source tarballs will be unpacked in the build directory
+ abort Don't run all.sh or crosstool.sh as root, it's dangerous
+ echo Don't run all.sh or crosstool.sh as root, it's dangerous
Don't run all.sh or crosstool.sh as root, it's dangerous
+ exec false

Re: ubuntu linux软件环境构建问题

发表于 : 2009-04-10 22:57
yz811020
you wonldn't run all.sh as root.you have to use su command to change your identity as user

Re: ubuntu linux软件环境构建问题

发表于 : 2009-04-11 0:04
peng3057
谁知道的,告诉下....

Re: ubuntu linux软件环境构建问题

发表于 : 2009-04-11 11:24
spadgeletov
用普通用户来运行你的脚本,用ROOT来运行是不允许的

dddddddddddddddd

发表于 : 2009-10-03 16:44
itelectron
ddddddddddddddddddddddd

Re: ubuntu linux软件环境构建问题

发表于 : 2009-10-04 0:36
masonzhang
chown 搞下 即可