Bug 1784

Summary: ns-allinone-3.18 does not build on OS 10.9 Xcode 5.0.1
Product: ns-3 Reporter: Tom Henderson <tomh>
Component: generalAssignee: ns-bugs <ns-bugs>
Status: RESOLVED FIXED    
Severity: critical    
Priority: P5    
Version: ns-3.18   
Hardware: Mac Intel   
OS: Mac OS   
Attachments: patch for ns-3.18

Description Tom Henderson 2013-10-25 21:46:28 EDT
This problem is due to OS X 10.9 moving to Xcode 5.0.1, which no longer includes gcc compiler.  Instead, the Apple LLVM compiler is provided.
Comment 1 Tom Henderson 2013-10-25 21:49:27 EDT
Created attachment 1687 [details]
patch for ns-3.18

This patch was tested against OS X 10.8 clang, and also contains the fix suggested in bug 1782.

To apply to ns-allinone-3.18:

  cd ns-allinone-3.18/ns-3.18
  patch -p1 -i ns-3.18-clang.patch
  ./waf configure --enable-examples --enable-tests
  ./waf build

This only covers ns-3.18 for C++ usage.

This will, in general, be fixed by a future ns-allinone-3.18.1 release.
Comment 2 Tom Henderson 2013-12-14 02:01:06 EST
fixed by ns-3.18.1 release