*BSD News Article 70045


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.cis.okstate.edu!newsfeed.ksu.ksu.edu!castor.cca.rockwell.com!lazrus.cca.rockwell.com!newssvr.cacd.rockwell.com!newsrelay.iastate.edu!vixen.cso.uiuc.edu!newsfeed.internetmci.com!in2.uu.net!zdc!zdc-e!szdc-e!pyu
From: pyu@rogidi.com (Patrick Hong Kin Yu)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Q: efax for FreeBSD ?
Date: 2 Jun 1996 21:43:45 GMT
Organization: Zippo
Lines: 29
Distribution: world
Message-ID: <4ot1uh$lda@perry.zippo.com>
References: <4ooneh$28p@bullet.oh.sub.org>
NNTP-Posting-Host: 206.130.183.36
X-Newsreader: mnews [version 1.19] 1995-07/21(Fri)

In article <4ooneh$28p@bullet.oh.sub.org>
berni@bullet.rhein-neckar.de writes:

> Hi,
> 
> has anybody ported the efax prog (basicly writte for linux ?)
> to FreeBSD?
> I'm NOT a C crack, so my porting trials were very poor: binaries
> are running, but I never will get a connection fron efax to the 
> serial (fax) port. Off course kermit and cu run properly over
> the same port.
> Hints ?

Put an  #ifdef BSD /#endif around the  strerror() function in
efaxlib.c -- ie. in  efaxlib.c ,

#ifdef BSD
/* For systems without strerror(3) */

char *strerror( int i )
..
}
#endif


--
Patrick Hong Kin Yu / §E ±d °· \  Toronto, Canada
pyu@rogidi.com