Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!ICASE.EDU!tom From: tom@ICASE.EDU (Tom Crockett) Newsgroups: comp.soft-sys.andrew Subject: Re: Trouble Building Andrew Under SunOS 4.1 Message-ID: Date: 25 Sep 90 12:09:08 GMT References: Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 47 Well, almost a week has gone by and I haven't gotten any responses at all to my message about trouble building Andrew under SunOS 4.1: Excerpts from internet.info-andrew: 19-Sep-90 Trouble Building Andrew Und.. Tom Crockett@icase.edu (1504+0) > We're having trouble building Andrew (w/ patches 1-6) under SunOS 4.1 on > a Sun 4/60. We get the following error when doing a make dependInstall > for atk/console/cmd: > doload: Errors while processing > doindex: indexing consolea.do ...doload: Internal botch - should > have resolved in doload_preset > doindex: NULL entrypoint from consolea.do...program terminated! > *** Error code 1 > make: Fatal error: Command failed for target `consolea.do' > Current working directory > /usr/local/share/X11R4/src/contrib/toolkits/andrew/atk/console/cmd > *** Error code 1 > make: Fatal error: Command failed for target `dependInstall' Should I infer from this that (1) other sites are not seeing this problem, or (2) this is something simple and we just haven't figured it out yet, or (3) nobody is running Andrew under SunOS 4.1? Our sources are current through patchlevel 6, and the same configuration builds and runs cleanly under SunOS 4.0.3, except for minor fixes in overhead/util/lib/getcpw.c and overhead/util/lib/getvpwkey.c. In these two routines, we eliminated references to the pw_quota field of the passwd structure, which, following the System V conventions, is no longer defined in 4.1. We did this by setting STD_DEFINES = -DSUNOS41 in site.mcr and then adding SUNOS41 to the #if tests for systems which don't support pw_quota. Our assumption is that this symbol is not currently being used elsewhere in the sources, and so should be side-effect free (and even if it were defined elsewhere, it's what we would want to do anyway). Is this a poor assumption? Tom Crockett ICASE Institute for Computer Applications in Science and Engineering M.S. 132C e-mail: tom@icase.edu NASA Langley Research Center phone: (804) 864-2182 Hampton, VA 23665-5225