Coda File System

Problems compiling Coda 5.3.15 under FreeBSD

From: Brett Randall <usenet-coda_at_ipsware.com>
Date: 16 Aug 2001 17:52:25 +1000
Hi All

I am having troubles compiling Coda under the latest stable FreeBSD
branch. Actually, I'm having troubles with coda in general (running
5.3.13) but before I start with those problems, I want to upgrade to
5.3.15 to see if I can't fix it just like that.

This is the error I am receiving when I run gmake from the shell (after
the rest compiles successfully):

gmake[2]: Entering directory `/root/coda-5.3.15/coda-src/venus'
g++ -fno-exceptions -fno-operator-names -MD -DHAVE_CONFIG_H -D__BSD44__
-I. -I/root/coda-5.3.15/include -I/root/coda-5.3.15 -I/usr/local/include
-g -O2 -DVENUS -DTIMING -DVENUSDEBUG -DRVM_USELWP   -c -o comm.o comm.cc
comm.cc: In function `void MultiProbe(int, RPC2_Handle *)':
comm.cc:919: ANSI C++ prohibits conversion from `(int, long int *, long
int, long int, ...)' to `(...)'
comm.cc:919: ANSI C++ prohibits conversion from `(int, long int *, long
int, long int, ...)' to `(...)'
comm.cc:919: passing `long int (*)(int, long int *, long int, long int,
...)' as argument 7 of `MRPC_MakeMulti(int, arg *, long int, long int *,
long int *, RPC2_Multicast *, long int (*)(...), timeval *, ...)'
gmake[2]: *** [comm.o] Error 1
gmake[2]: Leaving directory `/root/coda-5.3.15/coda-src/venus'
gmake[1]: *** [venus] Error 2
gmake[1]: Leaving directory `/root/coda-5.3.15/coda-src'
gmake: *** [coda-src] Error 2
bash-2.05# 

I have tried using g++, c++ and gcc to compile, but with no luck. For
some reason, the code appears to be trying to perform a cast which is
not allowed. I'm not that hot with C/C++, so does anyone know how I can
fix this? Thanks!

Brett Randall.
Received on 2001-08-16 03:51:39