Bug 2017

Summary: BRITE does not build correctly on darwin
Product: ns-3 Reporter: Tom Henderson <tomh>
Component: briteAssignee: Brian Swenson <bswenson3>
Status: NEW ---    
Severity: normal CC: ns-bugs
Priority: P5    
Version: pre-release   
Hardware: PC   
OS: Mac OS   

Description Tom Henderson 2014-11-10 15:19:25 EST
the bakeconf.xml reports that BRITE is supported on darwin:

    <module name="BRITE">
      <source type="mercurial">
        <attribute name="url" value="http://code.nsnam.org/BRITE"/>
      </source>
      <build type="make" objdir="no">
        <attribute name="no_installation" value="True"/>
        <attribute name="supported_os" value="linux;linux2;darwin"/>
      </build>
    </module>


However, make will fail because '-soname' is not a supported CFLAGS for clang.

changing this to '-install-name' will get the library to build.  However, ns-3  waf configure will next fail with this error message in the log:

/path/to/bake/source/BRITE/Models/BottomUpHierModel.h:33:9: error: unknown pragma ignored [-Werror,-Wunknown-pragmas]
#pragma interface
        ^
14 errors generated.

from /path/to/bake/source/ns-3-dev/src/brite: Test does not build: Traceback (most recent call last):

----

Either we make brite portable (patch wanted) or else disable its availability in darwin.