Network2010. 5. 10. 02:41
반응형

/ sctp / sctp.h: 705: error: extra qualification 'SctpAgent::' on member 'DumpSendBuffer'
make: *** [trace/trace.o] Error 1 make: *** [trace / trace.o] Error 1

Soltuion:
Search and open the file sctp.h .
Find line 705 , it is :

void SctpAgent::DumpSendBuffer();

Now, remove the extra qualification vector SctpAgent, i.e. change the line to ,

void DumpSendBuffer();

Now save the file and run ./install again. Or , installation can be done after editing the few other files which will generate the error again.

. / mobile / god.h: 88: error: extra qualification 'vector::' on member 'operator ='
./mobile/god.h:93: error:extra qualification 'vector::' on member 'operator+=' . / mobile / god.h: 93: error: extra qualification 'vector::' on member 'operator + ='
./mobile/god.h:98: error:extra qualification 'vector::' on member 'operator==' . / mobile / god.h: 98: error: extra qualification 'vector::' on member 'operator =='
./mobile/god.h:101: error:extra qualification 'vector::' on member 'operator!=' . / mobile / god.h: 101: error: extra qualification 'vector::' on member 'operator! ='


Soltuion:
Open god.h in the text editor and go to the respective lines , and remove vector:: from the lines just as above.
Example:
inline void operator=(const vector a) {


./mac/mac-802_11.h: 620: error: extra qualification 'Mac802_11::' on member 'calFreq'
make: *** [mac/mac-802_11.o] Error 1 make: *** [mac/mac-802_11.o] Err

Solution:
Now open mac-802_11.h and go to line 620 and remove Mac802_11:: just as above.

dsr / dsragent.cc: 1386: error: 'XmitFlowFailureCallback' was not declared in this scope
dsr/dsragent.cc:1403: error: 'XmitFailureCallback' was not declared in this scope dsr / dsragent.cc: 1403: error: 'XmitFailureCallback' was not declared in this scope
make: *** [dsr/dsragent.o] Error 1 make: *** [dsr / dsragent.o] Error 1

So now open dsragent.cc , find the respective lines containing XmitFlowFailureCallback or XmitFailureCallback.
See, they are called inside a function first and then declared later on.
So , just add the following lines ,before the void XXX ( where they were called):
void XmitFlowFailureCallback (Packet * pkt, void * data);
void XmitFailureCallback(Packet *pkt, void *data); void XmitFailureCallback (Packet * pkt, void * data);


diffusion / diffusion.cc: In member function 'void DiffusionAgent:: MACprepare (Packet *, nsaddr_t, int, bool)':
diffusion/diffusion.cc:429: error: 'XmitFailedCallback' was not declared in this scope diffusion / diffusion.cc: 429: error: 'XmitFailedCallback' was not declared in this scope
make: *** [diffusion/diffusion.o] Error 1 make: *** [diffusion / diffusion.o] Error 1

Open diffusion.cc, add the follwoing line:
void XmitFailedCallback(Packet *pkt, void *data);
before,
void DiffusionAgent::MACprepare(Packet *pkt, nsaddr_t next_hop, int type, bool lk_dtct)


diffusion / omni_mcast.cc: In member function 'void OmniMcastAgent:: MACprepare (Packet *, nsaddr_t, unsigned int, bool)':
diffusion/omni_mcast.cc:388: error: 'OmniMcastXmitFailedCallback'was not de clared in this scope diffusion / omni_mcast.cc: 388: error: 'OmniMcastXmitFailedCallback'was not de clared in this scope
make: *** [diffusion/omni_mcast.o] Error 1 make: *** [diffusion / omni_mcast.o] Error 1

Open omni_mcast.cc , add the following line :
void OmniMcastXmitFailedCallback(Packet *pkt, void *data);
before,
void OmniMcastAgent::MACprepare(Packet *pkt, nsaddr_t next_hop, unsigned int type, bool lk_dtc 
반응형

'Network' 카테고리의 다른 글

네트워크 디바이스 드라이버  (0) 2010.05.10
AAA와 RADIUS  (0) 2010.05.10
ubuntu 8.04에 ns2 2.29, PMIPv6 패치 설치하기  (1) 2010.05.02
무선랜 보안  (0) 2010.04.29
802.1x에 대한 개요  (0) 2010.04.13
Posted by pmj0403