Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: [OMPI devel] Minor patch for !IPV6_V6ONLY
From: Paul H. Hargrove (PHHargrove_at_[hidden])
Date: 2007-12-31 23:05:38


I just tried today to build the OMPI trunk on an old RH8 box and found
that for
  OPAL_WANT_IPV6 && !defined(IPV6_V6ONLY)
the file oob_tcp.c fails to compile due to unbalanced braces.

Swapping an #endif with a closing branc (patch below) fixed the problem
for me.

-Paul

--- orte/mca/oob/tcp/oob_tcp.c (revision 17027)
+++ orte/mca/oob/tcp/oob_tcp.c (working copy)
@@ -539,8 +539,8 @@
                             "mca_oob_tcp_create_listen: unable to
disable v4-mapped addresses\n");
             }
         }
+#endif /* IPV6_V6ONLY */
     }
-#endif /* IPV6_V6ONLY */
 #else
     if (AF_INET != af_family) {
         return ORTE_ERROR;

-- 
Paul H. Hargrove                          PHHargrove_at_[hidden]
Future Technologies Group
HPC Research Department                   Tel: +1-510-495-2352
Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900