Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: swamp-dog AT ntlworld DOT com (Guy Harrison) To: Subject: Re: groff : grap and deroff Date: Sat, 17 Nov 2001 21:11:10 GMT Reply-To: swamp-dog AT ntlworld DOT com Message-ID: <3bf7d23d.1177102@smtp.swampdog> References: <000901c16dd7$5d931100$6fc82486 AT medschool DOT dundee DOT ac DOT uk> In-Reply-To: <000901c16dd7$5d931100$6fc82486@medschool.dundee.ac.uk> X-Mailer: Forte Agent 1.5/32.451 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id fAHLHnc02129 On Thu, 15 Nov 2001 13:13:49 -0000, "Fergus" wrote: >I tried installing grap-1.21.tar.gz available from >http://www.lunabase.org/~faber/Vault/software/grap/ but failed at the make >stage. No doubt me doing something daft or failing to do something sensible. Was this the error? c++ -Wall -DHAVE_CONFIG_H -Wno-unused -c grap_lex.cc c++ -Wall -DHAVE_CONFIG_H grap.o grap_lex.o grap_draw.o grap_pic.o grap_parse.o grap_tokenizer.o -o grap grap_lex.o(.text+0x6630):grap_lex.cc: undefined reference to `errno' collect2: ld returned 1 exit status make: *** [grap] Error 1 If so, and nothing else amiss, then it will link if you insert... #include ...into grap_lex.cc just after (line 9)... #define FLEX_SCANNER #define YY_FLEX_MAJOR_VERSION 2 #define YY_FLEX_MINOR_VERSION 5 #include #include // <-insert ..then make again. -- swamp-dog AT ntlworld DOT com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/