Build failure in src/Advanced_IP_Camera/onvif on xenial
Build failure in src/Advanced_IP_Camera
build host: Ubuntu Xenial 16.04 amd64
Have tried to fix this error by including a typemap.dat which gets picked up by wsdl2h in the Makefile, I will be uploading the patch shortly.
docker: + /usr/local/lmce-build/build-scripts/build-maindebs.sh docker: 04:24:26 *** STEP: Running MakeRelease docker: 04:24:26 Cleaning MakeRelease debs output directory docker: 04:24:26 Compiling and building packages docker: 05:02:04 ERROR: MakeRelease failed docker: docker: docker: GetConfigurations(const char *endpoint, const char *soap_action, _tptzGetConfigurations *tptzGetConfigurations, _tptzGetConfigurationsResponse *tptzGetConfigurationsResponse); docker: ^ docker: onvif/soapPTZBindingProxy.h:73:14: note: candidate expects 4 arguments, 2 provided docker: OnvifDevice.cpp:236:70: error: no matching function for call to 'MediaBindingProxy::AddPTZConfiguration(_trtAddPTZConfiguration*, _trtAddPTZConfigurationResponse&)' docker: if (m_pMediaProxy->AddPTZConfiguration(&apc, apcr) == SOAP_OK) { docker: ^ docker: In file included from OnvifDevice.h:18:0, docker: from OnvifDevice.cpp:12: docker: onvif/soapMediaBindingProxy.h:112:14: note: candidate: virtual int MediaBindingProxy::AddPTZConfiguration(_trtAddPTZConfiguration*, _trtAddPTZConfigurationResponse*) docker: virtual int AddPTZConfiguration(_trtAddPTZConfiguration *trtAddPTZConfiguration, _trtAddPTZConfigurationResponse *trtAddPTZConfigurationResponse) { return this->AddPTZConfiguration(NULL, NULL, trtAddPTZConfiguration, trtAddPTZConfigurationResponse); } docker: ^ docker: onvif/soapMediaBindingProxy.h:112:14: note: no known conversion for argument 2 from '_trtAddPTZConfigurationResponse' to '_trtAddPTZConfigurationResponse*' docker: onvif/soapMediaBindingProxy.h:113:14: note: candidate: virtual int MediaBindingProxy::AddPTZConfiguration(const char*, const char*, _trtAddPTZConfiguration*, _trtAddPTZConfigurationResponse*) docker: virtual int AddPTZConfiguration(const char *endpoint, const char *soap_action, _trtAddPTZConfiguration *trtAddPTZConfiguration, _trtAddPTZConfigurationResponse *trtAddPTZConfigurationResponse); docker: ^ docker: onvif/soapMediaBindingProxy.h:113:14: note: candidate expects 4 arguments, 2 provided docker: OnvifDevice.cpp:262:66: error: no matching function for call to 'PullPointSubscriptionBindingProxy::GetEventProperties(_tevGetEventProperties*, _tevGetEventPropertiesResponse&)' docker: if (m_pEventsProxy->GetEventProperties(&gep, gepr) == SOAP_OK) { docker: ^ docker: In file included from OnvifDevice.h:19:0, docker: from OnvifDevice.cpp:12: docker: onvif/soapPullPointSubscriptionBindingProxy.h:88:14: note: candidate: virtual int PullPointSubscriptionBindingProxy::GetEventProperties(_tevGetEventProperties*, _tevGetEventPropertiesResponse*) docker: virtual int GetEventProperties(_tevGetEventProperties *tevGetEventProperties, _tevGetEventPropertiesResponse *tevGetEventPropertiesResponse) { return this->GetEventProperties(NULL, NULL, tevGetEventProperties, tevGetEventPropertiesResponse); } docker: ^ docker: onvif/soapPullPointSubscriptionBindingProxy.h:88:14: note: no known conversion for argument 2 from '_tevGetEventPropertiesResponse' to '_tevGetEventPropertiesResponse*' docker: onvif/soapPullPointSubscriptionBindingProxy.h:89:14: note: candidate: virtual int PullPointSubscriptionBindingProxy::GetEventProperties(const char*, const char*, _tevGetEventProperties*, _tevGetEventPropertiesResponse*) docker: virtual int GetEventProperties(const char *endpoint, const char *soap_action, _tevGetEventProperties *tevGetEventProperties, _tevGetEventPropertiesResponse *tevGetEventPropertiesResponse); docker: ^ docker: onvif/soapPullPointSubscriptionBindingProxy.h:89:14: note: candidate expects 4 arguments, 2 provided docker: OnvifDevice.cpp:302:70: error: no matching function for call to 'PullPointSubscriptionBindingProxy::GetServiceCapabilities(_tevGetServiceCapabilities*, _tevGetServiceCapabilitiesResponse&)' docker: if (m_pEventsProxy->GetServiceCapabilities(&gsc, gscr) == SOAP_OK) { docker: ^ docker: In file included from OnvifDevice.h:19:0, docker: from OnvifDevice.cpp:12: docker: onvif/soapPullPointSubscriptionBindingProxy.h:80:14: note: candidate: virtual int PullPointSubscriptionBindingProxy::GetServiceCapabilities(_tevGetServiceCapabilities*, _tevGetServiceCapabilitiesResponse*) docker: virtual int GetServiceCapabilities(_tevGetServiceCapabilities *tevGetServiceCapabilities, _tevGetServiceCapabilitiesResponse *tevGetServiceCapabilitiesResponse) { return this->GetServiceCapabilities(NULL, NULL, tevGetServiceCapabilities, tevGetServiceCapabilitiesResponse); } docker: ^ docker: onvif/soapPullPointSubscriptionBindingProxy.h:80:14: note: no known conversion for argument 2 from '_tevGetServiceCapabilitiesResponse' to '_tevGetServiceCapabilitiesResponse*' docker: onvif/soapPullPointSubscriptionBindingProxy.h:81:14: note: candidate: virtual int PullPointSubscriptionBindingProxy::GetServiceCapabilities(const char*, const char*, _tevGetServiceCapabilities*, _tevGetServiceCapabilitiesResponse*) docker: virtual int GetServiceCapabilities(const char *endpoint, const char *soap_action, _tevGetServiceCapabilities *tevGetServiceCapabilities, _tevGetServiceCapabilitiesResponse *tevGetServiceCapabilitiesResponse); docker: ^ docker: onvif/soapPullPointSubscriptionBindingProxy.h:81:14: note: candidate expects 4 arguments, 2 provided docker: OnvifDevice.cpp:351:76: error: no matching function for call to 'PullPointSubscriptionBindingProxy::CreatePullPointSubscription(_tevCreatePullPointSubscription*, _tevCreatePullPointSubscriptionResponse&)' docker: if (m_pEventsProxy->CreatePullPointSubscription(&cpps, cppr) == SOAP_OK) { docker: ^ docker: In file included from OnvifDevice.h:19:0, docker: from OnvifDevice.cpp:12: docker: onvif/soapPullPointSubscriptionBindingProxy.h:84:14: note: candidate: virtual int PullPointSubscriptionBindingProxy::CreatePullPointSubscription(_tevCreatePullPointSubscription*, _tevCreatePullPointSubscriptionResponse*) docker: virtual int CreatePullPointSubscription(_tevCreatePullPointSubscription *tevCreatePullPointSubscription, _tevCreatePullPointSubscriptionResponse *tevCreatePullPointSubscriptionResponse) { return this->CreatePullPointSubscription(NULL, NULL, tevCreatePullPointSubscription, tevCreatePullPointSubscriptionResponse); } docker: ^ docker: onvif/soapPullPointSubscriptionBindingProxy.h:84:14: note: no known conversion for argument 2 from '_tevCreatePullPointSubscriptionResponse' to '_tevCreatePullPointSubscriptionResponse*' docker: onvif/soapPullPointSubscriptionBindingProxy.h:85:14: note: candidate: virtual int PullPointSubscriptionBindingProxy::CreatePullPointSubscription(const char*, const char*, _tevCreatePullPointSubscription*, _tevCreatePullPointSubscriptionResponse*) docker: virtual int CreatePullPointSubscription(const char *endpoint, const char *soap_action, _tevCreatePullPointSubscription *tevCreatePullPointSubscription, _tevCreatePullPointSubscriptionResponse *tevCreatePullPointSubscriptionResponse); docker: ^ docker: onvif/soapPullPointSubscriptionBindingProxy.h:85:14: note: candidate expects 4 arguments, 2 provided docker: OnvifDevice.cpp: In member function 'bool DCE::OnvifDevice::PTZ(float, float, float)': docker: OnvifDevice.cpp:521:56: error: no matching function for call to 'PTZBindingProxy::RelativeMove(_tptzRelativeMove*, _tptzRelativeMoveResponse&)' docker: if (m_pPTZProxy->RelativeMove(&relativeMove, response) != SOAP_OK) docker: ^ docker: In file included from OnvifDevice.h:17:0, docker: from OnvifDevice.cpp:12: docker: onvif/soapPTZBindingProxy.h:128:14: note: candidate: virtual int PTZBindingProxy::RelativeMove(_tptzRelativeMove*, _tptzRelativeMoveResponse*) docker: virtual int RelativeMove(_tptzRelativeMove *tptzRelativeMove, _tptzRelativeMoveResponse *tptzRelativeMoveResponse) { return this->RelativeMove(NULL, NULL, tptzRelativeMove, tptzRelativeMoveResponse); } docker: ^ docker: onvif/soapPTZBindingProxy.h:128:14: note: no known conversion for argument 2 from '_tptzRelativeMoveResponse' to '_tptzRelativeMoveResponse*' docker: onvif/soapPTZBindingProxy.h:129:14: note: candidate: virtual int PTZBindingProxy::RelativeMove(const char*, const char*, _tptzRelativeMove*, _tptzRelativeMoveResponse*) docker: virtual int RelativeMove(const char *endpoint, const char *soap_action, _tptzRelativeMove *tptzRelativeMove, _tptzRelativeMoveResponse *tptzRelativeMoveResponse); docker: ^ docker: onvif/soapPTZBindingProxy.h:129:14: note: candidate expects 4 arguments, 2 provided docker: OnvifDevice.cpp: In member function 'std::cxx11::string DCE::OnvifDevice::GetStreamURI(std::cxx11::string)': docker: OnvifDevice.cpp:589:47: error: no matching function for call to 'MediaBindingProxy::GetStreamUri(_trtGetStreamUri*, _trtGetStreamUriResponse&)' docker: if (m_pMediaProxy->GetStreamUri(&gsu, gsur) == SOAP_OK) { docker: ^ docker: In file included from OnvifDevice.h:18:0, docker: from OnvifDevice.cpp:12: docker: onvif/soapMediaBindingProxy.h:332:14: note: candidate: virtual int MediaBindingProxy::GetStreamUri(_trtGetStreamUri*, _trtGetStreamUriResponse*) docker: virtual int GetStreamUri(_trtGetStreamUri *trtGetStreamUri, _trtGetStreamUriResponse *trtGetStreamUriResponse) { return this->GetStreamUri(NULL, NULL, trtGetStreamUri, trtGetStreamUriResponse); } docker: ^ docker: onvif/soapMediaBindingProxy.h:332:14: note: no known conversion for argument 2 from '_trtGetStreamUriResponse' to '_trtGetStreamUriResponse*' docker: onvif/soapMediaBindingProxy.h:333:14: note: candidate: virtual int MediaBindingProxy::GetStreamUri(const char*, const char*, _trtGetStreamUri*, _trtGetStreamUriResponse*) docker: virtual int GetStreamUri(const char *endpoint, const char *soap_action, _trtGetStreamUri *trtGetStreamUri, _trtGetStreamUriResponse *trtGetStreamUriResponse); docker: ^ docker: onvif/soapMediaBindingProxy.h:333:14: note: candidate expects 4 arguments, 2 provided docker: ../PlutoUtils/make.rules:31: recipe for target 'onvif/soapPTZBindingProxy.o' failed docker: make: *** [onvif/soapPTZBindingProxy.o] Error 1 docker: ../PlutoUtils/make.rules:31: recipe for target 'OnvifDevice.o' failed docker: make: *** [OnvifDevice.o] Error 1 docker: make -j4 clean; make -j4 onvif; make -j4 bin *FAILED* docker: Error: make -j4 clean; make -j4 onvif; make -j4 bin failed! docker: BuildSource failed for: 813 LinuxMCE Advanced IP Camera docker: Aborting!