Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: 3.1.9 build fails at zftp.c when using Sun's WorkShop Compilers 5.0
- X-seq: zsh-users 3379
- From: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: "Zsh Users" <zsh-users@xxxxxxxxxxxxxx>
- 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
- Importance: Normal
- In-reply-to: <000e01c00931$656c7cb0$21c9ca95@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
>
> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author