Comments (2)
I got the following error while running the 'make bm-switchlink'
thrift -r --gen cpp --out /home/parallels/p4factory/targets/switch/build//bm/src /home/parallels/p4factory/targets/switch/build//bm/thrift/p4_pd_rpc.thrift && thrift -r --gen cpp --out /home/parallels/p4factory/targets/switch/build//bm/src /home/parallels/p4factory/targets/switch/build//bm/thrift/conn_mgr_pd_rpc.thrift && thrift -r --gen cpp --out /home/parallels/p4factory/targets/switch/build//bm/src /home/parallels/p4factory/targets/switch/build//bm/thrift/mc_pd_rpc.thrift && thrift -r --gen cpp --out /home/parallels/p4factory/targets/switch/build//bm/src /home/parallels/p4factory/targets/switch/build//bm/thrift/devport_mgr_pd_rpc.thrift && true
[WARNING:/home/parallels/p4factory/targets/switch/build/bm/thrift/p4_pd_rpc.thrift:1391] Consider using the more efficient "binary" type instead of "list".
Compiling : bm::pd_rpc_server.cpp
Compiling : bm::p4_pd_rpc_constants.cpp
Compiling : bm::conn_mgr_pd_rpc_constants.cpp
Compiling : bm::mc_pd_rpc_constants.cpp
Compiling : bm::devport_mgr_pd_rpc_constants.cpp
Compiling : bm::res_constants.cpp
Compiling : bm::p4_pd_rpc_types.cpp
Compiling : bm::conn_mgr_pd_rpc_types.cpp
Compiling : bm::mc_pd_rpc_types.cpp
Compiling : bm::devport_mgr_pd_rpc_types.cpp
Compiling : bm::res_types.cpp
Compiling : bm::dc.cpp
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-4.8/README.Bugs for instructions.
make: *** [/home/parallels/p4factory/targets/switch/build//bm/obj/dc.o] Error 4
And also I tried 'make bm-swtichapi'. The source file bm/dc.cpp is failed to compile.
parallels@ubuntu:~/p4factory/targets/switch$ make bm-switchapi
Compiling : bm::dc.cpp
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-4.8/README.Bugs for instructions.
make: *** [/home/parallels/p4factory/targets/switch/build//bm/obj/dc.o] Error 4
The dmesg o/p showing as below,
[11251.234931] Out of memory: Kill process 31776 (cc1plus) score 563 or sacrifice child
[11251.234933] Killed process 31776 (cc1plus) total-vm:1310192kB, anon-rss:731552kB, file-rss:1560kB
from p4factory.
This problem fixed after increasing the VM's RAM Size from 1G to 4G.
from p4factory.
Related Issues (20)
- Connection reset by Peer (error 104) - When INT configuring SPINE HOT 3
- install_deps.sh error HOT 1
- install error HOT 2
- add table entries for multiple switches. HOT 6
- Configure two different switches in mininet simple_routing HOT 3
- installation is onerous - multiple issues
- int_ref_topology.py failed at docker_node.py self.pid = int(ps_out[0])
- app int mininet cannot ping between hosts due to wrong config for leaf/spine
- App INT error:Tsocket read 0 bytes error HOT 2
- run simple_router target error :No handlers could be found for logger "thrift.transport.TSocket" HOT 2
- Installation help on mininet?
- Ip fragmentation in p4 switch or host HOT 1
- Is the INT demo in p4 working? HOT 1
- Ubuntu 16.04 seems not supported
- Getting INT counters values from INT sinks
- Error while running : int_ref_topology.py
- Some questions about webclient?
- make bm error HOT 1
- saithrift cases are failing
- issues with creating docker image,vxlan driver HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from p4factory.