Bug 1264

Summary: ns-3-dev (7524:b5df4870db14) fails to build on OS X Lion
Product: ns-3 Reporter: Ruben Merz <ruben>
Component: build systemAssignee: Gustavo J. A. M. Carneiro <gjcarneiro>
Status: CLOSED FIXED    
Severity: major CC: ns-bugs
Priority: P5    
Version: ns-3-dev   
Hardware: Mac Intel   
OS: Mac OS   

Description Ruben Merz 2011-09-22 10:41:30 UTC
OS X 10.7.1, macport 2.0.3:

with ./waf configure  -d debug --enable-modules=wifi,csma (output below)

I get some nasty output (I have gtkmm and libxml2++ installed through macport):


[889/950] cxxshlib: build/src/config-store/model/attribute-iterator.cc.1.o build/src/config-store/model/config-store.cc.1.o build/src/config-store/model/attribute-default-iterator.cc.1.o build/src/config-store/model/file-config.cc.1.o build/src/config-store/model/raw-text-config.cc.1.o build/src/config-store/model/gtk-config-store.cc.1.o build/src/config-store/model/model-node-creator.cc.1.o build/src/config-store/model/model-typeid-creator.cc.1.o build/src/config-store/model/display-functions.cc.1.o build/src/config-store/model/xml-config.cc.1.o -> build/libns3-config-store.dylib
Undefined symbols for architecture x86_64:
  "ns3::LogComponent::LogComponent(char const*)", referenced from:
      __static_initialization_and_destruction_0(int, int)in attribute-iterator.cc.1.o
      __static_initialization_and_destruction_0(int, int)in config-store.cc.1.o
      __static_initialization_and_destruction_0(int, int)in raw-text-config.cc.1.o
      __static_initialization_and_destruction_0(int, int)in gtk-config-store.cc.1.o
      __static_initialization_and_destruction_0(int, int)in xml-config.cc.1.o
  "ns3::FatalImpl::FlushStreams()", referenced from:
      ns3::AttributeIterator::Iterate()     in attribute-iterator.cc.1.o
      ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::Ref() constin attribute-iterator.cc.1.o
      ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::Ref() constin config-store.cc.1.o
      ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >::Ref() constin attribute-default-iterator.cc.1.o
      ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >::Ref() constin attribute-default-iterator.cc.1.o
      ns3::RawTextConfigLoad::Strip(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)in raw-text-config.cc.1.o
      ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::Ref() constin raw-text-config.cc.1.o
      ...
  "ns3::Object::DoDelete()", referenced from:
      ns3::ObjectDeleter::Delete(ns3::Object*)    in attribute-iterator.cc.1.o
      ns3::ObjectDeleter::Delete(ns3::Object*)    in raw-text-config.cc.1.o
      ns3::ObjectDeleter::Delete(ns3::Object*)    in model-node-creator.cc.1.o
      ns3::ObjectDeleter::Delete(ns3::Object*)    in display-functions.cc.1.o
      ns3::ObjectDeleter::Delete(ns3::Object*)    in xml-config.cc.1.o
  "vtable for ns3::PointerValue", referenced from:
      ns3::PointerValue::~PointerValue()in attribute-iterator.cc.1.o
      ns3::PointerValue::~PointerValue()in display-functions.cc.1.o
  "ns3::AttributeValue::~AttributeValue()", referenced from:
      ns3::PointerValue::~PointerValue()in attribute-iterator.cc.1.o
      ns3::ObjectPtrContainerValue::~ObjectPtrContainerValue()in attribute-iterator.cc.1.o
      ns3::StringValue::~StringValue()in config-store.cc.1.o
      ns3::EnumValue::~EnumValue()in config-store.cc.1.o
      ns3::StringValue::~StringValue()in raw-text-config.cc.1.o
      ns3::StringValue::~StringValue()in display-functions.cc.1.o
      ns3::PointerValue::~PointerValue()in display-functions.cc.1.o
      ...
  "vtable for ns3::ObjectPtrContainerValue", referenced from:
      ns3::ObjectPtrContainerValue::~ObjectPtrContainerValue()in attribute-iterator.cc.1.o
  "ns3::TypeId::GetName() const", referenced from:

ns3::AttributeIterator::StartVisitArrayItem(ns3::ObjectPtrContainerValue const&, unsigned int, ns3::Ptr<ns3::Object>)in attribute-iterator.cc.1.o

