Hello Everyone,
1) I wanted to configure the "Open Flow Switch Module" for obtaining NS-3 network switch code. I followed the instructions which are given in the link:
2) However, when I ran the build command which is " ./waf build ", I got the following error message:
collect2: error: ld returned 1 exit status
Waf: Leaving directory `/home/rkalse/repos/ns-3-allinone/ns-3.25/build'
Build failed
-> task in 'openflow-switch' failed (exit status 1):
{task 139807469943504: cxxprogram openflow-switch.cc.1.o -> ns3.25-openflow-switch-debug}
['/usr/bin/g++', '-pthread', '-pthread', 'src/openflow/examples/openflow-switch.cc.1.o', '-o', '/home/rkalse/repos/ns-3-allinone/ns-3.25/build/src/openflow/examples/ns3.25-openflow-switch-debug', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Wl,--no-as-needed', '-L.', '-L/home/rkalse/openflow/build/default', '-L/home/rkalse/openflow/lib', '-lns3.25-openflow-debug', '-lns3.25-applications-debug', '-lns3.25-internet-debug', '-lns3.25-bridge-debug', '-lns3.25-mpi-debug', '-lns3.25-traffic-control-debug', '-lns3.25-csma-debug', '-lns3.25-config-store-debug', '-lns3.25-network-debug', '-lns3.25-stats-debug', '-lns3.25-core-debug', '-lrt', '-lgsl', '-lgslcblas', '-lm', '-lsqlite3', '-lopenflow', '-ldl', '-ldl', '-lxml2', '-lgtk-x11-2.0', '-lgdk-x11-2.0', '-lpangocairo-1.0', '-latk-1.0', '-lcairo', '-lgdk_pixbuf-2.0', '-lgio-2.0', '-lpangoft2-1.0', '-lpango-1.0', '-lgobject-2.0', '-lglib-2.0', '-lfontconfig', '-lfreetype', '-lxml2']
3) How to rectify this issue ? Do I need to include any other library file ?
4) Finally, I want to construct a basic network switch which can exchange data between several nodes. So, will the Open Flow Switch Model be a good choice or do I need to find any other module ?
Thanks in advance for your time.
Best Regards,
Rohit K