I use gSOAP for web services, but I have a problem, I have to compile 2 web services into one executable, and some functions have the same name instead of the argument to use a different prefix for function names.
Compilation Error:
Xo: In function `soap_get_string(soap*, char**, char const*, char const*)': X.cpp:8669: multiple definition of `soap_get_string(soap*, char**, char const*, char const*)' Yo:Y.cpp:4763: first defined here
In the Makefile:
wsdl2h -qlpr X.wsdl wsdl2h Y.wsdl Y.xsd soapcpp2 -qlpr -plpr -plprws $(GSOAP_IMPORT) -i -C Xh soapcpp2 -psiwcprws $(GSOAP_IMPORT) -i -C Yh
Does anyone have any ideas how to solve this?
source share