[136] in The Cryptographic File System users list
Re: Trying to compile 1.4.0 on RH6.0
daemon@ATHENA.MIT.EDU (Tom Dunigan ORNL 423-576-2522)
Mon Jul 12 09:16:22 1999
From owner-cfs-users@nsa.research.att.com Mon Jul 12 13:16:21 1999
Return-Path: <owner-cfs-users@nsa.research.att.com>
Delivered-To: cfs-mtg@bloom-picayune.mit.edu
Received: (qmail 28038 invoked from network); 12 Jul 1999 13:16:21 -0000
Received: from unknown (HELO mail-blue.research.att.com) (135.207.30.102)
by bloom-picayune.mit.edu with SMTP; 12 Jul 1999 13:16:21 -0000
Received: from amontillado.research.att.com (amontillado.research.att.com [135.207.24.32])
by mail-blue.research.att.com (Postfix) with ESMTP
id 4537F4CE1A; Mon, 12 Jul 1999 09:16:14 -0400 (EDT)
Received: from nsa.research.att.com (majordomo@nsa.research.att.com [135.207.24.155])
by amontillado.research.att.com (8.8.7/8.8.7) with ESMTP id JAA13642;
Mon, 12 Jul 1999 09:16:08 -0400 (EDT)
Received: (from majordomo@localhost) by nsa.research.att.com (8.7.3/8.7.3) id JAA20157 for cfs-users-list; Mon, 12 Jul 1999 09:13:11 -0400 (EDT)
X-Authentication-Warning: nsa.research.att.com: majordomo set sender to owner-cfs-users@nsa.research.att.com using -f
Received: from mail-blue.research.att.com (mail-blue.research.att.com [135.207.30.102]) by nsa.research.att.com (8.7.3/8.7.3) with ESMTP id JAA20153 for <cfs-users@nsa.research.att.com>; Mon, 12 Jul 1999 09:13:08 -0400 (EDT)
Received: from menkar.cs.utk.edu (MENKAR.CS.UTK.EDU [128.169.94.59])
by mail-blue.research.att.com (Postfix) with ESMTP id EBA6C4CE07
for <cfs-users@nsa.research.att.com>; Mon, 12 Jul 1999 09:13:26 -0400 (EDT)
Received: (from dunigan@localhost)
by menkar.cs.utk.edu (cf v3.2) id JAA02835
for cfs-users@nsa.research.att.com; Mon, 12 Jul 1999 09:13:26 -0400 (EDT)
Date: Mon, 12 Jul 1999 09:13:26 -0400 (EDT)
From: Tom Dunigan ORNL 423-576-2522 <dunigan@cs.utk.edu>
Message-Id: <199907121313.JAA02835@menkar.cs.utk.edu>
To: cfs-users@nsa.research.att.com
Subject: Re: Trying to compile 1.4.0 on RH6.0
Sender: owner-cfs-users@research.att.com
Precedence: bulk
I managed to get cfs in cfs.1.4.0.beta2 to compile and run on redhat 6.0.
1. in the Makefile I used
CC=gcc
COPT=-O2 -DPROTOTYPES=1
CFLAGS=$(COPT) -U__STDC__ -Dd_fileno=d_ino -I$(RINCLUDES)
LIBS=
COMPAT=
RPCOPTS= -k -b
2. apply Stervinou's patches to truerand.c
(see http://www.mit.edu:8008/bloom-picayune/cfs/)
------------Patch begins-----------------
--- truerand.c Sun Dec 7 06:16:36 1997
+++ truerand.c Mon Apr 19 01:42:39 1999
@@ -110,7 +110,7 @@
interrupt()
{
if (count)
- longjmp(env, 1);
+ siglongjmp(env, 1);
(void) signal(SIGALRM, interrupt);
tick();
}
@@ -118,7 +118,7 @@
static unsigned long
roulette()
{
- if (setjmp(env))
+ if (sigsetjmp(env,1))
return count;
(void) signal(SIGALRM, interrupt);
count = 0;
------------Patch ends--------------------
3. after the make cfs fails, hack admproto_svr.c nfsproto_svr.c
to fix the proto for xdr_argument and xdr_result (add leading _ )