|
Bugzilla – Full Text Bug Listing |
| Summary: | ns-3.5.1 build problem | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | Jamil Shihab <jamilshihab> |
| Component: | build system | Assignee: | ns-bugs <ns-bugs> |
| Status: | RESOLVED WONTFIX | ||
| Severity: | normal | CC: | gjcarneiro |
| Priority: | P3 | ||
| Version: | pre-release | ||
| Hardware: | Other | ||
| OS: | Linux | ||
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_list.h:493: instantiated from ‘std::list<_Tp, _Alloc>::list(const std::list<_Tp, _Alloc>&) [with _Tp = ns3::Callback<void, ns3::Ptr<const ns3::Packet>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>, _Alloc = std::allocator<ns3::Callback<void, ns3::Ptr<const ns3::Packet>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> >]’ debug/ns3/traced-callback.h:44: instantiated from here debug/ns3/ptr.h:69: warning: lowering visibility of ‘U* ns3::GetPointer(const ns3::Ptr<U>&) [with U = U, T = ns3::CallbackImpl<void, ns3::Ptr<const ns3::Packet>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>]’ to match its type debug/ns3/ptr.h:71: warning: lowering visibility of ‘U* ns3::PeekPointer(const ns3::Ptr<U>&) [with U = U, T = ns3::CallbackImpl<void, ns3::Ptr<const ns3::Packet>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>]’ to match its type Waf: Leaving directory `/home/jshihab1/ns3/ns-allinone-3.5.1/ns-3.5.1/build' Build failed -> task failed (err #1): This is a bug in the patched GCC found in some Fedora versions. Try a different compiler version (hint: you can use the CXX environment variable to switch to a different compiler). See also: http://groups.google.com/group/ns-3-users/msg/8397ec195c80e01a |
Hello, I am having build problems with NS-3 version 3.5.1. I did not use Mercurial to download and did not put the allinone folder in a repos folder. I instead created an ns3 folder and unzipped the tar file into it. I then ran /.build.py in the allinone folder and it was compiling well for quite a while. Much later the build exited with the error below. Any suggestion on how I could resolve this issue? I am using a Fedora machine. Thanks, Jamil , ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>]’ to match its type Waf: Leaving directory `/home/jshihab1/ns3/ns-allinone-3.5.1/ns-3.5.1/build' Build failed -> task failed (err #1): {task: cxx ns3module.cc -> ns3module_3.o} -> task failed (err #1): {task: cxx ns3module_helpers.cc -> ns3module_helpers_3.o} -> task failed (err #1): {task: cxx ns3_module_stats.cc -> ns3_module_stats_3.o} -> task failed (err #1): {task: cxx ns3_module_node.cc -> ns3_module_node_3.o} Traceback (most recent call last): File "./build.py", line 117, in <module> sys.exit(main(sys.argv)) File "./build.py", line 108, in main build_ns3(config) File "./build.py", line 56, in build_ns3 run_command(["python", "waf"]) File "/home/jshihab1/ns3/ns-allinone-3.5.1/util.py", line 24, in run_command raise CommandError("Command %r exited with code %i" % (argv, retval)) util.CommandError: Command ['python', 'waf'] exited with code 1 bash-3.2$