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

Re: [reSIProcate] Compile error during make response for the OPTIONrequest


Looks like you forgot to include ServerOutOfDialogReq.hxx.


From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxxx on behalf of jordanma
Sent: Wed 5/9/2007 8:29 AM
To: resiprocate-devel
Subject: [reSIProcate] Compile error during make response for the OPTIONrequest

 
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