From owner-freebsd-questions Sat Dec 5 10:11:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA27530 for freebsd-questions-outgoing; Sat, 5 Dec 1998 10:11:51 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA27519 for ; Sat, 5 Dec 1998 10:11:47 -0800 (PST) (envelope-from ben@scientia.demon.co.uk) Received: from ben by scientia.demon.co.uk with local (Exim 2.054 #11) id 0zmLsi-0009kJ-00; Sat, 5 Dec 1998 17:52:36 +0000 Date: Sat, 5 Dec 1998 17:52:36 +0000 From: Ben Smithurst To: Marc Bradshaw Cc: questions@FreeBSD.ORG Subject: Re: EsemFax compile probs Message-ID: <19981205175236.D37396@scientia.demon.co.uk> References: <36696750.107E1C35@tads.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <36696750.107E1C35@tads.org> User-Agent: Mutt/0.94.17i (FreeBSD/3.0-CURRENT) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 '' 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