ns3::AttributeIterator::StartVisitPointerAttribute(ns3::Ptr<ns3::Object>, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, ns3::Ptr<ns3::Object>)in attribute-iterator.cc.1.o
      ns3::AttributeIterator::StartVisitObject(ns3::Ptr<ns3::Object>)    in attribute-iterator.cc.1.o
      ns3::AttributeIterator::DoIterate(ns3::Ptr<ns3::Object>)    in attribute-iterator.cc.1.o
      ns3::AttributeDefaultIterator::Iterate()     in attribute-default-iterator.cc.1.o
      ns3::cell_tooltip_callback_config_default(_GtkWidget*, int, int, int, _GtkTooltip*, void*)in display-functions.cc.1.o
      ns3::cell_data_function_col_0_config_default(_GtkTreeViewColumn*, _GtkCellRenderer*, _GtkTreeModel*, _GtkTreeIter*, void*)  in display-functions.cc.1.o
      ...
  "ns3::LogComponent::IsEnabled(ns3::LogLevel) const", referenced from:
      ns3::AttributeIterator::DoIterate(ns3::Ptr<ns3::Object>)    in attribute-iterator.cc.1.o
      ns3::RawTextConfigLoad::Default()     in raw-text-config.cc.1.o
      ns3::RawTextConfigLoad::Global()     in raw-text-config.cc.1.o
      ns3::RawTextConfigLoad::Attributes()      in raw-text-config.cc.1.o
      ns3::XmlConfigSave::XmlConfigSave()in xml-config.cc.1.o
      ns3::XmlConfigLoad::Attributes()      in xml-config.cc.1.o
      ns3::XmlConfigLoad::Global()     in xml-config.cc.1.o
      ...
  "ns3::LogGetTimePrinter()", referenced from:
      ns3::AttributeIterator::DoIterate(ns3::Ptr<ns3::Object>)    in attribute-iterator.cc.1.o
      ns3::RawTextConfigLoad::Default()     in raw-text-config.cc.1.o
      ns3::RawTextConfigLoad::Global()     in raw-text-config.cc.1.o
      ns3::RawTextConfigLoad::Attributes()      in raw-text-config.cc.1.o
      ns3::XmlConfigSave::XmlConfigSave()in xml-config.cc.1.o
      ns3::XmlConfigLoad::Attributes()      in xml-config.cc.1.o
      ns3::XmlConfigLoad::Global()     in xml-config.cc.1.o
      ...
  "ns3::LogGetNodePrinter()", referenced from:
      ns3::AttributeIterator::DoIterate(ns3::Ptr<ns3::Object>)    in attribute-iterator.cc.1.o
      ns3::RawTextConfigLoad::Default()     in raw-text-config.cc.1.o
      ns3::RawTextConfigLoad::Global()     in raw-text-config.cc.1.o
      ns3::RawTextConfigLoad::Attributes()      in raw-text-config.cc.1.o
      ns3::XmlConfigSave::XmlConfigSave()in xml-config.cc.1.o
      ns3::XmlConfigLoad::Attributes()      in xml-config.cc.1.o
      ns3::XmlConfigLoad::Global()     in xml-config.cc.1.o
      ...
  "ns3::LogComponent::Name() const", referenced from:
      ns3::AttributeIterator::DoIterate(ns3::Ptr<ns3::Object>)    in attribute-iterator.cc.1.o
      ns3::RawTextConfigLoad::Default()     in raw-text-config.cc.1.o
      ns3::RawTextConfigLoad::Global()     in raw-text-config.cc.1.o
      ns3::RawTextConfigLoad::Attributes()      in raw-text-config.cc.1.o
      ns3::XmlConfigSave::XmlConfigSave()in xml-config.cc.1.o
      ns3::XmlConfigLoad::Attributes()      in xml-config.cc.1.o
      ns3::XmlConfigLoad::Global()     in xml-config.cc.1.o
      ...
  "ns3::TypeId::GetAttribute(unsigned int) const", referenced from:
      ns3::AttributeIterator::DoIterate(ns3::Ptr<ns3::Object>)    in attribute-iterator.cc.1.o
      ns3::AttributeDefaultIterator::Iterate()     in attribute-default-iterator.cc.1.o
      ns3::cell_tooltip_callback_config_default(_GtkWidget*, int, int, int, _GtkTooltip*, void*)in display-functions.cc.1.o
      ns3::cell_tooltip_callback(_GtkWidget*, int, int, int, _GtkTooltip*, void*)in display-functions.cc.1.o
  "typeinfo for ns3::AttributeChecker", referenced from:
      ns3::AttributeIterator::DoIterate(ns3::Ptr<ns3::Object>)    in attribute-iterator.cc.1.o
      typeinfo for ns3::PointerCheckerin attribute-iterator.cc.1.o
      typeinfo for ns3::ObjectPtrContainerCheckerin attribute-iterator.cc.1.o
  "ns3::PointerValue::PointerValue()", referenced from:
      ns3::AttributeIterator::DoIterate(ns3::Ptr<ns3::Object>)    in attribute-iterator.cc.1.o
      ns3::cell_tooltip_callback(_GtkWidget*, int, int, int, _GtkTooltip*, void*)in display-functions.cc.1.o
  "ns3::ObjectBase::GetAttribute(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, ns3::AttributeValue&) const", referenced from:
      ns3::AttributeIterator::DoIterate(ns3::Ptr<ns3::Object>)    in attribute-iterator.cc.1.o

