LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Brooks Davis (brooks_at_[hidden])
Date: 2003-07-17 12:51:37


To get lam 7.0 to compile on FreeBSD 4.x, I had to add the following
patches.

-- Brooks

--- otb/mpirun/totalview.c.orig Tue Jul 15 16:16:18 2003
+++ otb/mpirun/totalview.c Tue Jul 15 16:16:41 2003
@@ -27,6 +27,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <sys/types.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
--- share/etc/getinetaddr.c.orig Tue Jul 15 12:26:45 2003
+++ share/etc/getinetaddr.c Tue Jul 15 12:27:00 2003
@@ -31,6 +31,7 @@
 #include <terror.h>
 #include <typical.h>
 
+#include <sys/types.h>
 #include <netinet/in.h>
 
 #include "lam_config.h"
--- share/etc/lam_gethostby.c.orig Tue Jul 15 16:31:50 2003
+++ share/etc/lam_gethostby.c Tue Jul 15 16:32:05 2003
@@ -19,6 +19,7 @@
  */
 
 #include <netdb.h>
+#include <sys/types.h>
 #include <netinet/in.h>
 #include <stdio.h>
 #include <stdlib.h>

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4


  • application/pgp-signature attachment: stored