[9] in The Cryptographic File System users list

home help back first fref pref prev next nref lref last post

Re: 1.4.0 under Linux?

daemon@ATHENA.MIT.EDU (George M. Sipe)
Wed Dec 17 22:44:22 1997

From owner-cfs-users@research.att.com	 Wed Dec 17 22:44:18 1997
Received: from rumor.research.att.com (rumor.research.att.com [192.20.225.9]) by bloom-picayune.MIT.EDU (8.7.6/2.3JIK) with SMTP id WAA04485 for <cfs-mtg@bloom-picayune.mit.edu>; Wed, 17 Dec 1997 22:44:16 -0500
Received: from research.att.com ([135.207.30.100]) by rumor; Wed Dec 17 22:41:20 EST 1997
Received: from amontillado.research.att.com ([135.207.24.32]) by research-clone; Wed Dec 17 22:41:36 EST 1997
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 WAA13106;
	Wed, 17 Dec 1997 22:41:16 -0500 (EST)
Received: (from majordomo@localhost) by nsa.research.att.com (8.7.3/8.7.3) id WAA04437 for cfs-users-list; Wed, 17 Dec 1997 22:41:31 -0500 (EST)
X-Authentication-Warning: nsa.research.att.com: majordomo set sender to owner-cfs-users@nsa.research.att.com using -f
Received: from research.att.com (research-clone.research.att.com [135.207.30.100]) by nsa.research.att.com (8.7.3/8.7.3) with SMTP id WAA04433 for <cfs-users@nsa.research.att.com>; Wed, 17 Dec 1997 22:41:29 -0500 (EST)
Received: from brickbat8.mindspring.com ([207.69.200.11]) by research-clone; Wed Dec 17 22:40:51 EST 1997
Received: from mindspring.com (user-37kb6ng.dialup.mindspring.com [207.69.154.240])
	by brickbat8.mindspring.com (8.8.5/8.8.5) with ESMTP id WAA01479;
	Wed, 17 Dec 1997 22:40:49 -0500 (EST)
Received: (from gsipe@localhost)
	by mindspring.com (8.8.7/8.8.7) id WAA14262;
	Wed, 17 Dec 1997 22:40:59 -0500
Message-Id: <199712180340.WAA14262@mindspring.com>
Subject: Re: 1.4.0 under Linux?
To: mab@research.att.com (Matt Blaze)
Date: Wed, 17 Dec 1997 22:40:59 -0500 (EST)
Cc: cfs-users@nsa.research.att.com
Reply-To: gsipe@mindspring.com
In-Reply-To: <199712161711.MAA25547@nsa.research.att.com> from Matt Blaze at "Dec 16, 97 12:11:12 pm"
Organization: at home in Berkeley Lake, GA
From: "George M. Sipe" <gsipe@mindspring.com>
X-Mailer: ELM [version 2.4ME+ PL22 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: owner-cfs-users@research.att.com
Precedence: bulk

I have successfully built the latest version of CFS (1.4.0b1) under
RedHat Linux 5.0 which uses glibc2 and gcc 2.7.2.  I set the following
in the distributed Makefile:

    CFLAGS=$(COPT) -U__STDC__ -Dd_fileno=d_ino -I$(RINCLUDES)
    LIBS=
    COMPAT=
    RPCOPTS= -k -b

Note that -U__STDC__ is *very* important.  As Monty Walls pointed out,
rpcgen.new always generates prototypes.  However, the use of -traditional
will not work due to *broken* header files with glibc2.  In several
places they fail to properly test for the use of -traditional (i.e.
__GNUC__ is defined, but __STDC__ is not) and in numerous places they
do "#define SOMETHING SOMETHING" which causes infinite recursion with
-traditional.  (Also, since -traditional is not used, -U__OPTIMIZE__
is also no longer needed.)

Regards,
George


In your message you (Matt Blaze) wrote:
> Is anyone using 1.4.0 under linux?  Does it work for you?  Were there
> errors or warnings when you made it?
> 
> I don't run Linux myself, and there are so many versions out there with
> slightly different environments (especially versions of rpcgen) that
> it's very difficult to develop for.  I'd like it to compile cleanly
> out of the box, and I'd like to eliminate the awful make_with_bad_rpcgen
> hack, so any help would be greatly appreciated.

home help back first fref pref prev next nref lref last post