Bugzilla – Bug 965
Problem building /src/core/callback.cc
Last modified: 2010-07-24 12:19:28 UTC
The callback.cc file have next structure: namespace ns3 { ... #include <cxxabi.h> ... } With GCC 4.3.3, 4.4.0 and 4.4.4, there are a problem in the building: In file included from ../src/core/callback.cc:41: /bin/gcc/gcc-4.3.3/lib/gcc/ia64-suse-linux/4.3.3/../../../../include/c++/4.3.3/cxxabi.h:68: error: typedef 'ns3::__cxxabiv1::__cxa_cdtor_return_type' is initialized (use __typeof__ instead) /bin/gcc/gcc-4.3.3/lib/gcc/ia64-suse-linux/4.3.3/../../../../include/c++/4.3.3/cxxabi.h:68: error: '__cxa_cdtor_type' was not declared in this scope The solution is: #include <cxxabi.h> namespace ns3 { ... } I think.
b0f9d1408e41 thanks a lot