Path: utzoo!attcan!uunet!decwrl!ucbvax!BANRUC01.BITNET!pive From: pive@BANRUC01.BITNET Newsgroups: comp.soft-sys.andrew Subject: Re: Still no luck trying to make Andrew under SunOS 4.1 Message-ID: Date: 5 Oct 90 10:40:19 GMT References: <4b2Zzam00VsWM5Kkhn@andrew.cmu.edu> Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: Organization: The Internet Lines: 137 Excerpts from software: 3-Oct-90 Re: Still no luck tryingto.. Gary Keim@andrew.cmu.edu (649) > There is a bug with Ness on Suns due to yacc differences amongplatforms. > Keep the resolver turned on. > Remove references to RESOLVLIB in: > andrew/atk/help/src/Imakefile > andrew/atk/console/cmd/Imakefile > andrew/atkams/messages/lib/Imakefile > Add these lines to you andrew/config/site.mcr file: > CDEBUGFLAGS = -g -Bstatic > MAKEDOFLAGS = -g -d ${BASEDIR}/lib -b ${BASEDIR}/bin > Go to the root of the Andrew sources and rebuild. > % imake -I. -I./config -Timake.tmpl -s Makefile -DTOPDIR=. > % make World I did this, first with RESOLVLIB empty but then this happens: cc -c -I. -I/usr/andrew/include/ams -g -Bstatic-I/usr/andrew/include/atk -I/usr/andrew/include -I//usr/include/X11 stubs.c /usr/andrew/bin/makedo -g -d /usr/andrew/lib -b /usr/andrew/bin -o amsn.do amsn.o stubs.o /usr/andrew/lib/libcui.a /usr/andrew/lib/libcuin.a /usr/andrew/lib/libmssrv.a /usr/andrew/lib/libeli.a /usr/andrew/lib/librxp.a /usr/andrew/lib/libmsshr.a /usr/andrew/lib/libmail.a/usr/andrew/lib/liberrors.a /usr/andrew/lib/libutil.a dofix: Undefined: _res_search dofix: Undefined: _dn_skipname dofix: Undefined: _dn_skipname dofix: Undefined: _dn_expand .... doload: Errors while processing doindex: indexing amsn.do ...doload: Undefined symbol: _res_search doload: Undefined symbol: _dn_skipname doload: Undefined symbol: _dn_expand doload: Undefined symbol: __res doload: Undefined symbol: _res_init doload: Errors while processing doindex: NULL entrypoint from amsn.do...program terminated! *** Error code 1 make: Fatal error: Command failed for target `amsn.do' Current working directory/home/share/src/X11R4/contrib/toolkits/andrew/atkams/mes sages/lib next I defined RESOLVLIB = /usr/lib/libresolv.a but... cc -c -I. -I/usr/andrew/include/ams -g -Bstatic-I/usr/andrew/include/atk -I/usr/andrew/include -I//usr/include/X11 stubs.c /usr/andrew/bin/makedo -g -d /usr/andrew/lib -b /usr/andrew/bin -o amsn.do amsn.o stubs.o /usr/andrew/lib/libcui.a /usr/andrew/lib/libcuin.a /usr/andrew/lib/libmssrv.a /usr/andrew/lib/libeli.a /usr/andrew/lib/librxp.a /usr/andrew/lib/libmsshr.a /usr/andrew/lib/libmail.a/usr/andrew/lib/liberrors.a /usr/andrew/lib/libutil.a /usr/lib/libresolv.a dofix: Relocatable symbol value (send.o = 675216, type 4) dofix: Relocatable symbol value (send.o = 675216, type 4) dofix: Relocatable symbol value (send.o = 675216, type 4) dofix: Relocatable symbol value (send.o = 675216, type 4) dofix: Relocatable symbol value (_MS_PrefetchMessage = 202968, type 4) dofix: Relocatable symbol value (_MS_PrefetchMessage = 202968, type 4) dofix: Relocatable symbol value (_amsn__CUI_RewriteHeaderLine = 3028, type 4) dofix: Relocatable symbol value (_MS_GetSearchPathEntry = 107312, type 4) dofix: Relocatable symbol value (_MS_PrefetchMessage = 202968, type 4) dofix: Relocatable symbol value (_MS_PrefetchMessage = 202968, type 4) dofix: Relocatable symbol value (_amsn__CUI_RewriteHeaderLine = 3028, type 4) dofix: Relocatable symbol value (/usr/lib/libresolv.a.L309 = 827966, type 6) dofix: Relocatable symbol value (/usr/lib/libresolv.a.L309 = 827966, type 6) dofix: Relocatable symbol value (_MS_PrefetchMessage = 202968, type 4) ... dofix: Relocatable symbol value (_eliyybgin = 792892, type 6) doload: Errors while processing doindex: indexing amsn.do ...Segmentation fault (core dumped) *** Error code 11 make: Fatal error: Command failed for target `amsn.do' Current working directory/home/share/src/X11R4/contrib/toolkits/andrew/atkams/mes sages/lib but then I tried to undefine RESOLVER_ENV and RESOLVLIBempty... cc -g -Bstatic -I/usr/andrew/include/atk -I/usr/andrew/include-I//usr/include/X11 -o cuin cui.o cuifns.o unixmach.o morprntf.o /usr/andrew/lib/libcui.a /usr/andrew/lib/libcuin.a /usr/andrew/lib/libmssrv.a /usr/andrew/lib/libmsshr.a /usr/andrew/lib/libeli.a /usr/andrew/lib/librxp.a /usr/andrew/lib/libmail.a/usr/andrew/lib/liberrors.a /usr/andrew/lib/libmalloc.a/usr/andrew/lib/libutil.a Undefined _dn_expand _res_init __res _dn_skipname _res_search /lib/libc.a(stricmp.o): _strnicmp: multiply defined *** Error code 2 make: Fatal error: Command failed for target `cuin' Current working directory/home/share/src/X11R4/contrib/toolkits/andrew/ams/msclie nts/cui Please can someone give me another hint? (configuration: SS1+ sunos4.1X11R4PL14 andrewPL7) Thanks P. Verhaeghe University of Antwerp, RUCA Algebra / Geometry Groenenborgerlaan 171 B-2020 Antwerpen, Belgium Tel: +32 3 2180308 Fax: +32 3 2180217 Telex: RUCABI 33362 E-mail: pive@banruc01.bitnet (or pive@ccu.uia.ac.be)