Bugzilla – Bug 1292
Strange linker behavior on Ubuntu 11.10
Last modified: 2011-11-17 13:11:58 UTC
On Ubuntu 11.10 the linker be default includes --as-needed flag. As a result, all applications that include a dynamic object instantiation from a library, but don't directly use the library (e.g., running simulation with --vis flag) fail to work. The following patch adds -Wl,--no-as-needed flag to gcc compiler: https://bitbucket.org/cawka/ns-3-dev/changeset/c5bde697240d
gustavo, can you review this patch ? If it is ok with you, feel free to push.
This sounds great in principle, but I haven't tested yet. It probably also fixes all those visualizer problems people have been having...
Yes. Problems with the visualizer was the reason to investigate the problem
Pushed it. Thank you for the patch.