[tkined] Scotty & RedHat

Shaun (shaun@lexicom.ab.ca)
Mon, 25 May 1998 12:52:31 -0600 (MDT)

Hi, I would like some feedback as to the 'configure' process with redhat
4.2 and scotty-2.1.9.

An out of the box `configure; make` only gets as far as:
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'
make: *** [ether_xdr.o] Error 1

Excerpt from ether_xdr.c:
bool_t
xdr_ethertimeval(XDR *xdrs, ethertimeval *objp)
{

register long *buf;
(void)buf;
.... }

The problem is the (void)buff; statement. It seems that on a RedHat 4.2
machine, configure puts a (void)buf; statement in throughout ether_xdr.c
and rstat_xdr.c.

On a virgin Slackware 3.4 machine, it does not, and compiles cleanly.

I have tried compiling it on one of the many redhat machines we have here,
with the same outcome. Does anyone have any feedback, patches, or
information as to why this problem is unique to RedHat?

I assume it is something to do with configure and/or rpcgen.

Any information would be greatly appreciated....

Regards, Shaun.

--
!! 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.