<div dir="ltr"><div><div><div><div><div><div><br></div>Hi,<br><br></div>ndnSIM/examples/wscript file is as follows:<br><br><div style="margin-left:40px">  1 ## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-<br>  2 <br>  3 from waflib import Utils, Logs<br>  4 <br>  5 def build(bld):<br>  6     # This may be necessary for visualizer to work<br>  7     all_modules = [mod[len("ns3-"):] for mod in bld.env['NS3_ENABLED_MODULES']]<br>  8 <br>  9     examples = bld.path.ant_glob(['*.cpp'], excl=['*-mpi.cpp'])<br> 10     if 'NS3_MPI' in bld.env['DEFINES_MPI']:<br> 11         examples += bld.path.ant_glob(['*-mpi.cpp'])<br> 12 <br> 13     for i in examples:<br> 14         name = str(i)[:-len(".cpp")]<br> 15         obj = bld.create_ns3_program(name, all_modules)<br> 16         obj.source = [i] + bld.path.ant_glob(['%s/**/*.cpp' % name])<br></div><br></div>I have added a new example file code in the ndnSIM/examples directory, which uses some of the objects in newly added code to ndnSIM. Right now, I am getting some linking errors where the definitions are available in the newly added code. How do I reference those .o files through above wscript file? What changes are required?<br></div></div><br></div>/anil.<br><br></div>