博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
p4lang/switch make bm-switchsai 出现内存不足导致的Error
阅读量:4706 次
发布时间:2019-06-10

本文共 617 字,大约阅读时间需要 2 分钟。

报错如下:

Compiling : bm::dc.cppg++: internal compiler error: Killed (program cc1plus)Please submit a full bug report,with preprocessed source if appropriate.See 
for instructions.make: *** [/home/wasdns/p4factory/targets/switch/build//bm/obj/dc.o] Error 4

这种类型的错误:

make: *** [···/xx.o] Error 4

一般是由于你对虚拟机的RAM内存分配不足。解决方法一个是关闭虚拟机,然后修改其分配的内存;另一个是换一台配置好些的机子。

在p4lang的Github中也有人遇到过这种问题,下面贴出链接。

参考:

The build process can run for pretty long, especially if you don't have much memory. You can speed things up by assigning more resources to your VM.

2016/12/25

转载于:https://www.cnblogs.com/qq952693358/p/6219035.html

你可能感兴趣的文章
【.Net基础03】HttpWebRequest模拟浏览器登陆
查看>>
zTree async 动态参数处理
查看>>
Oracle学习之常见错误整理
查看>>
数据库插入数据乱码问题
查看>>
【转】IT名企面试:微软笔试题(1)
查看>>
IO流入门-第十章-DataInputStream_DataOutputStream
查看>>
DRF的分页
查看>>
Mysql 模糊匹配(字符串str中是否包含子字符串substr)
查看>>
python:open/文件操作
查看>>
流程控制 Day06
查看>>
Linux下安装Tomcat
查看>>
windows live writer 2012 0x80070643
查看>>
tomcat 和MySQL的安装
查看>>
git常用操作
查看>>
京东SSO单点登陆实现分析
查看>>
u-boot启动第一阶段
查看>>
MySQL批量SQL插入性能优化
查看>>
定义列属性:null,default,PK,auto_increment
查看>>
用户画像展示
查看>>
C#中StreamReader读取中文出现乱码
查看>>