Libwebcore. So error when making Android

Source: Internet
Author: User

When compiling Android code

Target thumb C ++: libwebcore <= out/target/product/generic/obj/shared_libraries/libwebcore_intermediates/WebCore/xmlnames. cpp
Target sharedlib: libwebcore (Out/target/product/generic/obj/shared_libraries/libwebcore_intermediates/linked/libwebcore. So)
Collect2: LD terminated with signal 9 [killed]
Make: *** [out/target/product/generic/obj/shared_libraries/libwebcore_intermediates/linked/libwebcore. So] Error 1

However, whether it is make clean & make; or synchronizing the GIT code repository, making clean & make is futile.

This is really strange.

However, it is finally solved today.
The final reason is that my computer is so bad... it's a little bit like that. It's strange that the earth is not attractive.

I don't want to buy a customs clearance. In fact, it is because my Linux system does not add swap partitions.
After work, I continue to accept the polar world view of the/boot and/Partitions. When I abandon and despise the school, I honestly press the book swap twice the memory size,/,/usr,/usr/local, /var ,... the world. Now, I have suffered a lot.
To be honest, there was no problem with the dual-partition method. At most/is used up, and then mount the previous new partition.
Unexpectedly, the fedora101g memory cannot be compiled for Android, but the fedora6 can be compiled, but the code was half a year ago. I still suspected that it was a problem with the fedora compiling environment. Are you ready to install Ubuntu ..

The solution is simple. Create a swap file.
# Dd If =/dev/Zero of =/opt/other/swapfile BS = 1024 COUNT = 512 K
# Mkswap/opt/other/swapfile
# Swapon/opt/other/swapfile
# Swapon-S
Filename type size used priority
/Opt/other/swapfile file 524280 0-1

OK. Make is successful.
Target sharedlib: libwebcore (Out/target/product/generic/obj/shared_libraries/libwebcore_intermediates/linked/libwebcore. So)
Target prelink: libwebcore (Out/target/product/generic/symbols/system/lib/libwebcore. So)
Target Strip: libwebcore (Out/target/product/generic/obj/lib/libwebcore. So)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.