[77] in The Cryptographic File System users list
Problems compiling with RedHat 4.2
daemon@ATHENA.MIT.EDU (Brett Eldridge)
Mon May 4 10:34:09 1998
From owner-cfs-users@research.att.com Mon May 04 14:34:09 1998
Return-Path: <owner-cfs-users@research.att.com>
Delivered-To: cfs-mtg@bloom-picayune.mit.edu
Received: (qmail 4043 invoked from network); 4 May 1998 14:34:08 -0000
Received: from unknown (HELO rumor.research.att.com) (192.20.225.9)
by bloom-picayune.mit.edu with SMTP; 4 May 1998 14:34:08 -0000
Received: from research.att.com ([135.207.30.100]) by rumor; Mon May 4 10:29:35 EDT 1998
Received: from amontillado.research.att.com ([135.207.24.32]) by research-clone; Mon May 4 10:31:29 EDT 1998
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 KAA19077;
Mon, 4 May 1998 10:31:27 -0400 (EDT)
Received: (from majordomo@localhost) by nsa.research.att.com (8.7.3/8.7.3) id KAA10178 for cfs-users-list; Mon, 4 May 1998 10:26:46 -0400 (EDT)
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 KAA10147 for <cfs-users@nsa.research.att.com>; Mon, 4 May 1998 10:26:42 -0400 (EDT)
Received: from atlrel2.hp.com ([156.153.255.202]) by research-clone; Mon May 4 10:28:13 EDT 1998
Received: from cup46ux.cup.hp.com (daemon@cup46ux.cup.hp.com [15.9.88.31])
by atlrel2.hp.com (8.8.6/8.8.5tis) with ESMTP id KAA24372
for <cfs-users@research.att.com>; Mon, 4 May 1998 10:27:33 -0400 (EDT)
Received: from tool.home.com (atlm0562.atl.hp.com) by cup46ux.cup.hp.com with SMTP
(1.37.109.24/15.5+IOS 3.20+cup+OMrelay) id AA104462088; Mon, 4 May 1998 07:28:08 -0700
Date: Mon, 4 May 1998 07:24:57 -0700 (PDT)
From: Brett Eldridge <beldridg@cup.hp.com>
X-Sender: beldridg@tool.home.com
Reply-To: Brett Eldridge <beldridg@cup.hp.com>
To: cfs-users@research.att.com
Subject: Problems compiling with RedHat 4.2
Message-Id: <Pine.LNX.3.95.980430141424.11485K-100000@tool.home.com>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-cfs-users@research.att.com
Precedence: bulk
Hi,
I have been trying - very unsuccessfully - to compile cfs 1.40beta2. I
have read all the notes about Linux and have tried three options (two
versions in the Makefile and even make_with_bad_rpcgen) - and yup - did a
make clean before each. I know that I am just doing something stupid.
I *have* been able to build it on a RedHat 5.0 system. I also tried using
quite a few different rpcgen options and also tried compiling 1.40beta1
and 1.3.3 and have similar problems. Any ideas?
Here is what it looks like when I use the "first" Linux option in the
Makefile:
[beldridg@tool cfs140beta2]$ make cfs
rpcgen -k -b -h -o nfsproto.h nfsproto.x
rpcgen -k -b -h -o admproto.h admproto.x
gcc -O2 -DPROTOTYPES=1 -U__STDC__ -Dd_fileno=d_ino -I -c cfs.c -o cfs.o
*undef*:1: warning: undefining `__STDC__'
cfs.c: In function `main':
cfs.c:189: warning: passing arg 4 of `svc_register' from incompatible
pointer type
cfs.c:195: warning: passing arg 4 of `svc_register' from incompatible
pointer type
/tmp/cca138421.o: In function `main':
/tmp/cca138421.o(.text+0x141): undefined reference to `nfs_program_2'
/tmp/cca138421.o(.text+0x17f): undefined reference to `adm_program_2'
/tmp/cca138421.o: In function `initstuff':
/tmp/cca138421.o(.text+0x26f): undefined reference to `instances'
/tmp/cca138421.o: In function `grimreap':
/tmp/cca138421.o(.text+0x2a5): undefined reference to `instances'
/tmp/cca138421.o(.text+0x2bf): undefined reference to `freeinstance'
make: *** [cfs.o] Error 1
Thanks,
- brett