title: Building error in ns3 with exit status 1:
body: <p>After installing ns3 succesfully i tried to compile it again with a new file(wifi-dl-ofdma.cc) in the scratch folder.</p>
  
  <p>When i try to run it with -</p>
  
  <p><em>./waf --run scratch/wifi-dl-ofdma</em> (no extension required for c++ file)</p>
  
  <p>Build terminate with this-</p>
  
  <pre>
  **Build failed
   -> task in 'wifi-dl-ofdma' failed (exit status 1): 
      {task 139886228468752: cxx wifi-dl-ofdma.cc -> wifi-dl-ofdma.cc.3.o}
  ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-std=c++11', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-pthread', '-pthread', '-I.', '-I..', '-I/usr/include/gtk-2.0', '-I/usr/lib/x86_64-linux-gnu/gtk-2.0/include', '-I/usr/include/gio-unix-2.0', '-I/usr/include/cairo', '-I/usr/include/pango-1.0', '-I/usr/include/atk-1.0', '-I/usr/include/pixman-1', '-I/usr/include/libpng12', '-I/usr/include/gdk-pixbuf-2.0', '-I/usr/include/harfbuzz', '-I/usr/include/glib-2.0', '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include', '-I/usr/include/freetype2', '-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_GTK2=1', '../scratch/wifi-dl-ofdma.cc', '-c', '-o', '/home/deepak/ns-allinone-3.27/ns-3.27/build/scratch/wifi-dl-ofdma.cc.3.o']**
  </pre>
  
  <p>I am not able to undernstand the error.</p>