Bugzilla – Bug 1489
"Jakes" LogComponent is missing???
Last modified: 2012-08-27 03:02:27 UTC
When attempt to run the wifi example ./waf --run "wifi-simple-infra --verbose=1" it returns an error: ... Ipv4L3Protocol=0 Ipv4Interface=0 WifiSimpleInfra=0 msg="Logging component "Jakes" not found. See above for a list of available log components", file=../src/core/model/log.cc, line=280 terminate called without an active exception In WifiHelper we have: void WifiHelper::EnableLogComponents (void) { ... LogComponentEnable ("Jakes", LOG_LEVEL_ALL); ... } But I couldn't find the "Jakes"'log definition.
I'll take this bug and fix it later this week. This is probably due to the replacement of the Jakes model last release cycle, where old one had a LOG component defined, and new one does not. Temporary workaround is to put NS_LOG_COMPONENT_DEFINE ("Jakes"); in either the jakes-process.cc or jakes-propagation-loss-model.cc and rebuild ns-3.
> > Temporary workaround is to put > > NS_LOG_COMPONENT_DEFINE ("Jakes"); > > in either the jakes-process.cc or jakes-propagation-loss-model.cc and rebuild > ns-3. or else comment out the LogComponentEnable ("Jakes", LOG_LEVEL_ALL); statement, obviously.
changeset 4e780b4a0969