*BSD News Article 98443


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!uunet!in3.uu.net!128.230.129.106!news.maxwell.syr.edu!newsfeed.gte.net!news
From: lee@wakky.dyn.ml.org (Lee Cremeans)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: gdb information (brain lock:)
Date: 25 Jun 1997 18:06:03 GMT
Organization: GTE Intelligent Network Services, GTE INS
Lines: 20
Message-ID: <5ormmb$j03$1@news9.gte.net>
References: <Pine.BSF.3.95q.970624085645.20762A-100000@artorius.sunflower.com>
Reply-To: hcremean@vt.edu
NNTP-Posting-Host: 1cust2.max6.washington2.dc.ms.uu.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Auth: D4039E08038F84CA10938491
X-Newsreader: knews 0.9.8
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:43504

In article <Pine.BSF.3.95q.970624085645.20762A-100000@artorius.sunflower.com>,
	"Stephen D. Spencer" <gladiatr@sunflower.com> writes:
> Greetings,
> 
> An interesting situation has occured.  I am using gcc 2.7.2.1 to compile
> LLNL XDIR 2.0 under FreeBSD 2.2.2R.  Everything went along quite merrily;
> nothing exceptionally strange in the compilation; however, when connecting
> to a host, the program will give me a "cannot connect to server" error.  

Check the final link step...was it linked against libresolv?  I've noticed 
that programs that try to use libresolv and were linked under 2.2 tend to 
barf when they try to connect to another host. The program I saw doing this 
was an IRC client, ircII-EPIC3.  Edit the Makefile, look for a LIBS line, if
it mentions -lresolv, take that bit out.

-- 
Lee C. -- Manassas, VA, USA  (WakkyMouse on DALnet #watertower)|A! JW223 
"People are idiots who deserve to be mocked."--Dogbert|YWD+++i P&B+++ SL+++^i   
My home page:http://wakky.dyn.ml.org/~lee                 | MD+++r P+ I++ Di
"Whoa, dumber than advertised!" | $++ E5/10/70/3c/73ac Ee34/1/36 H2 PonPippi