Hi mptcp group members please help
during buid I got the following errors:
---------------------------------------------------------------------------------------------------------
[root@nl17 ns-3-allinone]# ./build.py
# Build NSC
Entering directory `nsc'
=> /usr/bin/python scons.py
scons: Reading SConscript files ...
Checking target architecure...(cached) amd64, checking userland ...(cached) amd64
Checking for C library fl... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
scons: `.' is up to date.
scons: done building targets.
Leaving directory `nsc'
# Build NS-3
Entering directory `./ns-3.6'
=> /usr/bin/python waf configure --with-regression-traces ../ns-3.6-ref-traces --with-pybindgen ../pybindgen --with-nsc ../nsc
Checking for program g++ : ok /usr/bin/g++
Checking for program cpp : ok /usr/bin/cpp
Checking for program ar : ok /usr/bin/ar
Checking for program ranlib : ok /usr/bin/ranlib
Checking for g++ : ok
Checking for program pkg-config : ok /usr/bin/pkg-config
Checking for regression traces location : ok ../ns-3.6-ref-traces (given)
Checking for -Wno-error=deprecated-declarations support : yes
Checking for -Wl,--soname=foo support : yes
Checking for header stdlib.h : ok
Checking for header signal.h : ok
Checking for header pthread.h : ok
Checking for high precision time implementation : 128-bit integer
Checking for header stdint.h : ok
Checking for header inttypes.h : ok
Checking for header sys/inttypes.h : not found
Checking for library rt : ok
Checking for header netpacket/packet.h : ok
Checking for header linux/if_tun.h : ok
Checking for pkg-config flags for GTK_CONFIG_STORE : ok
Checking for pkg-config flags for LIBXML2 : ok
Checking for library sqlite3 : ok
Checking for NSC location : ok ../nsc (given)
Checking for library dl : ok
Checking for NSC supported architecture x86_64 : ok
Checking for program python : ok /usr/bin/python
Checking for Python version >= 2.3 : ok 2.6.7
Checking for library python2.6 : ok
Checking for program python2.6-config : not found
Checking for program python-config-2.6 : not found
Checking for header Python.h : ok
Checking for -fvisibility=hidden support : yes
Checking for pybindgen location : ok ../pybindgen (given)
Checking for Python module pybindgen : ok
Checking for pybindgen version : ok 0.12.0.703
Checking for Python module pygccxml : not found
Checking for program sudo : ok /usr/bin/sudo
Checking for program hg : ok /usr/bin/hg
Checking for program valgrind : ok /usr/bin/valgrind
Checking for pkg-config flags for GSL : ok
---- Summary of optional NS-3 features:
Threading Primitives : enabled
Real Time Simulator : enabled
Emulated Net Device : enabled
Tap Bridge : enabled
GtkConfigStore : enabled
XmlIo : enabled
SQlite stats data output : enabled
Network Simulation Cradle : enabled
Python Bindings : enabled
Python API Scanning Support : not enabled (Missing 'pygccxml' Python module)
Use sudo to set suid bit : not enabled (option --enable-sudo not selected)
Build examples and samples : enabled
Static build : not enabled (option --enable-static not selected)
GNU Scientific Library (GSL) : enabled
'configure' finished successfully (0.960s)
=> /usr/bin/python waf build
Waf: Entering directory `/home/student/repos/ns-3-allinone/ns-3.6/build'
'/home/student/repos/ns-3-allinone/ns-3.6/bindings/python/ns3/__init__.py' -> '/home/student/repos/ns-3-allinone/ns-3.6/build/debug/bindings/python/ns3/__init__.py'
[538/949] cxx: src/internet-stack/mp-tcp-typedefs.cc -> build/debug/src/internet-stack/mp-tcp-typedefs_1.o
[566/949] cxx: src/applications/packet-sink/mp-tcp-packet-sink.cc -> build/debug/src/applications/packet-sink/mp-tcp-packet-sink_1.o
[584/949] cxx: src/mobility/hierarchical-mobility-model.cc -> build/debug/src/mobility/hierarchical-mobility-model_1.o
[585/949] cxx: src/mobility/mobility-model.cc -> build/debug/src/mobility/mobility-model_1.o
In file included from ../src/applications/packet-sink/mp-tcp-packet-sink.h:9,
from ../src/applications/packet-sink/mp-tcp-packet-sink.cc:13:
debug/ns3/mp-tcp-socket-impl.h:12:26: error: tcp-typedefs.h: No such file or directory
debug/ns3/mp-tcp-socket-impl.h:15:27: error: rtt-estimator.h: No such file or directory
In file included from ../src/applications/packet-sink/mp-tcp-packet-sink.cc:13:
../src/applications/packet-sink/mp-tcp-packet-sink.h:10:30: error: ns3/tcp-typedefs.h: No such file or directory
In file included from ../src/internet-stack/mp-tcp-typedefs.h:5,
from ../src/internet-stack/mp-tcp-typedefs.cc:6:
../src/internet-stack/tcp-typedefs.h:97: error: ‘Packet’ was not declared in this scope
../src/internet-stack/tcp-typedefs.h:97: error: template argument 1 is invalid
../src/internet-stack/tcp-typedefs.h:97: error: template argument 2 is invalid
../src/internet-stack/tcp-typedefs.h:97: error: template argument 4 is invalid
../src/internet-stack/tcp-typedefs.h:97: error: invalid type in declaration before ‘;’ token
In file included from ../src/internet-stack/mp-tcp-typedefs.cc:6:
../src/internet-stack/mp-tcp-typedefs.h:72: error: ‘Packet’ was not declared in this scope
../src/internet-stack/mp-tcp-typedefs.h:72: error: template argument 1 is invalid
../src/internet-stack/mp-tcp-typedefs.h:126: error: ‘Packet’ was not declared in this scope
../src/internet-stack/mp-tcp-typedefs.h:126: error: template argument 1 is invalid
../src/internet-stack/mp-tcp-typedefs.h:199: error: ‘Packet’ was not declared in this scope
../src/internet-stack/mp-tcp-typedefs.h:199: error: template argument 1 is invalid
../src/internet-stack/mp-tcp-typedefs.h:200: error: ‘Packet’ was not declared in this scope
../src/internet-stack/mp-tcp-typedefs.h:200: error: template argument 1 is invalid
../src/internet-stack/mp-tcp-typedefs.cc:34: error: ‘Packet’ was not declared in this scope
../src/internet-stack/mp-tcp-typedefs.cc:34: error: template argument 1 is invalid
../src/internet-stack/mp-tcp-typedefs.cc: In constructor ‘ns3::DSNMapping::DSNMapping(uint8_t, uint64_t, uint16_t, uint32_t, uint32_t, int)’:
../src/internet-stack/mp-tcp-typedefs.cc:43: error: base operand of ‘->’ is not a pointer
../src/internet-stack/mp-tcp-typedefs.cc: At global scope:
../src/internet-stack/mp-tcp-typedefs.cc:143: error: ‘Packet’ was not declared in this scope
../src/internet-stack/mp-tcp-typedefs.cc:143: error: template argument 1 is invalid
../src/internet-stack/mp-tcp-typedefs.cc: In member function ‘int ns3::DataBuffer::CreatePacket(uint32_t)’:
../src/internet-stack/mp-tcp-typedefs.cc:161: error: ‘Packet’ was not declared in this scope
../src/internet-stack/mp-tcp-typedefs.cc:161: error: template argument 1 is invalid
../src/internet-stack/mp-tcp-typedefs.cc:161: error: invalid type in declaration before ‘=’ token
../src/internet-stack/mp-tcp-typedefs.cc:161: error: expected type-specifier before ‘Packet’
../src/internet-stack/mp-tcp-typedefs.cc:161: error: invalid conversion from ‘int*’ to ‘int’
../src/internet-stack/mp-tcp-typedefs.cc:161: error: expected ‘,’ or ‘;’ before ‘Packet’
../src/internet-stack/mp-tcp-typedefs.cc: At global scope:
../src/internet-stack/mp-tcp-typedefs.cc:169: error: ‘Packet’ was not declared in this scope
../src/internet-stack/mp-tcp-typedefs.cc:169: error: template argument 1 is invalid
../src/internet-stack/mp-tcp-typedefs.cc: In member function ‘uint32_t ns3::DataBuffer::ReadPacket(int, uint32_t)’:
../src/internet-stack/mp-tcp-typedefs.cc:182: error: base operand of ‘->’ is not a pointer
../src/internet-stack/mp-tcp-typedefs.cc: At global scope:
../src/internet-stack/mp-tcp-typedefs.cc:529: error: ‘Packet’ was not declared in this scope
../src/internet-stack/mp-tcp-typedefs.cc:529: error: template argument 1 is invalid
In file included from debug/ns3/mp-tcp-socket-impl.h:17,
from ../src/applications/packet-sink/mp-tcp-packet-sink.h:9,
from ../src/applications/packet-sink/mp-tcp-packet-sink.cc:13:
debug/ns3/tcp-socket-impl.h:79: error: ‘RttEstimator’ was not declared in this scope
debug/ns3/tcp-socket-impl.h:79: error: template argument 1 is invalid
debug/ns3/tcp-socket-impl.h:111: error: ‘Actions_t’ has not been declared
debug/ns3/tcp-socket-impl.h:112: error: ‘Actions_t’ has not been declared
debug/ns3/tcp-socket-impl.h:114: error: ‘Actions_t’ has not been declared
debug/ns3/tcp-socket-impl.h:117: error: ‘Actions_t’ does not name a type
debug/ns3/tcp-socket-impl.h:191: error: ‘States_t’ does not name a type
debug/ns3/tcp-socket-impl.h:208: error: ‘UnAckData_t’ does not name a type
debug/ns3/tcp-socket-impl.h:233: error: ‘RttEstimator’ was not declared in this scope
debug/ns3/tcp-socket-impl.h:233: error: template argument 1 is invalid
In file included from debug/ns3/mp-tcp-socket-impl.h:19,
from ../src/applications/packet-sink/mp-tcp-packet-sink.h:9,
from ../src/applications/packet-sink/mp-tcp-packet-sink.cc:13:
debug/ns3/mp-tcp-typedefs.h:102: error: expected class-name before ‘{’ token
debug/ns3/mp-tcp-typedefs.h:108: error: ‘States_t’ has not been declared
debug/ns3/mp-tcp-typedefs.h:109: error: ‘Events_t’ has not been declared
debug/ns3/mp-tcp-typedefs.h:110: error: ‘Actions_t’ has not been declared
debug/ns3/mp-tcp-typedefs.h:132: error: ‘States_t’ does not name a type
debug/ns3/mp-tcp-typedefs.h:153: error: ‘RttMeanDeviation’ was not declared in this scope
debug/ns3/mp-tcp-typedefs.h:153: error: template argument 1 is invalid
In file included from ../src/applications/packet-sink/mp-tcp-packet-sink.h:9,
from ../src/applications/packet-sink/mp-tcp-packet-sink.cc:13:
debug/ns3/mp-tcp-socket-impl.h:142: error: ‘States_t’ does not name a type
debug/ns3/mp-tcp-socket-impl.h:181: error: ‘Actions_t’ does not name a type
debug/ns3/mp-tcp-socket-impl.h:227: error: ‘Actions_t’ has not been declared
debug/ns3/mp-tcp-socket-impl.h:228: error: ‘Actions_t’ has not been declared
debug/ns3/mp-tcp-socket-impl.h:229: error: ‘Actions_t’ does not name a type
Waf: Leaving directory `/home/student/repos/ns-3-allinone/ns-3.6/build'
Build failed
-> task failed (err #1):
{task: cxx mp-tcp-typedefs.cc -> mp-tcp-typedefs_1.o}
-> task failed (err #1):
{task: cxx mp-tcp-packet-sink.cc -> mp-tcp-packet-sink_1.o}
Traceback (most recent call last):
File "./build.py", line 216, in <module>
sys.exit(main(sys.argv))
File "./build.py", line 207, in main
build_ns3(config, build_examples, build_tests, args, build_options)
File "./build.py", line 100, in build_ns3
run_command([sys.executable, "waf", "build"] + build_options)
File "/home/student/repos/ns-3-allinone/util.py", line 24, in run_command
raise CommandError("Command %r exited with code %i" % (argv, retval))
util.CommandError: Command ['/usr/bin/python', 'waf', 'build'] exited with code 1
[root@nl17 ns-3-allinone]#
please suggest me where I am doing mistake ?
-----------------------------------------------------------------------------------------------------------------------------