Android Build issue for imx6qsabresd

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Android Build issue for imx6qsabresd

跳至解决方案
938 次查看
bandarulavanya
Contributor V

Hi all,

I am trying to build android Lollipop -android_L5.1.1_2.1.0 for imx6qsabresd board my bootimage is built fine, But when i building system image i am getting the errors.

No private recovery resources for TARGET_DEVICE sabresd 6dq

Gyp action: content_content_gyp_content_common_target_generate_webkit_version (out/target/product/sabresd_6dq/obj/GYP/shared_intermediates/webkit_version.h)
target SharedLib: libwebviewchromium (out/target/product/sabresd_6dq/obj/SHARED_LIBRARIES/libwebviewchromium_intermediates/LINKED/libwebviewchromium.so)

collect2: error: ld terminated with signal 11 [Segmentation fault], core dumped

After that "libwebviewchromium.so" not found is coming and make failed.. If any one knows kindly help me.

Thanks

Lavanya

标签 (3)
1 解答
631 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Hello Bandaru Lavanya,

These linker problems are usually related to a lack of RAM memory. It is recommended to have at least 16GB RAM. A SWAP may also be used to increase the available memory if more physical RAM cannot be accessed. You can find a way to do this on the following document:

https://community.nxp.com/docs/DOC-102403

You would basically complement your RAM with a SWAP file. For example, for a 10GB SWAP file:

$ sudo fallocate -l 10g /mnt/10GB.swap

$ sudo chmod 600 /mnt/10GB.swap

$ sudo mkswap /mnt/10GB.swap

$ sudo swapon /mnt/10GB.swap

I hope this helps!

Regards,

在原帖中查看解决方案

2 回复数
632 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Hello Bandaru Lavanya,

These linker problems are usually related to a lack of RAM memory. It is recommended to have at least 16GB RAM. A SWAP may also be used to increase the available memory if more physical RAM cannot be accessed. You can find a way to do this on the following document:

https://community.nxp.com/docs/DOC-102403

You would basically complement your RAM with a SWAP file. For example, for a 10GB SWAP file:

$ sudo fallocate -l 10g /mnt/10GB.swap

$ sudo chmod 600 /mnt/10GB.swap

$ sudo mkswap /mnt/10GB.swap

$ sudo swapon /mnt/10GB.swap

I hope this helps!

Regards,

631 次查看
bandarulavanya
Contributor V

Hi gusarambula,

Thank you for giving solution, it works for me.

Thanks

Lavanya

0 项奖励