Path: utzoo!utgpu!watserv1!watmath!att!att!emory!wuarchive!usc!ucsd!ucbvax!ANDREW.CMU.EDU!gk5g+ From: gk5g+@ANDREW.CMU.EDU (Gary Keim) Newsgroups: comp.soft-sys.andrew Subject: Re: Still no luck trying to make Andrew under SunOS 4.1 Message-ID: <0b982xu00VsW0OgWEU@andrew.cmu.edu> Date: 23 Oct 90 17:41:17 GMT References: Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 36 Excerpts from internet.info-andrew: 5-Oct-90 Re: Still no luck trying to.. pive%BANRUC01.BITNET@vma (4797+0) > but then I tried to undefine RESOLVER_ENV and RESOLVLIB empty... > 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' I have no idea what the problem is with linking against libresolv.a under SunOS4.1. Some people can do it, other can't. The failure with makedo reporting that there are "relocatable symbols" is beyond me. It's a mystery. The above problem I can handle. Undefine RESOLVER_ENV in site.h. In site.mcr set RESOLVLIB to the empty string. Clean the Andrew tree (make Clean). Start the build process over. It appears from the errors above that the libmail.a used was the one linked against libresolv.a. If this problem reccurs, find out what module has the undefined symbols by running nm(1). Gary Keim ATK Group