[ns] ns-2.28 Installation Error:extra qualification 'SctpAgent::' on member 'DumpSendBuffer'

Bringo Shawn themq15 at yahoo.com
Fri Aug 7 00:24:55 PDT 2009


Hello.
I am installing ns-2.28 on fedora 9. I faced the error:
./sctp/sctp.h:630: error: extraqualification 'SctpAgent::' on member 'DumpSendBuffer'
make: *** [trace/trace.o] Error 1
I found a solution posted at  http://mailman.isi.edu/pipermail/ns-users/2006-September/057325.html. The solution was to remove the extra qualifier i.e 'SctpAgent::', but then make gave some other error in the file god.h, so I removed it's extra qualifier too that was probably vertor:: and again executed the make command and now there are the following errors:
...
./common/packet.h:256: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:258: warning: deprecated conversion from string constant to ‘char*’
queue/cbq.cc: At global scope:
queue/cbq.cc:112: error: ISO C++ forbids declaration of ‘CBQueue’ with no type
queue/cbq.cc:112: error: expected ‘;’ before ‘*’ token
queue/cbq.cc: In member function ‘virtual int CBQueue::insert_class(CBQClass*)’:
queue/cbq.cc:488: error: ‘class CBQClass’ has no member named ‘cbq_’
queue/cbq.cc: In constructor ‘CBQClass::CBQClass()’:
queue/cbq.cc:805: error: class ‘CBQClass’ does not have any field named ‘cbq_’
queue/cbq.cc: In member function ‘virtual void CBQClass::recv(Packet*, Handler*)’:
queue/cbq.cc:850: error: ‘cbq_’ was not declared in this scope
queue/cbq.cc:856: error: ‘cbq_’ was not declared in this scope
queue/cbq.cc: In member function ‘void CBQClass::update(Packet*, double)’:
queue/cbq.cc:873: error: ‘cbq_’ was not declared in this scope
queue/cbq.cc: In member function ‘int CBQClass::desc_with_demand()’:
queue/cbq.cc:928: error: ‘cbq_’ was not declared in this scope
queue/cbq.cc: In member function ‘void CBQClass::newallot(double)’:
queue/cbq.cc:975: error: ‘cbq_’ was not declared in this scope
queue/cbq.cc: In member function ‘virtual int CBQClass::command(int, const char* const*)’:
queue/cbq.cc:1002: error: ‘cbq_’ was not declared in this scope
make: *** [queue/cbq.o] Error 1
Ns make failed!
See http://www.isi.edu/nsnam/ns/ns-problems.html for problems
[root at localhost ns-allinone-2.28]# 

Please help me. Thanks in advance.



      


More information about the Ns-users mailing list