ld error when compile the libwebcore.so
来源:互联网 发布:近年物流业发展数据 编辑:程序博客网 时间:2024/06/16 19:03
I had the same issue as you complained about it here. So for me it was due to the fact that I stopped the build process from make by pressing Ctrl+c becauses it slowed down my machine and it took almost 20 hours to compile and the machine seemed to be frozen. I just retype the make command : make -j8 to relaunch the build after stopping it and I got this error:
prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/generic/obj/SHARED_LIBRARIES/libwebcore_intermediates/Source/WebKit/android/jni/WebCoreJniOnLoad.o: in function gWebCoreRegMethods:WebCoreJniOnLoad.cpp(.data.rel._ZL18gWebCoreRegMethods+0x7c): error: undefined reference to 'android::registerCacheManager(_JNIEnv*)'
collect2: ld returned 1 exit status
make: *** [out/target/product/generic/obj/SHARED_LIBRARIES/libwebcore_intermediates/LINKED/libwebcore.so] Error 1
#First I cleaned the build files for libwebcore only not to clean all builds, otherwise, we will have to redo all build again
1. make clean-libwebcore
#Secondly I build only the libwebcore modules to be concerned only about it until it gets to success. That way your build error will be easier to troubleshooting because you focus only on 1 module
2. make -j8 libwebcore
#Third, you just have to launch a normal build process with make to go on building the other remaining modules
3. make -j8
#Cross your finger and pray God that this last step leads you to success. I was facing this issue by building an update of Jelly Bean Branch(android-4.1.2_r1 released in October 9th,2012)
These steps were successful for me after figuring it out after 3 days of unsuccessful attemps. My machine was a MacBook Pro with Snow leopard on it and Intel Core 7 Processor. So I was inspired by the following link :
http://www.mailinglistarchive.com/html/android-platform@googlegroups.com/2009-04/msg00195.html
0 0
- ld error when compile the libwebcore.so
- android libwebcore compile error
- make android 时的 libwebcore.so error
- make android 时的 libwebcore.so error
- error:/usr/bin/ld:skipping incompatible ./libxxxx.so when searching for -lxxxx
- error:/usr/bin/ld:skipping incompatible ./libxxxx.so when searching for -lxxxx
- "ld: 0711-317 ERROR: Undefined symbol:.xxxx" error when doing a relink of the binaries (文档 ID 156611
- 编译wpa_supplicant ERROR: ld.so: object
- libwebcore.so@0xa8300000 is too big
- Error when loading the SDK
- error when compile apache "No recognized SSL/TLS toolkit detected"
- 解决:ERROR: ld.so: object ‘/lib/libcwait.so’ from /etc/ld.so.preload cannot be preloaded: ignored.
- ERROR: ld.so: object '/lib64/fileprotect.so' from /etc/ld.so.preload cannot be preloaded: ignored.问题
- error:/usr/bin/ld:skipping incompatible ./libxxxx.so
- You receive a C4226 or a C4236 error message when you compile code to contain the keyword in 32-bit Visual C++(ZZ)
- Error when loading the SDK:解决方案
- Error when loading the SDK:解决方案
- Android SDK] Error when loading the SDK:
- bootstrap之ScrollTo
- 萨芬
- win+linux+socket多线程搜索服务器端文件
- UVA579 Clock Hands
- ALAsset和ALAssetRepresentation详解
- ld error when compile the libwebcore.so
- java 方法分派笔记
- 哪种PDF转换器转换效果好
- 判断单链表是否存在环有问题
- android开发,使用fragment加载webview,加载出现1秒空白。
- 关于java为什么在Method中局部内部类或者匿名内部类调用Method中定义的变量要用final修饰?
- Linux中变量$#,$@,$0,$1,$2,$*,$$,$?的含义
- B. DZY Loves Strings
- c++ 简单模拟实现 游戏定时开启任务