Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!ginosko!uunet!nuchat!moray!mybest!ut-emx!mic From: mic@ut-emx.UUCP (Mic Kaczmarczik) Newsgroups: comp.sys.next Subject: Re: C Compiler BUG (really why no libresolv.a) Summary: Resolver routines are in libc.a already Keywords: BUG Message-ID: <15246@ut-emx.UUCP> Date: 14 Jul 89 04:02:35 GMT References: <1989Jul12.193615.27988@csusac.uucp> Reply-To: mic@emx.utexas.edu (Mic Kaczmarczik) Organization: UT Austin Computation Center, User Services Unix Support Group Lines: 18 In article <1989Jul12.193615.27988@csusac.uucp> hoodr@csusac.uucp (Robert Hood) writes: > One more thing: Why isn't there a "/usr/etc/libresolv.a". The >NeXT supports networking and nameserving very well, but I would like to >compile other networking/nameserver programs too. You get the resolver versions of routines (gethostbyname(), etc.) for free in the shared C library, so there's no need for a separate resolver library. Just remove the reference to -lresolv and the programs should link and run fine. Mic Kaczmarczik UT Austin Computation Center -- Mic Kaczmarczik If you drink, don't drill. UT Austin Computation Center -- Matt Groening mic@emx.utexas.edu MIC@UTAIVC.BITNET