Bug 2017 - BRITE does not build correctly on darwin
BRITE does not build correctly on darwin
Status: NEW
Product: ns-3
Classification: Unclassified
Component: brite
: P5 normal
Assigned To: Brian Swenson
Depends on:
  Show dependency treegraph
Reported: 2014-11-10 15:19 EST by Tom Henderson
Modified: 2014-11-10 15:19 EST (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
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"/>
      <build type="make" objdir="no">
        <attribute name="no_installation" value="True"/>
        <attribute name="supported_os" value="linux;linux2;darwin"/>

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.