ns3::RawTextConfigSave::Attributes()::RawTextAttributeIterator::DoVisitAttribute(ns3::Ptr<ns3::Object>, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)in raw-text-config.cc.1.o
      ns3::cell_data_function_col_1(_GtkTreeViewColumn*, _GtkCellRenderer*, _GtkTreeModel*, _GtkTreeIter*, void*)  in display-functions.cc.1.o
      ns3::cell_tooltip_callback(_GtkWidget*, int, int, int, _GtkTooltip*, void*)in display-functions.cc.1.o

ns3::XmlConfigSave::Attributes()::XmlTextAttributeIterator::DoVisitAttribute(ns3::Ptr<ns3::Object>, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)in xml-config.cc.1.o
  "ns3::ObjectPtrContainerValue::ObjectPtrContainerValue()", referenced from:
      ns3::AttributeIterator::DoIterate(ns3::Ptr<ns3::Object>)    in attribute-iterator.cc.1.o
  "ns3::ObjectPtrContainerValue::Get(unsigned int) const", referenced from:
      ns3::AttributeIterator::DoIterate(ns3::Ptr<ns3::Object>)    in attribute-iterator.cc.1.o
  "ns3::ObjectPtrContainerValue::GetN() const", referenced from:
      ns3::AttributeIterator::DoIterate(ns3::Ptr<ns3::Object>)    in attribute-iterator.cc.1.o
  "ns3::TypeId::GetAttributeN() const", referenced from:
      ns3::AttributeIterator::DoIterate(ns3::Ptr<ns3::Object>)    in attribute-iterator.cc.1.o
      ns3::AttributeDefaultIterator::Iterate()     in attribute-default-iterator.cc.1.o
      ns3::cell_tooltip_callback(_GtkWidget*, int, int, int, _GtkTooltip*, void*)in display-functions.cc.1.o
  "ns3::TypeId::GetParent() const", referenced from:
      ns3::AttributeIterator::DoIterate(ns3::Ptr<ns3::Object>)    in attribute-iterator.cc.1.o

