Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: [OMPI users] problem with sctp.h on Solaris
From: Siegmar Gross (Siegmar.Gross_at_[hidden])
Date: 2012-06-05 10:10:39


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