From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 876 invoked from network); 18 Aug 2000 17:38:25 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 18 Aug 2000 17:38:25 -0000 Received: (qmail 20446 invoked by alias); 18 Aug 2000 17:38:00 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3380 Received: (qmail 20438 invoked from network); 18 Aug 2000 17:37:58 -0000 Date: Fri, 18 Aug 2000 10:11:24 -0700 From: Danek Duvall To: "Andrej Borsenkow" Cc: "Roland Jesse" , "Zsh Users" Subject: Re: 3.1.9 build fails at zftp.c when using Sun's WorkShop Compilers 5.0 Message-ID: <20000818101124.A9766@lorien.emufarm.org> Mail-Followup-To: "Andrej Borsenkow" , "Roland Jesse" , "Zsh Users" References: <20000818181244.A3224@knecht.cs.uni-magdeburg.de> <000e01c00931$656c7cb0$21c9ca95@mow.siemens.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3i In-Reply-To: <000e01c00931$656c7cb0$21c9ca95@mow.siemens.ru> On Fri, Aug 18, 2000 at 08:28:52PM +0400, Andrej Borsenkow wrote: > I just found, that these live in -lresolv here. Damn, some developers should > be shoot on the spot ... the problem (here, at least) is, that -lresolv MUST > be after -lnsl (else name resolution won't work), so usual configure checks > won't work ... I have to think about it. > > Check, in which library these function live under Solaris. I suspect, they are > in -lresolv as well. On Solaris, inet_pton and friends live in -lnsl. -lnsl and -lresolv are not both necessary, only the former. And -lsocket seems to require -lnsl. Configure seems to always do the right thing on Solaris with regard to the networking libraries, though. And I do have a version of zsh 3.1.9-dev-1 built on Solaris 8 with the 5.0 compilers ... Danek