[Ns-bugs] [Bug 1228] object 'ns3-network--lib' was not found in uselib_local (required by 'bench-packets')

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Mon Aug 1 08:00:13 PDT 2011


https://www.nsnam.org/bugzilla/show_bug.cgi?id=1228

--- Comment #4 from Lalith Suresh <suresh.lalith at gmail.com> 2011-08-01 11:00:13 EDT ---
(In reply to comment #3)
> wscript says this:
> 
>     obj = bld.create_ns3_program('bench-packets', ['network'])
>     obj.source = 'bench-packets.cc'
> 
> but build is failing on this program when only 'core' is enabled

I'm not really good with the build system stuff, but here's my hunch:

- In the top level wscript, the code block between line 727 and 734 is what
decides whether a program should be built or not depending on whether the
dependencies for that program have been built.
- Line 795 is where the utils/ folder is added to the build list, and no
dependency checking is performed after that point.

I guess the reason this went unnoticed for so long is that no one really does a
build with only 'core' enabled (and no 'network'). :)

-- 
Configure bugmail: https://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Ns-bugs mailing list