当前位置: 首页 > news >正文

免费建网站可信吗常州专业网站建设推广

免费建网站可信吗,常州专业网站建设推广,推广有哪些方式,wordpress 做毕业设计1、Android library XXX.so not in prelink map 错误解决在编译自己的Android library时可能会出现library XXX.so not in prelink map 错误#xff0c;这是由于Android的预编译设置引起的#xff0c;/build/core/prelink-linux-arm.map文件描述了预编译的模块需要修改所在文…1、Android library XXX.so not in prelink map 错误解决在编译自己的Android library时可能会出现library XXX.so not in prelink map 错误这是由于Android的预编译设置引起的/build/core/prelink-linux-arm.map文件描述了预编译的模块需要修改所在文件夹下的android.mk文件增加LOCAL_PRELINK_MODULE : false将预编译关闭即可通过。2、错误一error: ‘ptrdiff_t’ does not name a typeIn 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 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/../src/gtest.cc:34,from external/gtest/src/gtest-all.cc:36:external/gtest/src/../include/gtest/internal/gtest-param-util.h:122:11: error: ‘ptrdiff_t’ does not name a typeIn file included from external/gtest/src/gtest-all.cc:38:0:解决方法$vi external/gtest/src/../include/gtest/internal/gtest-param-util.h#include 3.错误二undefined reference to pthread_mutexattr_destroyhost 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/external/llvm/lib/Support/Unix/Signals.inc:219: undefined reference to dladdr/home/aa/project/android4.0.1/external/llvm/lib/Support/Unix/Signals.inc:231: undefined reference to dladdrout/host/linux-x86/obj/STATIC_LIBRARIES/libLLVMSupport_intermediates/libLLVMSupport.a(Threading.o): In function llvm::llvm_execute_on_thread(void (*)(void*), void*, unsigned int):/home/aa/project/android4.0.1/external/llvm/lib/Support/Threading.cpp:96: undefined reference to pthread_create/home/aa/project/android4.0.1/external/llvm/lib/Support/Threading.cpp:91: undefined reference to pthread_attr_setstacksize/home/aa/project/android4.0.1/external/llvm/lib/Support/Threading.cpp:100: undefined reference to pthread_joinout/host/linux-x86/obj/STATIC_LIBRARIES/libLLVMSupport_intermediates/libLLVMSupport.a(Mutex.o): In function MutexImpl:/home/aa/project/android4.0.1/external/llvm/lib/Support/Mutex.cpp:69: undefined reference to pthread_mutexattr_init/home/aa/project/android4.0.1/external/llvm/lib/Support/Mutex.cpp:75: undefined reference to pthread_mutexattr_settype/home/aa/project/android4.0.1/external/llvm/lib/Support/Mutex.cpp:80: undefined reference to pthread_mutexattr_setpshared/home/aa/project/android4.0.1/external/llvm/lib/Support/Mutex.cpp:89: undefined reference to pthread_mutexattr_destroyout/host/linux-x86/obj/STATIC_LIBRARIES/libLLVMSupport_intermediates/libLLVMSupport.a(Mutex.o): In function llvm::sys::MutexImpl::tryacquire():/home/aa/project/android4.0.1/external/llvm/lib/Support/Mutex.cpp:143: undefined reference to pthread_mutex_trylockcollect2: ld returned 1 exit statusmake: *** [out/host/linux-x86/obj/EXECUTABLES/test-librsloader_intermediates/test-librsloader] Error 1make: *** Waiting for unfinished jobs....解决方法$vi external/llvm/llvm-host-build.mkLOCAL_LDLIBS : -lpthread -ldl下面这个解决方法没成功会有新的错误errors again :cant find threads.h file or dir.$ vi external/llvm/lib/Support/Android.mkLOCAL_C_INCLUDES system/core/include/cutilsLOCAL_SHARED_LIBRARIES : libcutil$ vi external/llvm/lib/Support/Mutex.cpp#include $ vi external/llvm/lib/Support/Threading.cpp#include 4.错误三error: variable ‘ParamName’ set but not used [-Werrorunused-but-set-variable]frameworks/compile/slang/slang_rs_export_foreach.cpp:247:23: error: variable ‘ParamName’ set but not used [-Werrorunused-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 -Werrorlocal_cflags_for_slang : -Wno-sign-promo -Wall -Wno-unused-parameter5、2.3以上系统使用JDK1.6所以必须下载并设定其编译环境vi ~/.bashrcexport JAVA_HOME/usr/java/jdk1.6.0_23export JRE_HOME$JAVA_HOME/jreexport CLASSPATH.:$JAVA_HOME/lib:$JRE_HOME/lib:$CLASSPATHexport PATH$PATH:$JAVA_HOME/bin:$JAVA_HOME/bin/tools.jar:$JRE_HOME/binexport ANDROID_JAVA_HOME$JAVA_HOME6、Exception in thread main java.lang.OutOfMemoryError: Java heap space解决:内存不足7、external/jsilver/src/com/google/streamhtmlparser/util/JavascriptTokenBuffer.java:80: cannot find symbolsymbol  : method copyOf(char[],int)解决把sdk从1.5升级到1.68、arm-eabi-4.4.3 version GLIBC_2.11 not found解决方法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: version GLIBC_2.11 not found (required by prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc)make: *** [out/target/product/generic/obj/lib/crtbegin_dynamic.o] 错误 1这是在32位Ubuntu上编译引起的arm-eabi-4.4.3版本问题所以需要修改arm-eabi-4.4.0$ mv arm-eabi-4.4.3 to arm-eabi-4.4.3.old$ ln -s arm-eabi-4.4.0 arm-eabi-4.4.3or:升级glibc或者系统9、PassFailButtons.java:191: onCreateDialog(int,android.os.Bundle) in android.app.Activity cannot implement onCreateDialog(int,android.os.Bundle) in com.android.cts.verifier.PassFailButtons.PassFailActivity; attempting to assign weaker access privileges;解决很可能是因为使用了openjdk而非sun-java6-jdk10、undefined reference to  __asprintf_chk解决可能会由于stdio2.h导致编译错误。正确的stdio2.h是./prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/bits/stdio2.h文件请重新设置PATH环境变量将./prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr放在PATH的最前。cp ./prebuilt/linux-x86/ toolchain/i686-unknown-linux-gnu-4.2.1/lib/libbfd.a ./out/host/linux-x86/obj/STATIC_LIBRARIES/libbfd_intermediates/libbfd.a可能 glibc版本不是最新的11、SDL init failure, reason is: No available video device .解决原因是他依赖X11可以进入图形化界面来运行。12、In file included from frameworks/base/include/utils/Vector.h:26,from frameworks/base/include/utils/SortedVector.h:24,from frameworks/base/include/utils/KeyedVector.h:24,from frameworks/base/include/media/AudioParameter.h:21,from frameworks/base/media/libmedia/AudioParameter.cpp:22:frameworks/base/include/utils/TypeHelpers.h:33: error: template with C linkage解决将definitionss.mk 文件中transform-cpp-to-o -isystem 改为 -I  如果有 -isystem好像其指定的目录会当作标准系统库目录后面又出现类似问题干脆将这个文件中所有的-isystem都改成了-I13、external/icu4c/common/rbbi.cpp:295: error: cannot use typeid with -fno-rttiexternal/icu4c/common/rbbi.cpp:295: error: cannot use typeid with -fno-rtti解决去掉definitionss.mk 文件中 define transform-cpp-to-o 中的-fno-rtti \  行16、abi/cpp/include/cxxabi.h:44: error: invalid use of incomplete type struct std::type_info:0: error: forward declaration of struct std::type_infoabi/cpp/include/cxxabi.h:51: error: invalid use of incomplete type struct std::type_info:0: error: forward declaration of struct std::type_infoabi/cpp/include/cxxabi.h:58: error: invalid use of incomplete type struct std::type_info:0: error: forward declaration of struct std::type_infoabi/cpp/include/cxxabi.h:65: error: invalid use of incomplete type struct std::type_info:0: error: forward declaration of struct std::type_infoabi/cpp/include/cxxabi.h:72: error: invalid use of incomplete type struct std::type_info:0: error: forward declaration of struct std::type_info解决4.0比2.3根目录下多了abi目录里面只有几个文件type_info在该目录下typeinfo文件中定义了cxxabi.h也包含了这个文件但不知道为什么报错在cxxabi.h中添加class type_info 也不行后来把typeinfo文件和cxxabi.h中的定义都抽出定义到一个common.h文件中两个文件都包含这个文件暂时规避了这个问题。14、ake:进入目录/home/lijj/android/android-4.0.1target thumb C: binderAddInts system/extras/tests/binder/benchmarks/binderAddInts.cppsystem/extras/tests/binder/benchmarks/binderAddInts.cpp:96: error: ISO C forbids declaration of cpu_set_t with no typesystem/extras/tests/binder/benchmarks/binderAddInts.cpp:96: error: expected , or ... before tokensystem/extras/tests/binder/benchmarks/binderAddInts.cpp: In function int main(int, char**):解决在binderAddInts.cpp文件开头添加#ifndef _GNU_SOURCE#define _GNU_SOURCE#endif并包含头文件#include 15、prebuilt/linux-x86/toolchain/arm-eabi-4.4.0_hisi/bin/arm-eabi-gcc -mthumb-interwork -Ibionic/libc/private -DCRT_LEGACY_WORKAROUND -Ibionic/libc/private -o out/target/product/generic/obj/lib/crtbegin_so.o -c bionic/libc/arch-arm/bionic/crtbegin_so.Sprebuilt/linux-x86/toolchain/arm-eabi-4.4.0_hisi/bin/arm-eabi-gcc -mthumb-interwork -Ibionic/libc/private -DCRT_LEGACY_WORKAROUND -Ibionic/libc/private -o out/target/product/generic/obj/lib/crtend_so.o -c bionic/libc/arch-arm/bionic/crtend_so.Starget SharedLib: libdl (out/target/product/generic/obj/SHARED_LIBRARIES/libdl_intermediates/LINKED/libdl.so)/home/lijj/android/android-4.0.1/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0_hisi/bin/../lib/gcc/arm-eabi/4.4.0/../../../../arm-eabi/bin/ld: unrecognized option --icfsafe/home/lijj/android/android-4.0.1/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0_hisi/bin/../lib/gcc/arm-eabi/4.4.0/../../../../arm-eabi/bin/ld: use the --help option for usage informationcollect2: ld returned 1 exit status解决:修改TARGET_linux-arm.mk中P134行对TARGET_GLOBAL_LDFLAGS的赋值去掉--icfsafe16、In file included from frameworks/base/media/libstagefright/AACWriter.cpp:21:frameworks/base/include/media/stagefright/AACWriter.h:70: error: ISO C forbids declaration of DISALLOW_EVIL_CONSTRUCTORS with no typemake: *** [out/target/product/generic/obj/SHARED_LIBRARIES/libstagefright_intermediates/AACWriter.o] 错误 1解决添加包含头文件#include 17、In file included from frameworks/base/media/libstagefright/SurfaceMediaSource.cpp:19:frameworks/base/include/media/stagefright/SurfaceMediaSource.h:363: error: ISO C forbids declaration of DISALLOW_IMPLICIT_CONSTRUCTORS with no typeframeworks/base/include/media/stagefright/SurfaceMediaSource.h: In member function virtual android::status_t android::SurfaceMediaSource::setScalingMode(int):frameworks/base/include/media/stagefright/SurfaceMediaSource.h:114: error: no return statement in function returning non-voidmake: *** [out/target/product/generic/obj/SHARED_LIBRARIES/libstagefright_intermediates/SurfaceMediaSource.o] 错误 1make: *** 正在等待未完成的任务....解决将DISALLOW_IMPLICIT_CONSTRUCTORS 改为SurfaceMediaSource( );这个宏的作用好像就是定义构造函数在frameworks目录下没有找到该宏的定义且只看到这一个地方用到了这个宏external目录有这个宏的定义18、In file included from frameworks/base/media/libstagefright/SurfaceMediaSource.cpp:19:frameworks/base/include/media/stagefright/SurfaceMediaSource.h: In member function virtual android::status_t android::SurfaceMediaSource::setScalingMode(int):frameworks/base/include/media/stagefright/SurfaceMediaSource.h:114: error: no return statement in function returning non-voidmake: *** [out/target/product/generic/obj/SHARED_LIBRARIES/libstagefright_intermediates/SurfaceMediaSource.o] 错误 1make: *** 正在等待未完成的任务....解决setScalingMode函数添加return OK;19、external/ipsec-tools/src/racoon/isakmp.c: In function isakmp_handler:external/ipsec-tools/src/racoon/isakmp.c:214: error: field ip has incomplete typeexternal/ipsec-tools/src/racoon/isakmp.c:230: warning: pointer targets in passing argument 6 of recvfromto differ in signednessexternal/ipsec-tools/src/racoon/sockmisc.h:68: note: expected socklen_t * but argument is of type unsigned int *解决参照2.3里面在isakmp.c前面 添加#ifdef ANDROID_CHANGES#define __linux#endif这个文件2.3和4.0里面有了蛮多变化不知道这么改会不会有问题20、target arm C: libwebrtc_aecm external/webrtc/src/modules/audio_processing/aecm/main/source/aecm_core.c/tmp/ccyInhhH.s: Assembler messages:/tmp/ccyInhhH.s:3864: Error: co-processor offset out of range/tmp/ccyInhhH.s:3865: Error: co-processor offset out of range解决对比2.3修改TARGET_linux-arm.mk相关编译选项21、/home/lijj/android/android-4.0.1/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0_hisi/bin/../lib/gcc/arm-eabi/4.4.0/../../../../arm-eabi/bin/ld: unrecognized option --icfnone/home/lijj/android/android-4.0.1/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0_hisi/bin/../lib/gcc/arm-eabi/4.4.0/../../../../arm-eabi/bin/ld: use the --help option for usage informationcollect2: ld returned 1 exit statusmake: *** [out/target/product/generic/obj/SHARED_LIBRARIES/libdynamic_annotations_intermediates/LINKED/libdynamic_annotations.so] 错误 1make: *** 正在等待未完成的任务....解决以下几个文件去掉--icfnone/external/valgrind/dynamic_annotations/Android.mk:27:  LOCAL_LDFLAGS -Wl,--icfnone./external/valgrind/tsan/Android.mk:49:  preload_ldflags -Wl,--icfnone./external/valgrind/main/Android.mk:52:  preload_ldflags -Wl,--icfnone22、frameworks/base/native/include/android/native_window.h:36: error: redefinition of typedef ANativeWindowsystem/core/include/system/window.h:429: note: previous declaration of ANativeWindow was heremake: *** [out/target/product/generic/obj/SHARED_LIBRARIES/libEGL_VIVANTE_intermediates/driver/openGL/egl/os/gc_egl_linux.o] 错误 1make: *** 正在等待未完成的任务....解决android_natives.h中包含了两个头文件#include #include这两个头文件中都定义了ANativeWindow 去掉了下面个头文件阅读(2315) | 评论(0) | 转发(1) |
http://www.zqtcl.cn/news/622206/

