./waf configure --enable-examples
./waf build
building failes, every time at different code line (two examples listed below).
Could you please help me build it successfully? I'm fairly new to ns-3 and I could really use some help.
Example1:
[aleksandra@localhost ns-3.26]$ ./waf configure
[aleksandra@localhost ns-3.26]$ ./waf build
....
[1442/2010] Compiling src/mmwave/model/mmwave-net-device.cc
../src/mmwave/model/mmwave-enb-mac.cc: In member function ‘void
ns3::MmWaveEnbMac::DoReportBufferStatus(ns3::LteMacSapProvider::ReportBufferStatusParameters)’:
../src/mmwave/model/mmwave-enb-mac.cc:661:40: error: ‘struct
ns3::LteMacSapProvider::ReportBufferStatusParameters’ has no member
named ‘txPacketSizes’; did you mean ‘txQueueSize’?
schedParams.m_txPacketSizes = params.txPacketSizes;
^~
../src/mmwave/model/mmwave-enb-mac.cc:662:41: error: ‘struct
ns3::LteMacSapProvider::ReportBufferStatusParameters’ has no member
named ‘txPacketDelays’
schedParams.m_txPacketDelays = params.txPacketDelays;
^~
../src/mmwave/model/mmwave-enb-mac.cc:663:42: error: ‘struct
ns3::LteMacSapProvider::ReportBufferStatusParameters’ has no member
named ‘retxPacketSizes’; did you mean ‘retxQueueSize’?
schedParams.m_retxPacketSizes = params.retxPacketSizes;
^~
../src/mmwave/model/mmwave-enb-mac.cc:664:43: error: ‘struct
ns3::LteMacSapProvider::ReportBufferStatusParameters’ has no member
named ‘retxPacketDelays’; did you mean ‘retxQueueHolDelay’?
schedParams.m_retxPacketDelays = params.retxPacketDelays;
^~
../src/mmwave/model/mmwave-enb-mac.cc:665:38: error: ‘struct
ns3::LteMacSapProvider::ReportBufferStatusParameters’ has no member
named ‘arrivalRate’
schedParams.m_arrivalRate = params.arrivalRate;
^~
Waf: Leaving directory `/home/aleksandra/workspace/source/ns-3.26/build'
Build failed
-> task in 'ns3-mmwave' failed (exit status 1):
{task 139690920454992: cxx mmwave-enb-mac.cc -> mmwave-enb-mac.cc.1.o}
['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror',
'-std=c++11', '-Wno-error=deprecated-declarations', '-fstrict-aliasing',
'-Wstrict-aliasing', '-fPIC', '-pthread', '-pthread', '-I.', '-I..',
'-I/usr/include/gtk-2.0', '-I/usr/lib64/gtk-2.0/include',
'-I/usr/include/pango-1.0', '-I/usr/include/atk-1.0',
'-I/usr/include/cairo', '-I/usr/include/pixman-1',
'-I/usr/include/libdrm', '-I/usr/include/gdk-pixbuf-2.0',
'-I/usr/include/libpng16', '-I/usr/include/harfbuzz',
'-I/usr/include/glib-2.0', '-I/usr/lib64/glib-2.0/include',
'-I/usr/include/freetype2', '-I/usr/include/libxml2',
'-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE',
'-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1',
'-DHAVE_PACKET_H=1', '-DHAVE_IF_TUN_H=1', '-DHAVE_SQLITE3=1',
'-DHAVE_GTK2=1', '-DHAVE_LIBXML2=1',
'../src/mmwave/model/mmwave-enb-mac.cc', '-c', '-o',
'/home/aleksandra/workspace/source/ns-3.26/build/src/mmwave/model/mmwave-enb-mac.cc.1.o']_
Example 2:
[aleksandra@localhost ns-3.26]$ ./waf configure
[aleksandra@localhost ns-3.26]$ ./waf build
....
_[1639/2010] Compiling src/mmwave/model/mmwave-spectrum-signal-parameters.cc
../src/mmwave/model/mmwave-enb-mac.cc: In member function ‘void
ns3::MmWaveEnbMac::DoReportBufferStatus(ns3::LteMacSapProvider::ReportBufferStatusParameters)’:
../src/mmwave/model/mmwave-enb-mac.cc:661:40: error: ‘struct
ns3::LteMacSapProvider::ReportBufferStatusParameters’ has no member
named ‘txPacketSizes’; did you mean ‘txQueueSize’?
schedParams.m_txPacketSizes = params.txPacketSizes;
^~
../src/mmwave/model/mmwave-enb-mac.cc:662:41: error: ‘struct
ns3::LteMacSapProvider::ReportBufferStatusParameters’ has no member
named ‘txPacketDelays’
schedParams.m_txPacketDelays = params.txPacketDelays;
^~
../src/mmwave/model/mmwave-enb-mac.cc:663:42: error: ‘struct
ns3::LteMacSapProvider::ReportBufferStatusParameters’ has no member
named ‘retxPacketSizes’; did you mean ‘retxQueueSize’?
schedParams.m_retxPacketSizes = params.retxPacketSizes;
^~
../src/mmwave/model/mmwave-enb-mac.cc:664:43: error: ‘struct
ns3::LteMacSapProvider::ReportBufferStatusParameters’ has no member
named ‘retxPacketDelays’; did you mean ‘retxQueueHolDelay’?
schedParams.m_retxPacketDelays = params.retxPacketDelays;
^~
../src/mmwave/model/mmwave-enb-mac.cc:665:38: error: ‘struct
ns3::LteMacSapProvider::ReportBufferStatusParameters’ has no member
named ‘arrivalRate’
schedParams.m_arrivalRate = params.arrivalRate;
^~
Waf: Leaving directory `/home/aleksandra/workspace/source/ns-3.26/build'
Build failed
-> task in 'ns3-mmwave' failed (exit status 1):
{task 140643243655696: cxx mmwave-enb-mac.cc -> mmwave-enb-mac.cc.1.o}
['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror',
'-std=c++11', '-Wno-error=deprecated-declarations', '-fstrict-aliasing',
'-Wstrict-aliasing', '-fPIC', '-pthread', '-pthread', '-I.', '-I..',
'-I/usr/include/gtk-2.0', '-I/usr/lib64/gtk-2.0/include',
'-I/usr/include/pango-1.0', '-I/usr/include/atk-1.0',
'-I/usr/include/cairo', '-I/usr/include/pixman-1',
'-I/usr/include/libdrm', '-I/usr/include/gdk-pixbuf-2.0',
'-I/usr/include/libpng16', '-I/usr/include/harfbuzz',
'-I/usr/include/glib-2.0', '-I/usr/lib64/glib-2.0/include',
'-I/usr/include/freetype2', '-I/usr/include/libxml2',
'-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE',
'-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1',
'-DHAVE_PACKET_H=1', '-DHAVE_IF_TUN_H=1', '-DHAVE_SQLITE3=1',
'-DHAVE_GTK2=1', '-DHAVE_LIBXML2=1',
'../src/mmwave/model/mmwave-enb-mac.cc', '-c', '-o',
'/home/aleksandra/workspace/source/ns-3.26/build/src/mmwave/model/mmwave-enb-mac.cc.1.o']
[aleksandra@localhost ns-3.26]$