Re: Problems Compiling Scotty 2.1.0 on BSDI

Greg A. Woods (woods@most.weird.com)
Mon, 8 Jul 1996 16:12:52 -0400 (EDT)

[ On Fri, July 5, 1996 at 16:50:14 (-0700), J. Scott Williams wrote: ]
> Subject: Problems Compiling Scotty 2.1.0 on BSDI
>
> 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.

FYI my patch "scotty-local-2.1.0-v0.Patch" wasn't intended to fix any
problems on BSDI-1.1 -- it only fixes some shared library things related
to SunOS-4.1 (BSDI-1.1 doesn't have shared libraries), and some things I
didn't like about the startup sequence and environment initialisation.

> 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

I suspect this is because BSDI-1.1 has some rather antiquated RPC code.

Your best bet might be to upgrade to the current BSDI release, or
perhaps to try forcing the configure script to disable Sun RPC usage.

-- 
							Greg A. Woods

+1 416 443-1734 VE3TCP robohack!woods Planix, Inc. <woods@planix.com>; Secrets of the Weird <woods@weird.com>