Re: Compile error

Rani Chouha (rani@Ares.Riddler.COM)
Tue, 15 Apr 1997 15:50:57 -0400 (EDT)

On Wed, 9 Apr 1997, Erik Schoenfelder wrote:

> Hi!
>
> Rani> I am running Linux 2.1.30 with gcc-2.7.2 and libc 5.4.23. I
> Rani> installed tk4.1 and Tcl7.5 and am having trouble compiling
> Rani> scotty-2.1.5. I read the docs and porting.notes but nothing
> Rani> refers to this:
>
> Rani> ether_xdr.c: In function `xdr_etherstat':
> Rani> ether_xdr.c:34: parse error before `int'
> Rani> ether_xdr.c:64: `i' undeclared (first use this function)
>
> and you are using rpcgen from NetKit-0.09 right ?
>
> this rpcgen is buggy -- just use a newer or older one.
>
> i've appended the mail to David A. Holland <dholland@hcs.harvard.edu>,
> the maintainer of the package about that topic, and he told me to
> include a fix in the next release.
>
> Erik
>
> ----
>
> Question of the day: Will this break other code ?
>
> Well, I don't know. At least for rstat.x, pcnfsd.x, ether.x and
> mount.x this seems to work.
>
>
> Maybe this helps to step further.
>
> Erik
>
>
> --
I used the diff and was able to compile succefully, but ntping and
other binaries I beleive were broken. Replacing "rpcgen" from an old
Netkit version fixed everything.

--Rani

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