Just to let you know that I got it working by directly compiling stdsoap2.cpp as a module into the libkcsoap library. At least it built a dll. Whether it is really working, I cannot tell right now.
Thank you, but believe me - I know this site already and I tinker a LOT with dllexport and SOAP_STD_EXPORTS to get a dll out of it. Moreover, the site you linked seems to be adressing VisualStudio, not cygwin. When it comes to compiling kopano, SOAP_STD_EXPORTS will not have any positive effect (even checked it a few seconds ago). The problem ist the following: /bin/sh ./libtool --tag=CXX --mode=link g++ -Wall -Wmissing-declarations -std=gnu++17 -Wno-variadic-macros -O2 -fno-strict-aliasing -fvisibility=hidden...
Thank you. I would really appreciate if it were possible to build gsoap as shared library on cygwin. Reason is that I would like to use a project, which uses gsoap, on cygwin (kopano). This project compiles the static library libgsoap++ in. Now, on cygwin (and Windows in general, apparently), you cannot link a static library to a dll file. Kopano, on the other hand, would like to load such a dll (libkcclient) at runtime. Hence, without this library to be a dll, I cannot use Kopano. As libkcclient...
I further looked into this. All the missing symbols are provided in the header file and are used in the c-file, but are nowhere defined. No wonder the linker does not know what they are. I managed at least to export soap_set_header by modifying c nd h files, but this is only possible as c gives an actual definition of it. The other symbols are used in the c file, but without any code attributed to them. Is this on purpose? My C knowledge is nearly non-existent, but this looks odd to me.
In the meantime, I have payed around with -DSOAP_STD_EXPORTS and disable-namespaces, but with no success. However, I think the problem lies somewherer ther (dllexport and import in CYGWIN). Any idea?
Compilation on cygwin does not work. Undefined references
Great to hear thanks. I have a Linux ARM box running with a Mali chip on it (Odroid...