From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,930d3e969676c2b5 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-04-27 04:57:13 PST Newsgroups: comp.unix.osf.osf1 Path: gmd.de!nntp.gmd.de!xlink.net!slsv6bt!slbh01.bln.sel.alcatel.de!rcvie!hp4at!Austria.EU.net!EU.net!howland.reston.ans.net!vixen.cso.uiuc.edu!sdd.hp.com!decwrl!pa.dec.com!datum.nyo.dec.com!croton.nyo.dec.com!frank From: frank@croton.nyo.dec.com (Frank Wortner) Subject: Re: Trouble with Motif compilation Message-ID: <1994Apr26.175326.18073@datum.nyo.dec.com> Sender: usenet@datum.nyo.dec.com (USENET News System) Reply-To: frank@nyo.dec.com Organization: Digital Equipment Corporation X-Newsreader: mxrn 6.18-16 References: <2pjgps$4le@ghost.sm.dsi.unimi.it> Date: Tue, 26 Apr 1994 17:53:26 GMT In article <2pjgps$4le@ghost.sm.dsi.unimi.it>, broglia@ghost.sm.dsi.unimi.it (marco broglia) writes: |>Hi everybody, |> |>I'm trying to compile a X/Motif application on an alpha station |>running OSF1 V1.3. |>At link time, I got this ld error (running gcc V2.5.5): |> |>/bin/ld: |>Error: Undefined: |>dnet_conn |>dnet_addr |>getnodebyname |>_DYNAMIC |>collect2: ld returned 1 exit status Add the following to the list of libraries on the compile: -ldnet_stub The Motif and X11 contain support for DECNET as a transport. Since there is no way of knowing in advance whether or not a given DEC OSF/1 system actually has DECNET or not, the dnet_stub library resolves all the DECNET routines. On systems that contain DECNET the stubs arrange to automatically call the real DECNET routines if the application tries to use DECNET as a transport. -- Frank