ns3::XConfigStoreRegistrationClass::XConfigStoreRegistrationClass()in config-store.cc.1.o
      ns3::cell_tooltip_callback(_GtkWidget*, int, int, int, _GtkTooltip*, void*)in display-functions.cc.1.o
  "ns3::TypeId::HasParent() const", referenced from:
      ns3::AttributeIterator::DoIterate(ns3::Ptr<ns3::Object>)    in attribute-iterator.cc.1.o
      ns3::cell_tooltip_callback(_GtkWidget*, int, int, int, _GtkTooltip*, void*)in display-functions.cc.1.o
  "ns3::Object::GetAggregateIterator() const", referenced from:
      ns3::AttributeIterator::DoIterate(ns3::Ptr<ns3::Object>)    in attribute-iterator.cc.1.o
  "ns3::Object::AggregateIterator::Next()", referenced from:
      ns3::AttributeIterator::DoIterate(ns3::Ptr<ns3::Object>)    in attribute-iterator.cc.1.o
  "ns3::Object::AggregateIterator::HasNext() const", referenced from:
      ns3::AttributeIterator::DoIterate(ns3::Ptr<ns3::Object>)    in attribute-iterator.cc.1.o
  "ns3::Config::GetRootNamespaceObject(unsigned int)", referenced from:
      ns3::AttributeIterator::Iterate()     in attribute-iterator.cc.1.o
  "ns3::Config::GetRootNamespaceObjectN()", referenced from:
      ns3::AttributeIterator::Iterate()     in attribute-iterator.cc.1.o
  "ns3::MakeEnumChecker(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)", referenced from:
      ns3::ConfigStore::GetTypeId()     in config-store.cc.1.o
  "ns3::EnumValue::EnumValue(int)", referenced from:
      ns3::ConfigStore::GetTypeId()     in config-store.cc.1.o
  "ns3::MakeStringChecker()", referenced from:
      ns3::ConfigStore::GetTypeId()     in config-store.cc.1.o
  "ns3::StringValue::StringValue(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from:
      ns3::ConfigStore::GetTypeId()     in config-store.cc.1.o
      ns3::RawTextConfigLoad::Default()     in raw-text-config.cc.1.o
      ns3::RawTextConfigLoad::Global()     in raw-text-config.cc.1.o
      ns3::RawTextConfigLoad::Attributes()      in raw-text-config.cc.1.o
      ns3::cell_edited_callback_config_default(_GtkCellRendererText*, char*, char*, void*)in display-functions.cc.1.o
      ns3::cell_edited_callback(_GtkCellRendererText*, char*, char*, void*)in display-functions.cc.1.o
      ns3::XmlConfigLoad::Attributes()      in xml-config.cc.1.o
      ...
  "ns3::TypeId::TypeId(char const*)", referenced from:
      ns3::ConfigStore::GetTypeId()     in config-store.cc.1.o
  "ns3::TypeId::AddAttribute(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, ns3::AttributeValue const&, ns3::Ptr<ns3::AttributeAccessor const>, ns3::Ptr<ns3::AttributeChecker const>)", referenced from:
      ns3::ConfigStore::GetTypeId()     in config-store.cc.1.o
  "vtable for ns3::ObjectBase", referenced from:
      ns3::ObjectBase::ObjectBase()in config-store.cc.1.o
  "typeinfo for ns3::AttributeValue", referenced from:
      ns3::AccessorHelper<ns3::ConfigStore, ns3::EnumValue>::Get(ns3::ObjectBase const*, ns3::AttributeValue&) constin config-store.cc.1.o
      ns3::AccessorHelper<ns3::ConfigStore, ns3::EnumValue>::Set(ns3::ObjectBase*, ns3::AttributeValue const&) constin config-store.cc.1.o
      ns3::AccessorHelper<ns3::ConfigStore, ns3::StringValue>::Get(ns3::ObjectBase const*, ns3::AttributeValue&) constin config-store.cc.1.o
      ns3::AccessorHelper<ns3::ConfigStore, ns3::StringValue>::Set(ns3::ObjectBase*, ns3::AttributeValue const&) constin config-store.cc.1.o
      ns3::Ptr<ns3::ObjectPtrContainerValue const> ns3::DynamicCast<ns3::ObjectPtrContainerValue const, ns3::AttributeValue const>(ns3::Ptr<ns3::AttributeValue const> const&)in attribute-default-iterator.cc.1.o
      ns3::Ptr<ns3::PointerValue const> ns3::DynamicCast<ns3::PointerValue const, ns3::AttributeValue const>(ns3::Ptr<ns3::AttributeValue const> const&)in attribute-default-iterator.cc.1.o
  "typeinfo for ns3::EnumValue", referenced from:
      ns3::AccessorHelper<ns3::ConfigStore, ns3::EnumValue>::Get(ns3::ObjectBase const*, ns3::AttributeValue&) constin config-store.cc.1.o
      ns3::AccessorHelper<ns3::ConfigStore, ns3::EnumValue>::Set(ns3::ObjectBase*, ns3::AttributeValue const&) constin config-store.cc.1.o
  "typeinfo for ns3::ObjectBase", referenced from:
      ns3::AccessorHelper<ns3::ConfigStore, ns3::EnumValue>::Get(ns3::ObjectBase const*, ns3::AttributeValue&) constin config-store.cc.1.o
      ns3::AccessorHelper<ns3::ConfigStore, ns3::EnumValue>::Set(ns3::ObjectBase*, ns3::AttributeValue const&) constin config-store.cc.1.o
      ns3::AccessorHelper<ns3::ConfigStore, ns3::StringValue>::Get(ns3::ObjectBase const*, ns3::AttributeValue&) constin config-store.cc.1.o
      ns3::AccessorHelper<ns3::ConfigStore, ns3::StringValue>::Set(ns3::ObjectBase*, ns3::AttributeValue const&) constin config-store.cc.1.o
      typeinfo for ns3::ConfigStorein config-store.cc.1.o
  "typeinfo for ns3::StringValue", referenced from:
      ns3::AccessorHelper<ns3::ConfigStore, ns3::StringValue>::Get(ns3::ObjectBase const*, ns3::AttributeValue&) constin config-store.cc.1.o
      ns3::AccessorHelper<ns3::ConfigStore, ns3::StringValue>::Set(ns3::ObjectBase*, ns3::AttributeValue const&) constin config-store.cc.1.o
  "ns3::AttributeAccessor::~AttributeAccessor()", referenced from:
      ns3::AccessorHelper<ns3::ConfigStore, ns3::EnumValue>::~AccessorHelper()in config-store.cc.1.o
      ns3::AccessorHelper<ns3::ConfigStore, ns3::EnumValue>::~AccessorHelper()in config-store.cc.1.o
      ns3::AccessorHelper<ns3::ConfigStore, ns3::EnumValue>::~AccessorHelper()in config-store.cc.1.o
      ns3::AccessorHelper<ns3::ConfigStore, ns3::StringValue>::~AccessorHelper()in config-store.cc.1.o
      ns3::AccessorHelper<ns3::ConfigStore, ns3::StringValue>::~AccessorHelper()in config-store.cc.1.o
      ns3::AccessorHelper<ns3::ConfigStore, ns3::StringValue>::~AccessorHelper()in config-store.cc.1.o
  "ns3::ObjectBase::~ObjectBase()", referenced from:
      ns3::ConfigStore::~ConfigStore()in config-store.cc.1.o
      ns3::ConfigStore::~ConfigStore()in config-store.cc.1.o
      ns3::ConfigStore::~ConfigStore()in config-store.cc.1.o
      ns3::ConfigStore::ConfigStore()in config-store.cc.1.o
      ns3::ConfigStore::ConfigStore()in config-store.cc.1.o
  "ns3::AttributeConstructionList::AttributeConstructionList()", referenced from:
      ns3::ConfigStore::ConfigStore()in config-store.cc.1.o
      ns3::ConfigStore::ConfigStore()in config-store.cc.1.o
  "ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const&)", referenced from:
      ns3::ConfigStore::ConfigStore()in config-store.cc.1.o
      ns3::ConfigStore::ConfigStore()in config-store.cc.1.o
  "ns3::AttributeAccessor::AttributeAccessor()", referenced from:
      ns3::AccessorHelper<ns3::ConfigStore, ns3::EnumValue>::AccessorHelper()in config-store.cc.1.o
      ns3::AccessorHelper<ns3::ConfigStore, ns3::StringValue>::AccessorHelper()in config-store.cc.1.o
  "ns3::ObjectBase::GetTypeId()", referenced from:
      ns3::TypeId ns3::TypeId::SetParent<ns3::ObjectBase>()in config-store.cc.1.o
  "ns3::TypeId::SetParent(ns3::TypeId)", referenced from:
      ns3::TypeId ns3::TypeId::SetParent<ns3::ObjectBase>()in config-store.cc.1.o
  "vtable for ns3::StringValue", referenced from:
      ns3::StringValue::~StringValue()in config-store.cc.1.o
      ns3::StringValue::~StringValue()in raw-text-config.cc.1.o
      ns3::StringValue::~StringValue()in display-functions.cc.1.o
      ns3::StringValue::~StringValue()in xml-config.cc.1.o
  "vtable for ns3::EnumValue", referenced from:
      ns3::EnumValue::~EnumValue()in config-store.cc.1.o
  "typeinfo for ns3::AttributeAccessor", referenced from:
      typeinfo for ns3::AccessorHelper<ns3::ConfigStore, ns3::EnumValue>in config-store.cc.1.o
      typeinfo for ns3::AccessorHelper<ns3::ConfigStore, ns3::StringValue>in config-store.cc.1.o
  "ns3::ObjectBase::NotifyConstructionCompleted()", referenced from:
      vtable for ns3::ConfigStorein config-store.cc.1.o
  "typeinfo for ns3::ObjectPtrContainerValue", referenced from:
      ns3::Ptr<ns3::ObjectPtrContainerValue const> ns3::DynamicCast<ns3::ObjectPtrContainerValue const, ns3::AttributeValue const>(ns3::Ptr<ns3::AttributeValue const> const&)in attribute-default-iterator.cc.1.o
  "typeinfo for ns3::PointerValue", referenced from:
      ns3::Ptr<ns3::PointerValue const> ns3::DynamicCast<ns3::PointerValue const, ns3::AttributeValue const>(ns3::Ptr<ns3::AttributeValue const> const&)in attribute-default-iterator.cc.1.o
  "ns3::TypeId::GetRegistered(unsigned int)", referenced from:
      ns3::AttributeDefaultIterator::Iterate()     in attribute-default-iterator.cc.1.o
  "ns3::TypeId::MustHideFromDocumentation() const", referenced from:
      ns3::AttributeDefaultIterator::Iterate()     in attribute-default-iterator.cc.1.o
  "ns3::TypeId::GetRegisteredN()", referenced from:
      ns3::AttributeDefaultIterator::Iterate()     in attribute-default-iterator.cc.1.o
  "ns3::GlobalValue::Begin()", referenced from:
      ns3::RawTextConfigSave::Global()     in raw-text-config.cc.1.o
      ns3::XmlConfigSave::Global()     in xml-config.cc.1.o
  "ns3::StringValue::StringValue()", referenced from:
      ns3::RawTextConfigSave::Global()     in raw-text-config.cc.1.o

