摘要:
arm-eabi-gcc: error trying to exec 'cc1': execvp: No such file or directorymake: *** [out/target/product/generic/obj/lib/crtbegin_dynamic.o] Error 1如果之前的依赖包都已经安装成功的话,此处应该是交叉编译工具权限的问题。这个问题只要在文章开头lunch时执行了赋予权限命令,就应该不会遇到了。 阅读全文
摘要:
2.Q:frameworks/base/libs/utils/RefBase.cpp:483:67: error: passing ‘const android::RefBase::weakref_impl’ as ‘this’ argument of ‘void android::RefBase::weakref_impl::trackMe(bool, bool)’ discards qualifiers [-fpermissive] make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libutils_intermediates/RefBa 阅读全文
摘要:
frameworks/compile/slang/slang_rs_export_foreach.cpp:247:23: error: variable ‘ParamName’ set but not used [-Werror=unused-but-set-variable]cc1plus: all warnings being treated as errors解决方法:$ vi frameworks/compile/slang/Android.mk#local_cflags_for_slang := -Wno-sign-promo -Wall -Wno-unused-parameter 阅读全文
摘要:
host C++: libgtest_host <= external/gtest/src/gtest-all.cctruehost C++: libgtest_main_host <= external/gtest/src/gtest_main.ccout/host/linux-x86/obj/STATIC_LIBRARIES/libLLVMSupport_intermediates/libLLVMSupport.a(Signals.o): In function `PrintStackTrace':/home/aa/project/android4.0.1/extern 阅读全文
摘要:
In file included from external/gtest/src/../include/gtest/gtest-param-test.h:157:0, from external/gtest/src/../include/gtest/gtest.h:69, from external/gtest/src/gtest_main.cc:32:external/gtest/src/../include/gtest/internal/gtest-param-util.h:122:11: error: ‘ptrdiff_t’ does not name a typeIn file inc 阅读全文
摘要:
错误:host Prebuilt: monkeyrunner (out/host/linux-x86/obj/EXECUTABLES/monkeyrunner_intermediates/monkeyrunner)host C++: obbtool <= frameworks/base/tools/obbtool/Main.cpp<命令行>:0:0: 错误: “_FORTIFY_SOURCE”重定义 [-Werror]<built-in>:0:0: 附注: 这是先前定义的位置cc1plus:所有的警告都被当作是错误最佳答案修改build/core/combo/HO 阅读全文
摘要:
如果出现以下错误cabac.h: In function `get_cabac_noinline':cabac.h:525: error: can't find a register in class `GENERAL_REGS' while reloading `asm'make[1]: *** [h264.o] 错误 1在make前加入export CFLAGS=-fomit-frame-pointermake clean之前因為想找出 ass 字幕爛掉的原因,得編譯一個 debug 版本的 mplayer。但只要一加入這個選項後編譯就會爛掉,會跑出如下的錯 阅读全文
摘要:
4.make: *** [out/target/product/generic/obj/EXECUTABLES/BufferQueue_test_intermediates/LINKED/BufferQueue_test] Error 1解决办法:把system/media/opensles/libopensles目录下的IAndroidEffect.c改为IAndroidEffect.cpp,并且把Android.mk中的内容“IAndroidEffect.c”也一并修改为”IAndroidEffect.cpp“。 阅读全文
摘要:
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc -mthumb-interwork -Ibionic/libc/private -o out/target/product/generic/obj/lib/crtbegin_dynamic.o -c bionic/libc/arch-arm/bionic/crtbegin_dynamic.Sprebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: /lib/tls/i686/cmov/libc.so.6: v 阅读全文
摘要:
方法一:1.添加ibus源加入:deb http://ppa.launchpad.net/ibus-dev/ppa/ubuntu jaunty main这个源即可sudo apt-get update更新一下。然后安装ibussudo apt-get install ibus ibus-table ibus-pinyin python-ibus ibus-qt4 ibus-gtk把这些都装上,前面的三个是必须的python-ibus,在8.04的时候自带的版本过低,所以需要加入新的源安装一下,到了9.04也装一下,以防万一?ibus-qt4,ibus-gtk 这两个包可以防止出现不能进行光标跟 阅读全文