[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

[ninf-users:00121] Re: Ninf + FreeBSD



Dear Tomoshige Tashiro,
 the patch worked very well.
 We compiled ninf-g in the upcoming FreeBSD 6.0 release.
 I have one more question: Is there a way to get the history of the modifications and
 to update the source code via cvs ?

 Thanks
On 11/2/05, Tomoshige Tashiro <tashiro@soum.co.jp> wrote:
Dear Hedson,

Thanks to report.

From: Hedson Lima <hedson@gmail.com>
Subject: [ninf-users:00119] Ninf + FreeBSD
Date: Tue, 1 Nov 2005 21:24:58 -0200

> We are trying to compile NinfG 2.4.0 in FreeBSD. Globus compiled well, but
> we running into some trouble on compiling Ninf. It complains about some
> syntax erros in xdr.h. We are using FreeBSD 6.0-RC1.
> The messages are as follows:

FreeBSD is not a supported platform, but we have a patch for FreeBSD
5.4 (see attached).
We do not guarantee that Ninf-G works correctly on FreeBSD, but hope
this helps you.

> In file included from /usr/local/ng- 2.4.0/c/include/net.h:12,
> from /usr/local/ng-2.4.0/c/include/ngInternal.h:461,
> from /usr/local/ng-2.4.0/c/include/ng.h:100,
> from ngclArgumentStack.c:87:
> /usr/include/rpc/xdr.h:104: error: syntax error before "bool_t"
> /usr/include/rpc/xdr.h:114: error: syntax error before "bool_t"

This error message looks the same, as I saw when I created this patch.

Thanks.


? c/common/ngArgumentConvert.c.050831
? c/include/net.h.050831
? c/include/ngExecutableInternal.h.050831
? c/include/ngInternal.h.050831
Index: c/common/ngArgumentConvert.c
===================================================================
RCS file: /grid/cvsroot/ngv2/c/common/ngArgumentConvert.c,v
retrieving revision 1.92
diff -u -r1.92 ngArgumentConvert.c
--- c/common/ngArgumentConvert.c        4 Aug 2005 09:32:48 -0000       1.92
+++ c/common/ngArgumentConvert.c        31 Aug 2005 07:36:08 -0000
@@ -12,7 +12,7 @@

#include <stdlib.h>
#include <string.h>
-#if defined(NG_OS_IRIX)
+#if defined(NG_OS_IRIX) || defined(NG_OS_FREEBSD)
#include <rpc/rpc.h>
#else
#include <rpc/xdr.h>
Index: c/include/net.h
===================================================================
RCS file: /grid/cvsroot/ngv2/c/include/net.h,v
retrieving revision 1.5
diff -u -r1.5 net.h
--- c/include/net.h     19 Feb 2004 05:47:29 -0000      1.5
+++ c/include/net.h     31 Aug 2005 07:36:08 -0000
@@ -6,7 +6,7 @@
#define NET_H

/** for net_sock_t */
-#if defined(NG_OS_IRIX)
+#if defined(NG_OS_IRIX) || defined(NG_OS_FREEBSD)
#include <rpc/rpc.h>
#else
#include <rpc/xdr.h>
Index: c/include/ngExecutableInternal.h
===================================================================
RCS file: /grid/cvsroot/ngv2/c/include/ngExecutableInternal.h,v
retrieving revision 1.43
diff -u -r1.43 ngExecutableInternal.h
--- c/include/ngExecutableInternal.h    5 Jul 2005 11:49:50 -0000       1.43
+++ c/include/ngExecutableInternal.h    31 Aug 2005 07:36:08 -0000
@@ -8,7 +8,7 @@

#if defined(sun) || defined(NG_OS_AIX)
#include <stddef.h>
-#elif defined(NG_OS_IRIX)
+#elif defined(NG_OS_IRIX) || defined(NG_OS_FREEBSD)
#include <sys/endian.h>
#elif defined(NG_OS_OSF5_1)
#include <machine/endian.h>
Index: c/include/ngInternal.h
===================================================================
RCS file: /grid/cvsroot/ngv2/c/include/ngInternal.h,v
retrieving revision 1.181
diff -u -r1.181 ngInternal.h
--- c/include/ngInternal.h      3 Aug 2005 07:35:27 -0000       1.181
+++ c/include/ngInternal.h      31 Aug 2005 07:36:09 -0000
@@ -8,7 +8,7 @@

#if defined(sun) || defined(NG_OS_AIX)
#include <stddef.h>
-#elif defined(NG_OS_IRIX)
+#elif defined(NG_OS_IRIX) || defined(NG_OS_FREEBSD)
#include <sys/endian.h>
#elif defined(NG_OS_OSF5_1)
#include <machine/endian.h>





--
Ricardo Nascimento Ferreira
Analista de Redes e Segurança
Solaris Certified System Administrator
Chave pública PGP / PGP public key:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x741F3B25