[tkined] Unable to compile scotty-2.1.6

Mark R. Cervarich (mark@serge.shelfspace.com)
Tue, 16 Sep 1997 18:45:43 -0700 (PDT)

I wanted to try out scotty, so I got the .tar.gz file, gunzipped it,
untarred it (as root). I am using linunx kernel 2.0.30 w/ the
RedHat 4.2 distribution. Version 4.2pl2 of tk, and Version 7.6pl2 of tcl.

I switched to the /usr/src/scotty-2.1.6/unix subdir.
type in ./configure
then tried a make.

It went on for a little bit, but then I got these errors:
cc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include mount_clnt.c
cc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include mount_xdr.c
cc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include ether_clnt.c
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

Any idea what's wrong?

mark

here is the result of my ./configure:

-----snippy, snippy, snip----------
[root@serge unix]# ./configure
loading cache ./config.cache
checking how to run the C preprocessor... (cached) cc -E
checking for flex... (cached) flex
checking for yywrap in -lfl... (cached) yes
checking for bison... (cached) bison -y
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking for prefix by checking for scotty... no
checking for prefix by checking for tclsh... (cached) /usr/bin/tclsh
checking size of long... (cached) 4
checking whether byte ordering is bigendian... (cached) no
checking for rpcgen... (cached) rpcgen
checking for tclsh... (cached) /usr/bin/tclsh
checking for tclConfig.sh in /usr/lib... yes
checking for tcl version... 7.6
checking for wish... (cached) /usr/bin/wish
checking for tkConfig.sh in /usr/lib... yes
checking for tk version... 4.2
checking for connect... (cached) yes
checking for gethostbyname... (cached) yes
checking for main in -lnsl... (cached) no
checking for connect in -lsocket... (cached) no
checking for gethostbyname in -lnsl... (cached) no
checking for main in -lieee... (cached) no
checking for main in -lrpc... (cached) no
checking for main in -lrpcsvc... (cached) no
checking for res_mkquery... (cached) yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for malloc.h... (cached) yes
checking for sys/select.h... (cached) no
checking for gethostent... (cached) yes
checking for getnetent... (cached) yes
checking for getprotoent... (cached) yes
checking for getservent... (cached) yes
checking for getrpcent... (cached) yes
checking for struct rpcent... yes
checking for multicast support... yes
checking for getmntent in -lsun... (cached) no
checking for getmntent in -lseq... (cached) no
checking for getmntent in -lgen... (cached) no
checking for getmntent... (cached) yes
creating ./config.status
creating Makefile
creating config.h
config.h is unchanged
[root@serge unix]#
-----snippy, snippy, snip----------

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