Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Dec 1998 17:52:36 +0000
From:      Ben Smithurst <ben@scientia.demon.co.uk>
To:        Marc Bradshaw <tad@tads.org>
Cc:        questions@FreeBSD.ORG
Subject:   Re: EsemFax compile probs
Message-ID:  <19981205175236.D37396@scientia.demon.co.uk>
In-Reply-To: <36696750.107E1C35@tads.org>
References:  <36696750.107E1C35@tads.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Marc Bradshaw wrote:

> Has anyone comiled faxd from the Esemfax package for FreeBSD ?  I get
> these two errors :
> 
> # make
> gcc -Wall -O2  faxd.c  -o faxd
> faxd.c: In function `main':
> faxd.c:185: `errno' undeclared (first use this function)
> faxd.c:185: (Each undeclared identifier is reported only once
> faxd.c:185: for each function it appears in.)
> faxd.c:185: `ENOTCONN' undeclared (first use this function)
> *** Error code 1

You'll need to add ``#include <errno.h>'' to faxd.c and any other
affected files.

> # make
> gcc -Wall -O2  faxd.c  -o faxd
> /var/tmp/cc0004121.o: Undefined symbol `_crypt' referenced from text
> segment
> *** Error code 1

Compile with -lcrypt

-- 
Ben Smithurst
ben@scientia.demon.co.uk

send a blank message to ben+pgp@scientia.demon.co.uk for PGP key

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981205175236.D37396>