[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: building GMT: warnings and unresolved references: xdr_enum
- Subject: Re: building GMT: warnings and unresolved references: xdr_enum
- Date: Thu, 22 Oct 1998 08:29:56 -0600
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>