As a part of LTE-Security framework implementation in ns-3, I need to handle 256 bit data.
Now when I run the script with uint256_t data type, I'm getting the below error-
nitk@nitk:~/ns-allinone-3.19/ns-3.19$ ./waf
Waf: Entering directory `/home/nitk/ns-allinone-3.19/ns-3.19/build'
[ 798/1688] cxx: scratch/lena-x2-handover-measures.cc -> build/scratch/lena-x2-handover-measures.cc.1.o
../scratch/lena-x2-handover-measures.cc:36:3: error: ‘uint256_t’ does not name a type
uint256_t pav1;
^
Waf: Leaving directory `/home/nitk/ns-allinone-3.19/ns-3.19/build'
Build failed
-> task in 'lena-x2-handover-measures' failed (exit status 1):
{task 140539917038800: cxx lena-x2-handover-measures.cc -> lena-x2-handover-measures.cc.1.o}
['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-pthread', '-pthread', '-fno-strict-aliasing', '-fwrapv', '-fstack-protector', '-fno-strict-aliasing', '-I.', '-I..', '-I/usr/include/gtk-2.0', '-I/usr/lib/x86_64-linux-gnu/gtk-2.0/include', '-I/usr/include/atk-1.0', '-I/usr/include/cairo', '-I/usr/include/gdk-pixbuf-2.0', '-I/usr/include/pango-1.0', '-I/usr/include/gio-unix-2.0', '-I/usr/include/freetype2', '-I/usr/include/glib-2.0', '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include', '-I/usr/include/pixman-1', '-I/usr/include/libpng12', '-I/usr/include/harfbuzz', '-I/usr/include/libxml2', '-I/usr/include/python2.7', '-I/usr/include/x86_64-linux-gnu/python2.7', '-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', '-DNDEBUG', '-D_FORTIFY_SOURCE=2', '../scratch/lena-x2-handover-measures.cc', '-c', '-o', 'scratch/lena-x2-handover-measures.cc.1.o']
Please do needful and suggestions are highly appreciated.
Thanks and Regards,
Pavan Kumar Reddy K