Re: [tkined] Scotty & RedHat

Erik Schoenfelder (schoenfr@gaertner.de)
Mon, 25 May 1998 22:53:32 +0200 (MET DST)

Hi,

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

Shaun> An out of the box `configure; make` only gets as far as:
Shaun> cc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include ether_xdr.c
Shaun> ether_xdr.c: In function `xdr_etherstat':
Shaun> ether_xdr.c:34: parse error before `int'
Shaun> ether_xdr.c:64: `i' undeclared (first use this function)
Shaun> [...]

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

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

Shaun> I assume it is something to do with configure and/or rpcgen.
Shaun> Any information would be greatly appreciated....

Yes you are right, it is a broken release of rpcgen. The problem was
discussed some time ago on this list (and reported to the maintainer
of rpcgen), and was not restricted to redhat installations.

Using an older oder newer rpcgen version solves this problem (or
changing the bogus lines in the generated files by hand ;-).

Erik

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