< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[reSIProcate] Compile error during make response for the OPTION request


 
dear all:
        
          Compile error during make response for the OPTION request.
 
          i wrote the code reference to http://www.resiprocate.org/?title=Handling_Options_Requests.
          
        errors are:
       
       mrcagent.cxx: In member function `virtual void resip::MrcAgent::onReceivedRequest(resip::ServerOutOfDialogReqHandle, const resip::SipMessage&)':
mrcagent.cxx:860: error: invalid use of undefined type `struct resip::ServerOutOfDialogReq'
../../../build/../resip/dum/Handles.hxx:21: error: forward declaration of `struct resip::ServerOutOfDialogReq'
mrcagent.cxx:860: warning: unused variable 'resp'
../../../build/../resip/dum/Handle.hxx: In member function `T* resip::Handle<T>::get() [with T = resip::ServerOutOfDialogReq]':
../../../build/../resip/dum/Handle.hxx:59:   instantiated from `T* resip::Handle<T>::operator->() [with T = resip::ServerOutOfDialogReq]'
mrcagent.cxx:860:   instantiated from here
../../../build/../resip/dum/Handle.hxx:44: error: invalid static_cast from type `resip::Handled*' to type `resip::ServerOutOfDialogReq*'
 
      
 
       how can i solve it?
 
       THX~!
 

jordanma
2007-05-09