From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 100 invoked from network); 18 Aug 2000 16:41:47 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 18 Aug 2000 16:41:47 -0000 Received: (qmail 14545 invoked by alias); 18 Aug 2000 16:41:18 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3379 Received: (qmail 14538 invoked from network); 18 Aug 2000 16:41:18 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer goliath.siemens.de) From: "Andrej Borsenkow" To: "Zsh Users" Subject: RE: 3.1.9 build fails at zftp.c when using Sun's WorkShop Compilers 5.0 Date: Fri, 18 Aug 2000 20:41:15 +0400 Message-ID: <000f01c00933$1ff81cf0$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <000e01c00931$656c7cb0$21c9ca95@mow.siemens.ru> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal > > 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), I meant of course -lsocket. Both contain gethostby* and friends, but -lsocket incluldes generic version that supports service switch (the way it is implemented in SVR4) and -lresolv has DNS-pure versions. So, if -lresolv comes before -lsocket, no /etc/hosts is ever used. -andrej