ns3::RawTextConfigSave::Attributes()::RawTextAttributeIterator::DoVisitAttribute(ns3::Ptr<ns3::Object>, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)in raw-text-config.cc.1.o
      ns3::cell_data_function_col_1(_GtkTreeViewColumn*, _GtkCellRenderer*, _GtkTreeModel*, _GtkTreeIter*, void*)  in display-functions.cc.1.o
      ns3::XmlConfigSave::Global()     in xml-config.cc.1.o

ns3::XmlConfigSave::Attributes()::XmlTextAttributeIterator::DoVisitAttribute(ns3::Ptr<ns3::Object>, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)in xml-config.cc.1.o
  "ns3::GlobalValue::GetValue(ns3::AttributeValue&) const", referenced from:
      ns3::RawTextConfigSave::Global()     in raw-text-config.cc.1.o
      ns3::XmlConfigSave::Global()     in xml-config.cc.1.o
  "ns3::StringValue::Get() const", referenced from:
      ns3::RawTextConfigSave::Global()     in raw-text-config.cc.1.o

ns3::RawTextConfigSave::Attributes()::RawTextAttributeIterator::DoVisitAttribute(ns3::Ptr<ns3::Object>, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)in raw-text-config.cc.1.o
      ns3::cell_data_function_col_1(_GtkTreeViewColumn*, _GtkCellRenderer*, _GtkTreeModel*, _GtkTreeIter*, void*)  in display-functions.cc.1.o
      ns3::XmlConfigSave::Global()     in xml-config.cc.1.o

