Hello, I compiled "openmpi-1.6" on "Solaris 10 sparc" and "Solaris 10 x86" with "gcc-4.6.2" and "Sun C 5.12". Today I searched my log-files for "WARNING" and found the following message.
WARNING: netinet/sctp.h: present but cannot be compiled WARNING: netinet/sctp.h: check for missing prerequisite headers? WARNING: netinet/sctp.h: see the Autoconf documentation WARNING: netinet/sctp.h: section "Present But Cannot Be Compiled" WARNING: netinet/sctp.h: proceeding with the compiler's result WARNING: ## ------------------------------------------------------ ## WARNING: ## Report this to http://www.open-mpi.org/community/help/ ## WARNING: ## ------------------------------------------------------ ## Looking in "config.log" showed that some types are undefined. tyr openmpi-1.6-SunOS.sparc.64_cc 323 grep sctp config.log configure:119568: result: elan, mx, ofud, openib, portals, sctp, sm, tcp, udapl configure:125730: checking for MCA component btl:sctp compile mode configure:125752: checking --with-sctp value configure:125862: checking --with-sctp-libdir value configure:125946: checking netinet/sctp.h usability "/usr/include/netinet/sctp.h", line 228: incomplete struct/union/enum sockaddr_storage: spc_aaddr "/usr/include/netinet/sctp.h", line 530: syntax error before or at: socklen_t "/usr/include/netinet/sctp.h", line 533: syntax error before or at: socklen_t "/usr/include/netinet/sctp.h", line 537: syntax error before or at: socklen_t "/usr/include/netinet/sctp.h", line 772: syntax error before or at: ipaddr_t "/usr/include/netinet/sctp.h", line 779: syntax error before or at: in6_addr_t | #include <netinet/sctp.h> ... The missing types are defined via <netinet/in.h>. In which files must I include this header file to avoid the warning? Thank you very much for any help in advance. Kind regards Siegmar