This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Javier, >Date: Thu, 22 Oct 1998 11:55:56 +0100 (WET DST) >From: Javier Maldonado Miranda <address@hidden> >Organization: Instituto Andaluz de Ciencias de la Tierra >To: address@hidden >Subject: Re: building GMT: warnings and unresolved references: xdr_enum >Keywords: 199810211426.IAA04938 In the above message, you wrote: > Thank you for your help. You were right and after changing the option > XDR= -lnsl the program compiled perfectly (although, the old warning > continued appearing). Great! > What I want to ask is you how do you know that > the name of the network support libray is nsl ?. Experience. :-) Seriously, because of the work I do, I have to know that kind of stuff. > I've been looking for that directory and it doesn't exits. "-lnsl" references the libraries "/usr/lib/libnsl.a" and "/usr/lib/libnsl.so". To see what's in them, do the following: ar tv /usr/lib/libnsl.a nm -g /usr/lib/libnsl.a nm -g /usr/lib/libnsl.so -------- Steve Emmerson <http://www.unidata.ucar.edu>