Problems compiling scotty-2.1.5 on RedHat Linux 4.1

Mike Frisch (mfrisch@rogerswave.ca)
Sat, 10 May 1997 14:14:13 -0400

I am attempting to compile/install scotty-2.1.5 on RedHat Linux 4.1 and am
experiencing some compile errors. After running "./configure" and doing a
"make", I get the following error (after many files compile):

cc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include ether_xdr.c
ether_xdr.c: In function `xdr_etherstat':
ether_xdr.c:34: parse error before `int'
ether_xdr.c:64: `i' undeclared (first use this function)
ether_xdr.c:64: (Each undeclared identifier is reported only once
ether_xdr.c:64: for each function it appears in.)
ether_xdr.c: In function `xdr_etheraddrs':
ether_xdr.c:181: parse error before `int'

Looking at this source file on line 34, I see the following (which is
obviously in error):

bool_t
xdr_etherstat(XDR *xdrs, etherstat *objp)
{

register long *buf;
(void)buf;

int i;

Notice the strange "(void)buf" declaration... what should this be (if
anything)? I assume it means a bad/broken rpcgen, but I'm no expert.

Any assistance is appreciated.

Thanks.

Mike.

======================================================================
Mike Frisch Email: mfrisch@rogerswave.ca
Northstar Technologies WWW: http://mfrisch.rogerswave.ca/~mfrisch
Newmarket, Ontario, CANADA

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.