嵌入式爱好者

查看: 2373|回复: 1

[Linux] 编译时遇到如下错误是怎么回事?

[复制链接]

2

主题

5

帖子

11

积分

扫一扫,手机访问本帖
发表于 2022-12-30 14:29:10 | 显示全部楼层 |阅读模式
本帖最后由 harrix 于 2022-12-30 14:35 编辑

编译遇到如下错误,请帮解答一下,谢谢。百度一下  说是虚拟机内存大小问题,但我是用公司服务器编译的,需要如何处理?2022-12-30T13:34:28 aarch64-buildroot-linux-gnu-g++.br_real: fatal error: Killed signal terminated program cc1plus
2022-12-30T13:34:28 compilation terminated.
[91/3813] CXX obj/content/browser/browser/mixed_content_navigation_throttle.o
2022-12-30T13:36:29 ninja: build stopped: subcommand failed.
2022-12-30T13:36:32 Makefile.gn_run:398: recipe for target 'run_ninja' failed
2022-12-30T13:36:32 make[5]: *** [run_ninja] Error 1
2022-12-30T13:36:32 Makefile:82: recipe for target 'sub-gn_run-pro-make_first' failed
2022-12-30T13:36:32 make[4]: *** [sub-gn_run-pro-make_first] Error 2
2022-12-30T13:36:32 Makefile:76: recipe for target 'sub-core-make_first' failed
2022-12-30T13:36:32 make[3]: *** [sub-core-make_first] Error 2
2022-12-30T13:36:32 Makefile:48: recipe for target 'sub-src-make_first' failed
2022-12-30T13:36:32 make[2]: *** [sub-src-make_first] Error 2
2022-12-30T13:36:32 package/pkg-generic.mk:228: recipe for target '/home/lingzhi/sdb/lz05/RK3568/feiling/OK3568-linux-source/buildroot/output/OK3568/build/qt5webengine-5.14.2/.stamp_built' failed
2022-12-30T13:36:32 make[1]: *** [/home/sdb/RK3568/feiling/OK3568-linux-source/buildroot/output/OK3568/build/qt5webengine-5.14.2/.stamp_built] Error 2
2022-12-30T13:36:34 /home/sdb/RK3568/feiling/OK3568-linux-source/buildroot/output/OK3568/Makefile:16: recipe for target '_all' failed
2022-12-30T13:36:34 make: *** [_all] Error 2
Command exited with non-zero status 1
you take 10:42.04 to build builroot
ERROR: Running build_buildroot failed!
ERROR: exit code 1 from line 559:
    /usr/bin/time -f "you take %E to build builroot" $COMMON_DIR/mk-buildroot.sh $BOARD_CONFIG


回复

使用道具 举报

0

主题

124

帖子

668

积分

A40i/T3/T507/T527通行证i.MX6Q通行证i.MX6UL通行证i.MX8MM通行证i.MX8MP通行证RK3568通行证RK3399通行证LS1028A通行证LS1012A通行证LS1043A\46A通行证TCU通行证FDU产品通行证FCU1401通行证FCU1301通行证FCU11xx通行证FCU1201通行证FCU2201通行证FCU2301/FCU2302通行证FCU2401通行证5G转接卡通行证FCU3001通行证AM5718通行证Hi3519A通信证AM335x通行证i.MX RT通行证XX18通行证

发表于 2022-12-30 18:23:58 | 显示全部楼层
您在服务器中使用的环境是我们提供的吗?建议还是使用我们提供的虚拟机进行编译,因为不确定因素较多,您这个报错只能看到最开始的g++编译终止之后整体全部停止,至于内存大小的影响,您可以看一下build.sh中,在相应的make编译后有-jx,您可以适当减小x的数值,编译时所占用的内存就会减小。
点评回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2024-12-20 18:41

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表