*Try the following commands and tricks. it works for me with Android Jelly Bean (android-4.1.2_r1, released on October 9th,2012). It took me 3 days to figure it out:* *#Clean libwebcore built files * *make clean-libwebcore * *#Rebuild libwecore modules only* *make -j8 libwebcore* *#continue with the building of the remaining modules not being compiled yet.* *make -j8*
*For me it was the last step to get to the building of system.img file I need for my ROM to be ready.* Le vendredi 2 décembre 2011 04:19:18 UTC+1, 晓亮 徐 a écrit : > > hi, > unfortunately,i occurred this pro also,but i tried to use make clean > and then make NOCCACHE=yes but it did not works,the pro occurred > again.have u make through? > > On 11月18日, 下午2时14分, OSAKANA TARO <osakanat...@gmail.com> wrote: > > I occurred same problem. > > > > 1st, I tried > > rm -rf out/target/product/generic/obj/SHARED_LIBRARIES/ > > libwebcore_intermediates > > and > > make NOCCACHE=yes > > but, same. > > > > 2nd, I tried > > make clean > > and > > make NOCCACHE=yes > > It's worked > > > > thanks! > > > > On Nov 10, 7:55 pm, "Deva R (TI)" <r.deva...@gmail.com> wrote: > > > > > > > > > can u disable ccache and try?? > > > > > from logs shared, it doesnt make sense for g++ trying to generate > > > libwebcore.so > > > > > > prebuilt/linux-x86/ccache/ccache prebuilt/linux-x86/toolchain/ > > > > mips-4.4.3/bin/mips-linux-gnu-g++ > > > > -o out/target/product/generic/obj/ > > > > SHARED_LIBRARIES/libwebcore_intermediates/LINKED/libwebcore.so > > > > > also, do "rm -rf out/target/product/generic/obj/SHARED_LIBRARIES/ > > > libwebcore_intermediates" to clean up any malformed intermittent .a s > > > > > On Nov 8, 9:14 pm, 李晖 <lihui205...@gmail.com> wrote: > > > > > > hi all, > > > > I am porting android to loongson based on the mips android, and the > > > > android version is froyo_r8, which can be download fromhttp:// > developer.mips.com/android/android-source-code/, > > > > my workstation is ubuntu 9.10 in the vmware, the memory is 512M, free > > > > space of hardware is 20G, > > > > > > after some configuration and modification, I typed in "make > > > > showcommands", > > > > when the compile system compile the webkit module, the following > error > > > > printed: > > > > > > Install: out/target/product/generic/system/lib/libwbxml_jni.so > > > > out/host/linux-x86/bin/acp -fpt out/target/product/generic/obj/lib/ > > > > libwbxml_jni.so out/target/product/generic/system/lib/libwbxml_jni.so > > > > target SharedLib: libwebcore (out/target/product/generic/obj/ > > > > SHARED_LIBRARIES/libwebcore_intermediates/LINKED/libwebcore.so) > > > > prebuilt/linux-x86/ccache/ccache prebuilt/linux-x86/toolchain/ > > > > mips-4.4.3/bin/mips-linux-gnu-g++ -nostdlib > -Wl,-soname,libwebcore.so - > > > > Wl,-T,build/core/mipself.xsc -Wl,--gc-sections > -Wl,-shared,-Bsymbolic - > > > > Lout/target/product/generic/obj/lib > out/target/product/generic/obj/ > > > > SHARED_LIBRARIES/libwebcore_intermediates/WebKit/android/jni/ > > > > WebCoreJniOnLoad.o -Wl,--whole-archive -Wl,--no-whole- > > > > archive out/target/product/generic/obj/STATIC_LIBRARIES/ > > > > libwebcore_intermediates/libwebcore.a out/target/product/generic/obj/ > > > > STATIC_LIBRARIES/libxml2_intermediates/libxml2.a out/target/product/ > > > > generic/obj/STATIC_LIBRARIES/libv8_intermediates/libv8.a - > > > > landroid_runtime -lnativehelper -lsqlite -lskia -lutils -lui -llog - > > > > lcutils -licuuc -licudata -licui18n -lmedia -lsurfaceflinger_client - > > > > ldl -lstlport -lc -lstdc++ -lm -o out/target/product/generic/obj/ > > > > SHARED_LIBRARIES/libwebcore_intermediates/LINKED/libwebcore.so - > > > > fvisibility=hidden -Wl,--no-undefined -EL /home/andy/work/ > > > > > mips_android_r8/prebuilt/linux-x86/toolchain/mips-4.4.3/bin/../lib/gcc/ > > > > mips-linux-gnu/4.4.3/el/soft-float/libgcc.a /home/andy/work/ > > > > > mips_android_r8/prebuilt/linux-x86/toolchain/mips-4.4.3/bin/../lib/gcc/ > > > > mips-linux-gnu/4.4.3/el/soft-float/libgcc_eh.a > > > > /home/andy/work/mips_android_r8/prebuilt/linux-x86/toolchain/ > > > > > mips-4.4.3/bin/../lib/gcc/mips-linux-gnu/4.4.3/../../../../mips-linux- > > > > gnu/bin/ld: final link failed: Bad value > > > > collect2: ld returned 1 exit status > > > > make: *** [out/target/product/generic/obj/SHARED_LIBRARIES/ > > > > libwebcore_intermediates/LINKED/libwebcore.so] Error 1 > > > > > > did any one encounter this kind error, and how to solve it?- 隐藏被引用文字 > - > > > > - 显示引用的文字 - > -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting