Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: danpop@cernapo.cern.ch (Dan Pop)
Subject: Re: Error: Undefined
Date: Thu, 27 Oct 1994 19:33:41 GMT	[thread overview]
Message-ID: <CyCJo5.EIC@news.cern.ch> (raw)
In-Reply-To: 38ond9$jn0@galaxy.uci.agh.edu.pl

In <38ond9$jn0@galaxy.uci.agh.edu.pl> grzes@sony10 (Grzegorz Mucha) writes:

>sometimes, as I compile something on OSF/1 V1.3 (alpha) I get the following
>error:
>
>/usr/ucb/ld:
>Error: Undefined:
>dnet_conn
>dnet_addr
>getnodebyname
>
>what library should I link to omit this error?

I ran into this problem, too. Here is the answer from the DEC support
center:

Windows Programming

         The following notes apply to windows
         programming.


DECnet Transport for Client/Server Connections

         The X Server, libraries, and various clients are
         able to utilize a DECnet transport mechanism for
         client/server connections if an appropriate
         DECnet product is installed on the system (or on
         both systems if the client and server are
         running on different systems).  If DECnet is not
         installed, attempts to establish such
         connections by a DECnet transport will fail.

         Clients and libraries which directly execute
         calls to DECnet functions such as getnodename,
         dnet_addr, and dnet_conn are built with
         libdnet_stub.so in their link editor (ld)
         command.  So too, the loadable X server includes
         libdnet_stub.so in its list of shared libraries
         to be loaded.

         Clients which are to be built fully-static and
         include LibX11.a or libXmu.a must also
         incorporate libdnet_stub.a (if they will not be
         using DECnet transport) or libdnet.a as included
         in the DECnet product.  Inclusion of one of the
         libdnet libraries is required to resolve
         function calls from within libX11 or libXmu
         modules.  If it is not a requirement that the
         client be fully static but the client is using
         libX11.a or libXmu.a for some other reason,
         libdnet_stub.so can be included in the ld
         command information and the client can then be
         used whether or not DECnet is installed.

         Xservers which are to be built fully-static and
         include libos.a must also incorporate
         libdnet_stub.a (if not to be using DECnet
         transport) or libdnet.a (if to be capable of
         using DECnet transport).  If it is not required
         that the client be fully static, libdnet_stub.so
         can be included in the ld command information.
         The resultant X server will access this shared
         library and be usable whether or not DECnet is
         installed.

Dan
--
Dan Pop 
CERN, CN Division
Email: danpop@cernapo.cern.ch
Mail:  CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland


  reply	other threads:[~1994-10-27 19:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-10-27 17:18 Error: Undefined Grzegorz Mucha
1994-10-27 19:33 ` Dan Pop [this message]
1994-10-28 15:55   ` Paul Southworth
1994-10-28 11:39 ` lftraini
1994-10-28 22:00 ` Jeff Lanka
1994-10-31 21:00 ` Rick Murphy
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox