[Ns-bugs] [Bug 142] New: ns-3.0.11 fails to build with gcc 3.4 on mingw

bugzilla-daemon@nsnam-www.ece.gatech.edu bugzilla-daemon at nsnam-www.ece.gatech.edu
Mon Feb 18 09:31:58 PST 2008


http://www.nsnam.org/bugzilla/show_bug.cgi?id=142

           Summary: ns-3.0.11 fails to build with gcc 3.4 on mingw
           Product: ns-3
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: simulation core
        AssignedTo: ns-bugs at isi.edu
        ReportedBy: gjcarneiro at gmail.com


C:\Documents and Settings\gjc\ns-3.0.11>waf
Entering directory `C:\DOCUME~1\gjc\ns-3.0.11/build'
[138/410] * cpp : src\core\object.cc -> build\debug\src\core\object.os
In file included from ..\src\core\object.cc:21:
..\src\core\object.h:297: error: got 1 template parameters for `ns3::TypeId
ns3:
:TypeId::AddConstructor()'
..\src\core\object.h:297: error:   but 6 required
..\src\core\object.h:310: error: redefinition of `ns3::TypeId
ns3::TypeId::AddCo
nstructor()'
..\src\core\object.h:297: error: `ns3::TypeId ns3::TypeId::AddConstructor()'
pre
viously declared here
..\src\core\object.h:310: error: got 2 template parameters for `ns3::TypeId
ns3:
:TypeId::AddConstructor()'
..\src\core\object.h:310: error:   but 6 required
..\src\core\object.h:323: error: redefinition of `ns3::TypeId
ns3::TypeId::AddCo
nstructor()'
..\src\core\object.h:297: error: `ns3::TypeId ns3::TypeId::AddConstructor()'
pre
viously declared here
..\src\core\object.h:323: error: got 3 template parameters for `ns3::TypeId
ns3:
:TypeId::AddConstructor()'
..\src\core\object.h:323: error:   but 6 required
..\src\core\object.h:336: error: redefinition of `ns3::TypeId
ns3::TypeId::AddCo
nstructor()'
..\src\core\object.h:297: error: `ns3::TypeId ns3::TypeId::AddConstructor()'
pre
viously declared here
..\src\core\object.h:336: error: got 4 template parameters for `ns3::TypeId
ns3:
:TypeId::AddConstructor()'
..\src\core\object.h:336: error:   but 6 required
..\src\core\object.h:349: error: redefinition of `ns3::TypeId
ns3::TypeId::AddCo
nstructor()'
..\src\core\object.h:297: error: `ns3::TypeId ns3::TypeId::AddConstructor()'
pre
viously declared here
..\src\core\object.h:349: error: got 5 template parameters for `ns3::TypeId
ns3:
:TypeId::AddConstructor()'
..\src\core\object.h:349: error:   but 6 required
..\src\core\object.h:362: error: redefinition of `ns3::TypeId
ns3::TypeId::AddCo
nstructor()'
..\src\core\object.h:297: error: `ns3::TypeId ns3::TypeId::AddConstructor()'
pre
viously declared here
Build failed
 -> task failed (err #129): [<b:C:\DOCUME~1\gjc\ns-3.0.11\src\core\object.os>]

g++ version is 3.4.5 (current mingw).


-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Ns-bugs mailing list