相关文章:

  • 东莞企石网站设计手机能制作网站吗
  • 大连网站建设选高合科技广州开发区人才工作集团有限公司
  • 四川建设招标网站首页价格低廉怎么换个说法
  • 南昌企业制作网站龙华区深圳北站
  • 北京网站设计案例郑州网站设计培训
  • wordpress在lnmp部署百度搜索引擎优化案例
  • asp网站建设 文献综述评价一个网站设计的好坏
  • 做网站虚拟主机配置网站是怎样制作的
  • 网站建设方案 文库新乡网站seo优化
  • 网站优化需要什么软件有没有帮别人做网站
  • 做国外网站选择vps汉中公司做网站
  • ipad网站开发百度推广送的公司网站有什么用
  • 网站被收录wordpress模板游戏推广
  • 做个网站成功案例深圳网络推广工资
  • 河南省城乡与住房建设厅网站做网站的都是什么专业毕业的
  • 做网站月薪10万微信网页开发教程
  • 网站开发组岗位上海著名企业
  • 阿里云网站建设方案网站源码分享
  • 设计感很强的中文网站公司专业网页制作
  • 自己制作网站做外贸赚钱吗什么是网站html静态化
  • 网站中的搜索功能怎么做的网站空间价格
  • 网站内容收费WordPress之类的
  • 好网站推荐一下网站建设客户评价
  • 重庆交通网站建设wordpress08模板
  • 网站搭建响应式wordpress访客切换主题
  • 标准网站建设推荐帮别人做网站开票开什么税目
  • 温州网站优化衡阳县专业做淘宝网站
  • 门户网站建设存在的问题和差距无锡做智能网站
  • 受欢迎的常州做网站网站制作ppt
  • 物流网站建设实例 天堂资源帝