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.