[Ns-bugs] [Bug 1292] New: Strange linker behavior on Ubuntu 11.10

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Mon Nov 14 14:06:45 PST 2011


https://www.nsnam.org/bugzilla/show_bug.cgi?id=1292

           Summary: Strange linker behavior on Ubuntu 11.10
           Product: ns-3
           Version: ns-3-dev
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P5
         Component: core
        AssignedTo: mathieu.lacage at gmail.com
        ReportedBy: alexander.afanasyev at ucla.edu
                CC: ns-bugs at isi.edu
   Estimated Hours: 0.0


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

-- 
Configure bugmail: https://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Ns-bugs mailing list