Has anyone successfully cross-compiled gSOAP 2.8.3+ and created/ran a gSOAP server on the i.MX53 QSB? I have successfully cross-compiled and installed gSOAP 2.8.3, but all server-side application fail because all gSOAP socket bind calls set the IPV6_V6ONLY socket option and then fail with the error ENOPROTOOPT (verified with strace).
I know I have IPv6 support in my kernel (I'm running the 2.6.35.3 freescale linux kernel), because I enabled it in the kernel config and I can see the if_inet6 file in /proc/net. Unfortunately, i can't simply use the latest release of gSOAP because the lastest doesn't work software. Has anyone encountered this before or have any ideas? Any help would be greatly appreciated!
Update
It seems that the only way around this is to comment out the #ifdef WITH_IPV6_V6ONLY and #ifdef WITH_NO_IPV6_V6ONLY socket option code in the stdsoap2.c and stdsoap2.cpp files of the gsoap source. Not sure why I would have to modify the gSOAP code if I didn't configure gSOAP with IPv6 enabled, but nonetheless it worked and I don't get anymore IPv6_V6ONLY bind errors from my gSOAP server apps.
BTW, I am using the Sourcery Codebench Lite Edition for ARM GNU/Linux version 2011.09-70.