Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!decwrl!ucbvax!dog.ee.lbl.gov!elf.ee.lbl.gov!torek From: torek@elf.ee.lbl.gov (Chris Torek) Newsgroups: comp.unix.programmer Subject: Re: ftp location for libcompat? Keywords: ftp libcompat Message-ID: <10503@dog.ee.lbl.gov> Date: 2 Mar 91 02:15:35 GMT References: <1991Feb17.210542.25238@hoss.unl.edu> Reply-To: torek@elf.ee.lbl.gov (Chris Torek) Distribution: na Organization: Lawrence Berkeley Laboratory, Berkeley Lines: 23 X-Local-Date: Fri, 1 Mar 91 18:15:35 PST In article <1991Feb17.210542.25238@hoss.unl.edu> mosemann@sardion.unl.edu (Russell Mosemann) writes: > I downloaded the Reno 4.3bsd code for talkd and talk so that I can >talk with the rest of the world and not just Sun's with broken talk. >After a little tweaking, everything compiles just fine, but I can't link >talk because I don't have libcompat.a. I'm using SUNOS 4.1.1. Is there >some place where I can pick up the library? (The symbols _herror and >_strerror are not defined after linking.) Thanks. herror() and strerror() are not in libcompat; libcompat is for 4.3BSD (and older) compatibility (it contains things like a non-obnoxious `gets' function, and gtty() and stty() `system calls'). strerror() produces a printable string given a system call error number from . herror() is like perror() except that it it reads h_errno rather than errno, and deals with name server failures. strerror() and herror() should be available in the same place from which you got talk and talkd. -- In-Real-Life: Chris Torek, Lawrence Berkeley Lab EE div (+1 415 486 5427) Berkeley, CA Domain: torek@ee.lbl.gov