[ubuntu]将BusyBox的make menuconfig设置完后,进行make时编译不过去......

内核编译和嵌入式产品的设计与开发
回复
xiaoweicau
帖子: 8
注册时间: 2007-11-30 20:35

[ubuntu]将BusyBox的make menuconfig设置完后,进行make时编译不过去......

#1

帖子 xiaoweicau » 2009-03-27 12:18

#将BusyBox-1.2.0.tar.bz2释放到/opt/EmbedSky,make menuconfig设置完后,进行make时编译不过去,请大伙指点下.....

naoc@naoc-desktop:/opt/EmbedSky/BusyBox-1.2.0$ sudo gedit /etc/bash.bashrc

naoc@naoc-desktop:/opt/EmbedSky/BusyBox-1.2.0$ source /etc/profile

naoc@naoc-desktop:/opt/EmbedSky/BusyBox-1.2.0$ arm-linux-gcc -v
Reading specs from /opt/EmbedSky/crosstools_3.4.1_softfloat/arm-linux/gcc-3.4.1-glibc-2.3.3/lib/gcc/arm-linux/3.4.1/specs
Configured with: /opt/crosstool/crosstool-0.28/build/arm-linux/gcc-3.4.1-glibc-2.3.3/gcc-3.4.1/configure --target=arm-linux --host=i686-host_pc-linux-gnu --prefix=/opt/EmbedSky/crosstools_3.4.1_softfloat/arm-linux/gcc-3.4.1-glibc-2.3.3 --with-float=soft --with-headers=/opt/EmbedSky/crosstools_3.4.1_softfloat/arm-linux/gcc-3.4.1-glibc-2.3.3/arm-linux/include --with-local-prefix=/opt/EmbedSky/crosstools_3.4.1_softfloat/arm-linux/gcc-3.4.1-glibc-2.3.3/arm-linux --disable-nls --enable-threads=posix --enable-symvers=gnu --enable-__cxa_atexit --enable-languages=c,c++ --enable-shared --enable-c99 --enable-long-long
Thread model: posix
gcc version 3.4.1

naoc@naoc-desktop:/opt/EmbedSky/crosstools_3.4.1_softfloat/arm-linux/gcc-3.4.1-glibc-2.3.3/bin$ ls -l
总用量 82748
-rwxr-xr-x 1 500 500 1802837 2008-01-01 12:41 arm-linux-addr2line
-rwxr-xr-x 2 500 500 1859823 2008-01-01 12:41 arm-linux-ar
-rwxr-xr-x 2 500 500 3239558 2008-01-01 12:41 arm-linux-as
-rwxr-xr-x 2 500 500 286992 2008-01-01 13:09 arm-linux-c++
-rwxr-xr-x 1 500 500 1758596 2008-01-01 12:41 arm-linux-c++filt
-rwxr-xr-x 1 500 500 286091 2008-01-01 13:09 arm-linux-cpp
-rwxr-xr-x 1 root root 27415488 2008-06-03 18:32 arm-linux-ddd
-rwxr-xr-x 2 500 500 286992 2008-01-01 13:09 arm-linux-g++
-rwxr-xr-x 2 500 500 284868 2008-01-01 13:09 arm-linux-gcc
-rwxr-xr-x 2 500 500 284868 2008-01-01 13:09 arm-linux-gcc-3.4.1
-rwxr-xr-x 1 500 500 16214 2008-01-01 13:09 arm-linux-gccbug
-rwxr-xr-x 1 500 500 103066 2008-01-01 13:09 arm-linux-gcov
-rwxr-xr-x 1 root root 12656380 2008-06-03 21:02 arm-linux-gdb
-rwxr-xr-x 1 root root 12656413 2008-06-03 21:02 arm-linux-gdbtui
-rwxr-xr-x 1 500 500 2281603 2008-01-01 12:41 arm-linux-gprof
-rwxr-xr-x 2 500 500 2529396 2008-01-01 12:41 arm-linux-ld
-rwxr-xr-x 2 500 500 1836066 2008-01-01 12:41 arm-linux-nm
-rwxr-xr-x 1 500 500 2339956 2008-01-01 12:41 arm-linux-objcopy
-rwxr-xr-x 1 500 500 2483380 2008-01-01 12:41 arm-linux-objdump
-rwxr-xr-x 2 500 500 1859822 2008-01-01 12:41 arm-linux-ranlib
-rwxr-xr-x 1 500 500 384088 2008-01-01 12:41 arm-linux-readelf
-rwxr-xr-x 1 root root 2128817 2008-06-03 21:02 arm-linux-run
-rwxr-xr-x 1 500 500 1709094 2008-01-01 12:41 arm-linux-size
-rwxr-xr-x 1 500 500 1683764 2008-01-01 12:41 arm-linux-strings
-rwxr-xr-x 2 500 500 2339951 2008-01-01 12:41 arm-linux-strip
naoc@naoc-desktop:/opt/EmbedSky/crosstools_3.4.1_softfloat/arm-linux/gcc-3.4.1-glibc-2.3.3/bin$

naoc@naoc-desktop:/opt/EmbedSky/BusyBox-1.2.0$ sudo make menuconfig
#
# using defaults found in .config
#

*** End of BusyBox configuration.

naoc@naoc-desktop:/opt/EmbedSky/BusyBox-1.2.0$ sudo make
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-ar: not found
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-ar: not found
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-ar: not found
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-ar: not found
GEN include/bbconfigopts.h
GEN .depend
/opt/EmbedSky/BusyBox-1.2.0/include/bbconfigopts.h:13 hmm, unterminated
make[1]: *** [.depend] 错误 1
make: *** [_all] 错误 2
ggang123abc
帖子: 29
注册时间: 2009-07-01 18:27

Re: [ubuntu]将BusyBox的make menuconfig设置完后,进行make时编译不过去......

#2

帖子 ggang123abc » 2009-07-25 16:30

和你相同的错误,怎么解决阿,有人知道不?
回复