Dear ns user,
          while adding new routing protocol, during re-compile (make command) i 
encoutered the following error...




dccp/dccp.cc: In member function ‘bool DCCPAgent::checkPacket(Packet*)’:
dccp/dccp.cc:220:23: warning: suggest parentheses around ‘&&’ within ‘||’ 
[-Wparentheses]
dccp/dccp.cc:221:34: warning: suggest parentheses around ‘&&’ within ‘||’ 
[-Wparentheses]
dccp/dccp.cc:222:34: warning: suggest parentheses around ‘&&’ within ‘||’ 
[-Wparentheses]
dccp/dccp.cc:226:41: warning: suggest parentheses around ‘&&’ within ‘||’ 
[-Wparentheses]
dccp/dccp.cc:234:23: warning: suggest parentheses around ‘&&’ within ‘||’ 
[-Wparentheses]
dccp/dccp.cc: In member function ‘void DCCPAgent::output(bool)’:
dccp/dccp.cc:649:19: error: ‘PT_DCCP_REQ’ was not declared in this scope
dccp/dccp.cc:657:19: error: ‘PT_DCCP_RESP’ was not declared in this scope
dccp/dccp.cc:665:20: error: ‘PT_DCCP_ACK’ was not declared in this scope
dccp/dccp.cc:674:20: error: ‘PT_DCCP_DATA’ was not declared in this scope
dccp/dccp.cc:683:20: error: ‘PT_DCCP_DATAACK’ was not declared in this scope
dccp/dccp.cc:686:20: error: ‘PT_DCCP_ACK’ was not declared in this scope
dccp/dccp.cc:696:21: error: ‘PT_DCCP_ACK’ was not declared in this scope
dccp/dccp.cc:726:19: error: ‘PT_DCCP_CLOSEREQ’ was not declared in this scope
dccp/dccp.cc:731:19: error: ‘PT_DCCP_CLOSE’ was not declared in this scope
dccp/dccp.cc:765:7: error: ‘PT_DCCP_DATA’ was not declared in this scope
dccp/dccp.cc:768:7: error: ‘PT_DCCP_ACK’ was not declared in this scope
dccp/dccp.cc:771:7: error: ‘PT_DCCP_DATAACK’ was not declared in this scope
dccp/dccp.cc: In member function ‘void DCCPAgent::sendReset(dccp_reset_reason, 
u_int8_t, u_int8_t, u_int8_t)’:
dccp/dccp.cc:813:18: error: ‘PT_DCCP_RESET’ was not declared in this scope
dccp/dccp.cc: In member function ‘virtual int DCCPAgent::setFeature(u_int8_t, 
dccp_feature_location, u_char*, u_int8_t, bool)’:
dccp/dccp.cc:1163:36: warning: suggest parentheses around ‘&&’ within ‘||’ 
[-Wparentheses]
dccp/dccp.cc:1170:37: warning: suggest parentheses around ‘&&’ within ‘||’ 
[-Wparentheses]
dccp/dccp.cc:1203:37: warning: suggest parentheses around ‘&&’ within ‘||’ 
[-Wparentheses]
dccp/dccp.cc: In constructor ‘DCCPAgent::DCCPAgent()’:
dccp/dccp.cc:1427:32: error: ‘PT_DCCP’ was not declared in this scope
make: *** [dccp/dccp.o] Error 1

 
can anyone pls help me..



Regards,


T.Gopi.

Reply via email to