Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!swrinde!cs.utexas.edu!uunet!newsflash.concordia.ca!sifon!homer.cs.mcgill.ca!storm
From: storm@cs.mcgill.ca (Marc WANDSCHNEIDER)
Newsgroups: comp.os.386bsd.apps
Subject: Re: less for NetBSD-0.8?
Date: 14 Oct 1993 15:11:51 GMT
Organization: SOCS, McGill University, Montreal, Canada
Lines: 22
Message-ID: <29jq7n$96g@homer.cs.mcgill.ca>
References: <29iv4u$81c@terminator.rs.itd.umich.edu>
NNTP-Posting-Host: mnementh.cs.mcgill.ca
In article <29iv4u$81c@terminator.rs.itd.umich.edu>,
Alex Tang <altitude@css.itd.umich.edu> wrote:
>Hi. Has anybody compiled less for NetBSD-0.8? i picked up the sources for
>less-177 from prep.ai.mit.edu, and agate, but for both, i get an error:
>search.o: Undefined symbol _re_comp referenced from text segment
>search.o: Undefined symbol _re_exec referenced from text segment
>*** Error code 1
I think there is a define to get around this, but the dirty fix that
I typically use is:
Add -Dre_comp=regcomp -Dre_exec=regexec
to the CFLAGS line.
Marc 'em.
--
----------------------------------------------------------------------------
Marc Wandschneider Seattle, WA
Free/Net BSD---Real UN*X, Really Free