|
Bugzilla – Full Text Bug Listing |
| Summary: | '-fpermissive' should be added to CFLAGS while configuring ns-3.7 | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | Utkarsh Upadhyay <musically.ut> |
| Component: | mesh | Assignee: | Kirill Andreev <andreev> |
| Status: | RESOLVED WONTFIX | ||
| Severity: | normal | CC: | ns-bugs, tomh |
| Priority: | P5 | ||
| Version: | ns-3.7 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
|
Description
Utkarsh Upadhyay
2011-05-07 07:02:45 UTC
The compiler errors goes away if '-fpermissive' is passed in CXXFLAGS to waf. This is a compiler version issue. Which build has failed (debug, optimized, release), and could you send me what ./waf configure has shown? (In reply to comment #2) > Which build has failed (debug, optimized, release), and could you send me what > ./waf configure has shown? It was the release build (I think), obtained by: $ ./download.py -n ns-3.7 Also, $ ./waf configure Checking for program g++,c++ : ok /usr/bin/g++ Checking for program cpp : ok /usr/bin/cpp Checking for program ar : ok /usr/bin/ar Checking for program ranlib : ok /usr/bin/ranlib Checking for g++ : ok ... ---- Summary of optional NS-3 features: Threading Primitives : enabled Real Time Simulator : enabled Emulated Net Device : enabled Tap Bridge : enabled GtkConfigStore : not enabled (library 'gtk+-2.0 >= 2.12' not found) XmlIo : enabled SQlite stats data output : not enabled (library 'sqlite3' not found) Network Simulation Cradle : enabled Python Bindings : not enabled (PyBindGen version not correct and newer version could not be retrieved) Use sudo to set suid bit : not enabled (option --enable-sudo not selected) Build examples and samples : enabled Static build : not enabled (option --enable-static not selected) GNU Scientific Library (GSL) : not enabled (GSL not found) 'configure' finished successfully (6.758s) ------ Hope that helps. Should I paste the entire summary here? ~ Utkarsh. Did you try ns-3.11 (or 3.10, where there is no modular build)? If it works, I will close this bug. I have seen that you use ns-3.7 just now The other versions compile without this problem. I think this bug can be closed safely if '-fpermissive' is added to CFLAGS while configuring ns-3.7. closing as we no longer support ns-3.7 |