gSOAP 2.8.3 Cross-Compilation

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

gSOAP 2.8.3 Cross-Compilation

2,199 次查看
DonaldR_PooleJr
Contributor I

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!

标签 (1)
0 项奖励
回复
1 回复

1,309 次查看
DonaldR_PooleJr
Contributor I

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.

0 项奖励
回复