From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,9a2f254ab43eb240 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-10-31 15:00:03 PST Path: bga.com!news.sprintlink.net!hookup!olivea!decwrl!pa.dec.com!decuac.dec.com!usenet From: murphy@dco.dec.com (Rick Murphy) Newsgroups: comp.unix.osf.osf1 Subject: Re: Error: Undefined Date: 31 Oct 1994 21:00:18 GMT Organization: Digital Equipment Corporation, Landover MD Distribution: world Message-ID: <393lt2$o66@decuac.dec.com> References: <38ond9$jn0@galaxy.uci.agh.edu.pl> Reply-To: murphy@dco.dec.com NNTP-Posting-Host: rhmosf.dco.dec.com X-Newsreader: mxrn 6.18-25 In article <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 ... etc. Lots of responses - however, the *real* problem is fairly simple: You're linking your program against the static libX11.a vs. the shared version. Removing the "-L/usr/lib" will fix it. (And make the program smaller :-) -Rick -- Rick Murphy, WA1SPT/4 Washington Federal Programs Office Domain: murphy@dco.dec.com Technical Support Group Bang: decwrl!burfle.enet!murphy This posting expresses MY opinions only; Ding: 301-306-2040. I do not speak for Digital.