已经通过实测解决了昨天的问题,但是现在此刻眼下火烧眉头的说这个问题真是困扰我了。实在无法得知,如何解决??。求解啊!!!!
使用make以后报错如下:
host C: acp <= build/tools/acp/acp.c cc: error trying to exec 'cc1': execvp: 没有那个文件或目录 make: *** [out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp.o] 错误 1
我配置的环境,以及系统版本如下:
环境中安装source.android.com中都有配置
系统ubuntu 12.10 32位
jdk安装如下
cxl@cxl:~/WORKING_DIRECTORY$ java -version java version "1.6.0_43" Java(TM) SE Runtime Environment (build 1.6.0_43-b01) Java HotSpot(TM) Server VM (build 20.14-b01, mixed mode)
gcc与g++版本如下:
cxl@cxl:~/WORKING_DIRECTORY$ gcc -v Using built-in specs. Target: i686-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.4.7-2ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran --prefix=/usr --program-suffix=-4.4 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-targets=all --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu Thread model: posix gcc version 4.4.7 (Ubuntu/Linaro 4.4.7-2ubuntu1) cxl@cxl:~/WORKING_DIRECTORY$ g++ -v Using built-in specs. Target: i686-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.4.7-2ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran --prefix=/usr --program-suffix=-4.4 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-targets=all --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu Thread model: posix gcc version 4.4.7 (Ubuntu/Linaro 4.4.7-2ubuntu1) cxl@cxl:~/WORKING_DIRECTORY$
环境配置如下:
cxl@cxl:~/WORKING_DIRECTORY$ echo $PATH /opt/jdk1.6.0_38/bin:/opt/jdk1.6.0_38/lib:/opt/jdk1.6.0_43:
/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:
/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
使用whereis 查看,发现cc1真的是没有。
cxl@cxl:~/WORKING_DIRECTORY$ whereis cc cc: /usr/bin/cc /usr/bin/X11/cc /usr/share/man/man1/cc.1.gz cxl@cxl:~/WORKING_DIRECTORY$ whereis cc1 cc1:
求解啊。。。。。