Bug 1125 - ./waf --enable-modules fails
./waf --enable-modules fails
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: build system
ns-3-dev
All All
: P3 normal
Assigned To: Gustavo J. A. M. Carneiro
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-04 10:16 UTC by Nicola Baldo
Modified: 2011-05-04 14:23 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicola Baldo 2011-05-04 10:16:51 UTC
with current tip 7126:503de53783a4

if I use "./waf --enable-modules" outside of configure, it results in an error

./waf distclean
./waf --enable-modules=lte
Checking for program gcc or cc           : /usr/bin/gcc 
Checking for program cpp                 : /usr/bin/cpp 
[snip]
Waf: Entering directory `/home/nicola/locale/ns-3-dev/build'
the option --enable-modules is being applied to this build only; to make it permanent it needs to be given to waf configure.
Waf: Leaving directory `/home/nicola/locale/ns-3-dev/build'
object 'ns3-internet' was not found in uselib_local (required by 'ns3-lte')


note that if I do:
./waf distclean
./waf configure --enable-modules=lte
./waf

then it works properly.

The problem is that it currently seems that this option is supported. If we don't support it then waf should report a meaningful error.

I think this
Comment 1 Mitch Watrous 2011-05-04 14:23:02 UTC
Bug closed.

ns-3-dev changeset: 77b75cd826d0