ns3::XmlConfigSave::Attributes()::XmlTextAttributeIterator::DoVisitAttribute(ns3::Ptr<ns3::Object>, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)in xml-config.cc.1.o
  "ns3::GlobalValue::GetName() const", referenced from:
      ns3::RawTextConfigSave::Global()     in raw-text-config.cc.1.o
      ns3::XmlConfigSave::Global()     in xml-config.cc.1.o
  "ns3::GlobalValue::End()", referenced from:
      ns3::RawTextConfigSave::Global()     in raw-text-config.cc.1.o
      ns3::XmlConfigSave::Global()     in xml-config.cc.1.o
  "ns3::Config::SetDefault(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, ns3::AttributeValue const&)", referenced from:
      ns3::RawTextConfigLoad::Default()     in raw-text-config.cc.1.o
      ns3::XmlConfigLoad::Default()     in xml-config.cc.1.o
  "ns3::Config::SetGlobal(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, ns3::AttributeValue const&)", referenced from:
      ns3::RawTextConfigLoad::Global()     in raw-text-config.cc.1.o
      ns3::XmlConfigLoad::Global()     in xml-config.cc.1.o
  "ns3::Config::Set(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, ns3::AttributeValue const&)", referenced from:
      ns3::RawTextConfigLoad::Attributes()      in raw-text-config.cc.1.o
      ns3::XmlConfigLoad::Attributes()      in xml-config.cc.1.o
  "ns3::TypeId::LookupByName(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)", referenced from:
      ns3::ModelTypeidCreator::StartVisitTypeId(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)in model-typeid-creator.cc.1.o
  "ns3::TypeId::GetAttributeFullName(unsigned int) const", referenced from:
      ns3::cell_edited_callback_config_default(_GtkCellRendererText*, char*, char*, void*)in display-functions.cc.1.o
  "ns3::Config::SetDefaultFailSafe(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, ns3::AttributeValue const&)", referenced from:
      ns3::cell_edited_callback_config_default(_GtkCellRendererText*, char*, char*, void*)in display-functions.cc.1.o
  "ns3::PointerValue::GetObject() const", referenced from:
      ns3::cell_tooltip_callback(_GtkWidget*, int, int, int, _GtkTooltip*, void*)in display-functions.cc.1.o
  "ns3::ObjectBase::SetAttribute(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, ns3::AttributeValue const&)", referenced from:
      ns3::cell_edited_callback(_GtkCellRendererText*, char*, char*, void*)in display-functions.cc.1.o
  "ns3::ParameterLogger::ParameterLogger(std::basic_ostream<char, std::char_traits<char> >&)", referenced from:
      ns3::XmlConfigSave::XmlConfigSave()in xml-config.cc.1.o
      ns3::XmlConfigLoad::SetFilename(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)in xml-config.cc.1.o
      ns3::XmlConfigLoad::~XmlConfigLoad()in xml-config.cc.1.o
      ns3::XmlConfigLoad::~XmlConfigLoad()in xml-config.cc.1.o
      ns3::XmlConfigLoad::~XmlConfigLoad()in xml-config.cc.1.o
      ns3::XmlConfigLoad::XmlConfigLoad()in xml-config.cc.1.o
      ns3::XmlConfigLoad::XmlConfigLoad()in xml-config.cc.1.o
      ...
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
Waf: Leaving directory `/Users/ruben/src/ns-3-dev/build'
Build failed
 -> task failed (exit status 1):
    {task 4420501136: cxxshlib attribute-iterator.cc.1.o,config-store.cc.1.o,attribute-default-iterator.cc.1.o,file-config.cc.1.o,raw-text-config.cc.1.o,gtk-config-store.cc.1.o,model-node-creator.cc.1.o,model-typeid-creator.cc.1.o,display-functions.cc.1.o,xml-config.cc.1.o -> libns3-config-store.dylib}
['/usr/bin/g++', 'src/config-store/model/attribute-iterator.cc.1.o', 'src/config-store/model/config-store.cc.1.o', 'src/config-store/model/attribute-default-iterator.cc.1.o', 'src/config-store/model/file-config.cc.1.o', 'src/config-store/model/raw-text-config.cc.1.o', 'src/config-store/model/gtk-config-store.cc.1.o', 'src/config-store/model/model-node-creator.cc.1.o', 'src/config-store/model/model-typeid-creator.cc.1.o', 'src/config-store/model/display-functions.cc.1.o', 'src/config-store/model/xml-config.cc.1.o', '-o', '/Users/ruben/src/ns-3-dev/build/libns3-config-store.dylib', '-L/opt/local/lib', '-L/opt/local/lib', '-lgtk-x11-2.0', '-lgdk-x11-2.0', '-latk-1.0', '-lpangocairo-1.0', '-lXext', '-lXrender', '-lXinerama', '-lXi', '-lXrandr', '-lXcursor', '-lXcomposite', '-lXdamage', '-lgdk_pixbuf-2.0', '-lpangoft2-1.0', '-lgio-2.0', '-lXfixes', '-lcairo', '-lX11', '-lpng14', '-lpango-1.0', '-lm', '-lfreetype', '-lfontconfig', '-lgobject-2.0', '-lgmodule-2.0', '-lgthread-2.0', '-lglib-2.0', '-lintl', '-lxml2', '-dynamiclib']








Here is the configure output:

Setting top to                           : /Users/ruben/src/ns-3-dev
Setting out to                           : /Users/ruben/src/ns-3-dev/build
Checking for 'gcc' (c compiler)          : /usr/bin/gcc
Checking for 'g++' (c++ compiler)        : /usr/bin/g++
Checking for program pkg-config          : /opt/local/bin/pkg-config
Checking for click location              : not found
Checking for pkg-config flags for GTK_CONFIG_STORE : ok
Checking for pkg-config flags for LIBXML2          : ok
Checking for type uint128_t                        : not found
Checking for type __uint128_t                      : yes
Checking high precision time implementation        : 128-bit integer
Checking for header stdint.h                       : yes
Checking for header inttypes.h                     : yes
Checking for header sys/inttypes.h                 : not found
Checking for header sys/types.h                    : yes
Checking for header sys/stat.h                     : yes
Checking for header dirent.h                       : yes
Checking for header stdlib.h                       : yes
Checking for header signal.h                       : yes
Checking for header pthread.h                      : yes
Checking for header stdint.h                       : yes
Checking for header inttypes.h                     : yes
Checking for header sys/inttypes.h                 : not found
Checking for library rt                            : not found
Checking for header netpacket/packet.h             : not found
Checking for NSC location                          : not found
Checking for program mpic++                        : not found
Checking for header sys/socket.h                   : yes
Checking for header netinet/in.h                   : yes
Checking boost includes                            : 1_47
Checking boost libs                                : ok
Checking for OpenFlow location                     : not found
Checking for library sqlite3                       : yes
Checking for header linux/if_tun.h                 : not found
Checking for program python                        : /opt/local/bin/python
python executable '/opt/local/bin/python' different from sys.executable '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python'
Checking for python version                        : (2, 7, 2, 'final', 0)
Checking for library python2.7 in LIBPATH_PYEMBED  : yes
Checking for program python2.7-config,python-config-2.7,python2.7m-config : /opt/local/bin/python2.7-config
Checking for header Python.h   : yes
Checking for compilation flag '-fvisibility=hidden' support   : ok
Checking for pybindgen location   : not found
Python module pybindgen   : not found
pybindgen missing => no python bindings
Checking for program sudo   : /usr/bin/sudo
Checking for program valgrind   : not found
Checking for pkg-config flags for GSL   : ok
Checking for compilation flag '-Wno-error=deprecated-declarations' support : ok
Checking for compilation flag '-Wno-error=deprecated-declarations' support : ok
Checking for compilation flag '-fstrict-aliasing' support    : ok
Checking for compilation flag '-fstrict-aliasing' support    : ok
Checking for compilation flag '-Wstrict-aliasing' support    : ok
Checking for compilation flag '-Wstrict-aliasing' support    : ok
Checking for program doxygen    : /opt/local/bin/doxygen
---- Summary of optional NS-3 features:
Static build                  : not enabled (option --enable-static not selected)
NS-3 Click Integration        : not enabled (nsclick not enabled (see option --with-nsclick))
GtkConfigStore                : enabled
XmlIo                         : enabled
Threading Primitives          : enabled
Real Time Simulator           : not enabled (librt is not available)
Emulated Net Device           : not enabled (<netpacket/packet.h> include not detected)
Network Simulation Cradle     : not enabled (NSC not found (see option --with-nsc))
NS-3 OpenFlow Integration     : not enabled (OpenFlow not enabled (see option --with-openflow))
SQlite stats data output      : enabled
Tap Bridge                    : not enabled (<linux/if_tun.h> include not detected)
Python Bindings               : not enabled (PyBindGen missing)
Use sudo to set suid bit      : not enabled (option --enable-sudo not selected)
Build tests                   : not enabled (defaults to disabled)
Build examples                : enabled
GNU Scientific Library (GSL)  : enabled
'configure' finished successfully (2.722s)
Comment 1 Gustavo J. A. M. Carneiro 2011-09-22 10:43:51 UTC
Can you check again? I committed a patch today that should fix it...
Comment 2 Ruben Merz 2011-09-22 10:51:01 UTC
Indeed, seems to be working. I'll do a bit more testing and close it later if everything is ok.