title: ns-3 Build Error
body: <p>I am trying to build ns-3 using the command <code>./waf</code> inside the ns-3 folder,</p>
  
  <p>but it gives me this: </p>
  
  <pre><code>        Waf: Entering directory `/home/mptcp/build'
          Waf: Leaving directory `/home/mptcp/build'
          source not found: 'model/mp-tcp-onoff-application.cc' in 
  
  bld(features=['cxx', 'cxxshlib', 'ns3module'], 
  
  ns3_dir_location='src/applications', pcfilegen=bld(features='ns3pcfile', 
  
  idx=2, meths=[], prec=defaultdict(&lt;type 'list'&gt;, {}), _name='', source='', 
  
  module='ns3-applications', mappings={}, path=/home/mptcp/src/applications, 
  
  target='') in /home/mptcp/src/applications, use=['ns3-internet', 'ns3-
  
  config-store', 'ns3-stats', 'ns3-mptcp'], mappings={}, uselib='', meths=
  
  ['_add_test_code', 'apply_bundle', 'process_rule', 'process_source', 
  
  'apply_link', 'apply_implib', 'process_use', 'propagate_uselib_vars', 
  
  'apply_incpaths', 'apply_vnum', 'set_macosx_deployment_target'], 
  
  prec=defaultdict(&lt;type 'list'&gt;, {}), source=['model/bulk-send-
  
  application.cc', 'model/onoff-application.cc', 'model/packet-sink.cc', 
  
  'model/ping6.cc', 'model/radvd.cc', 'model/radvd-interface.cc', 
  
  'model/radvd-prefix.cc', 'model/udp-client.cc', 'model/udp-server.cc', 
  
  'model/seq-ts-header.cc', 'model/udp-trace-client.cc', 'model/packet-loss-
  
  counter.cc', 'model/udp-echo-client.cc', 'model/udp-echo-server.cc', 
  
  'model/v4ping.cc', 'model/application-packet-probe.cc', 'helper/bulk-send-
  
  helper.cc', 'helper/on-off-helper.cc', 'helper/packet-sink-helper.cc', 
  
  'helper/ping6-helper.cc', 'helper/udp-client-server-helper.cc', 
  
  'helper/udp-echo-helper.cc', 'helper/v4ping-helper.cc', 'helper/radvd-
  
  helper.cc', 'model/mp-tcp-packet-sink.cc', 'model/mp-tcp-bulk-send-
  
  application.cc', 'model/mp-tcp-onoff-application.cc', 'helper/mp-tcp-
  
  packet-sink-helper.cc', 'helper/mp-tcp-bulk-send-helper.cc'], test=False, 
  
  is_ns3_module=True, install_path='${LIBDIR}', module_deps=['internet', 
  
  'config-store', 'stats', 'mptcp'], dependencies=['internet', 'config-
  
  store', 'stats', 'mptcp'], path=/home/mptcp/src/applications, vnum=None, 
  
  posted=True, is_static=False, target='../../ns3.19-applications-debug', 
  
  idx=1, _name='ns3-applications') in /home/mptcp/src/applications
  </code></pre>
  
  <p>I cant figure out what to do. </p>
  
  <p><strong>I have removed the file /mp-tcp-onoff-application.cc from the folder and have also edited the wscript file.</strong></p>
  
  <p>How to remove this error ? This seems to be a missing source file error, what does the error message say ? I have already removed the file references.</p>