Problems Compiling Scotty 2.1.0 on BSDI

J. Scott Williams (scott@cc.wwu.edu)
Fri, 5 Jul 1996 16:50:14 -0700 (PDT)

I'm having problems compiling Scotty 2.1.0 in a BSDI environment. Here are
the details:

I am running BSDI BSD/386 1.1. I have successfully installed and tested
tcl7.5 and tk4.1. When the scotty make failed I found and applied
scotty-local-2.1.0-v0.Patch. It appears that the same errors are
generated with both makes.

Here is my output:

Script started on Fri Jul 5 15:52:43 1996
[501]eclipse date
Fri Jul 5 15:52:48 PDT 1996
[502]eclipse ./configure
creating cache ./config.cache
checking how to run the C preprocessor... cc -E
checking for a BSD compatible install... /usr/bin/install -c
checking whether cross-compiling... no
checking size of long... 4
checking for prefix by ... checking for scotty... no
checking for prefix by ... checking for tclsh... /usr/local/bin/tclsh
checking for rpcgen... rpcgen
checking for tclsh... /usr/local/bin/tclsh
checking for tclConfig.sh in /usr/local/lib... yes
checking for tcl version... 7.5
checking for wish... /usr/local/bin/wish
checking for tkConfig.sh in /usr/local/lib... yes
checking for tk version... 4.1
checking for connect... yes
checking for gethostbyname... yes
checking for -lnsl... no
checking for -lsocket... no
checking for -lnsl... no
checking for -lieee... no
checking for -lrpc... yes
checking for -lrpcsvc... no
checking for res_mkquery... yes
checking for stdlib.h... yes
checking for unistd.h... yes
checking for malloc.h... no
checking for sys/select.h... yes
checking for gethostent... no
checking for getnetent... yes
checking for getprotoent... yes
checking for getservent... yes
checking for getrpcent... yes
checking for struct rpcent... yes
checking for multicast support... yes
checking whether byte ordering is bigendian... no
checking for -lsun... no
checking for -lseq... no
checking for -lgen... no
checking for getmntent... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
[503]eclipse
[503]eclipse date
Fri Jul 5 15:54:00 PDT 1996
[504]eclipse
[504]eclipse make
gcc -c -O -I. -I./../tnm/generic -I/usr/local/include -DTNMLIB=\"/usr/local/lib/tnm2.1.0\" ./../tnm/generic/tnmInit.c
gcc -c -O -I. -I./../tnm/generic -I/usr/local/include ./../tnm/generic/tnmEvent.c
gcc -c -O -I. -I./../tnm/generic -I/usr/local/include ./../tnm/generic/tnmJob.c
gcc -c -O -I. -I./../tnm/generic -I/usr/local/include -DTKINEDLIB=\"/usr/local/lib/tkined1.4.0\" ./../tnm/generic/tnmIned.c
gcc -c -O -I. -I./../tnm/generic -I/usr/local/include ./../tnm/generic/tnmSyslog.c
gcc -c -O -I. -I./../tnm/generic -I/usr/local/include -DNTPING=\"/usr/local/bin/ntping\" ./../tnm/generic/tnmIcmp.c
gcc -c -O -I. -I./../tnm/generic -I/usr/local/include ./../tnm/generic/tnmDns.c
./../tnm/generic/tnmDns.c: In function DnsDoQuery:
./../tnm/generic/tnmDns.c:331: warning: argument #2: argument passing between incompatible pointer types
./../tnm/generic/tnmDns.c:352: warning: argument #1: argument passing between incompatible pointer types
./../tnm/generic/tnmDns.c:352: warning: argument #2: argument passing between incompatible pointer types
./../tnm/generic/tnmDns.c:352: warning: argument #4: argument passing between incompatible pointer types
./../tnm/generic/tnmDns.c:370: warning: argument #1: argument passing between incompatible pointer types
./../tnm/generic/tnmDns.c:370: warning: argument #2: argument passing between incompatible pointer types
./../tnm/generic/tnmDns.c:370: warning: argument #4: argument passing between incompatible pointer types
./../tnm/generic/tnmDns.c:393: warning: argument #1: argument passing between incompatible pointer types
./../tnm/generic/tnmDns.c:393: warning: argument #2: argument passing between incompatible pointer types
./../tnm/generic/tnmDns.c:393: warning: argument #4: argument passing between incompatible pointer types
./../tnm/generic/tnmDns.c:399: warning: argument #1: argument passing between incompatible pointer types
./../tnm/generic/tnmDns.c:399: warning: argument #2: argument passing between incompatible pointer types
./../tnm/generic/tnmDns.c:399: warning: argument #4: argument passing between incompatible pointer types
./../tnm/generic/tnmDns.c:420: warning: argument #1: argument passing between incompatible pointer types
./../tnm/generic/tnmDns.c:420: warning: argument #2: argument passing between incompatible pointer types
./../tnm/generic/tnmDns.c:420: warning: argument #4: argument passing between incompatible pointer types
./../tnm/generic/tnmDns.c:435: warning: argument #1: argument passing between incompatible pointer types
./../tnm/generic/tnmDns.c:435: warning: argument #2: argument passing between incompatible pointer types
./../tnm/generic/tnmDns.c:435: warning: argument #4: argument passing between incompatible pointer types
./../tnm/generic/tnmDns.c:451: warning: argument #1: argument passing between incompatible pointer types
./../tnm/generic/tnmDns.c:451: warning: argument #2: argument passing between incompatible pointer types
./../tnm/generic/tnmDns.c:451: warning: argument #4: argument passing between incompatible pointer types
gcc -c -O -I. -I./../tnm/generic -I/usr/local/include ./../tnm/generic/tnmUdp.c
gcc -c -O -I. -I./../tnm/generic -I/usr/local/include ./../tnm/generic/tnmSunRpc.c
In file included from /usr/include/rpc/rpc.h:43, from ./../tnm/generic/tnmSunRpc.c:16:
/usr/include/netinet/in.h:75: redefinition of `struct in_addr'
/usr/include/netinet/in.h:125: redefinition of `struct sockaddr_in'
/usr/include/netinet/in.h:140: redefinition of `struct ip_opts'
/usr/include/netinet/in.h:173: redefinition of `struct ip_mreq'
*** Error code 1

Stop.
[505]eclipse date
Fri Jul 5 15:54:50 PDT 1996
[506]eclipse ^D

Script done on Fri Jul 5 15:54:54 1996

I've re-read the scotty README files several times and checked previous
messages in the email archive since 2.1.0 was announced and I didn't find
any problems like the redefinition errors shown. If someone knows of
something obvious that I'm missing here, please help me out.

Thank you.

-jscott-

-- 
|J. Scott Williams, BH 313     Ph: (360) 650-2868  FAX: (360) 650-7323 |
|Admin. Computing Services     Internet:  scott@cc.wwu.edu             |
|Western Washington Univ.      "Internet--Talking across the electronic|
|Bellingham, WA  98225-9061               back fence of the world."-JSW|