*BSD News Article 12122


Return to BSD News archive

Xref: sserve comp.os.386bsd.questions:392 comp.os.386bsd.development:73
Newsgroups: comp.os.386bsd.questions,comp.os.386bsd.development
Path: sserve!manuel.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!usc!cs.utexas.edu!qt.cs.utexas.edu!news.Brown.EDU!noc.near.net!oz.plymouth.edu!ted
From: ted@oz.plymouth.edu (The Wizard of Oz)
Subject: Re: re_comp and re_exec: Where are they?
Message-ID: <1993Mar1.170843.26059@oz.plymouth.edu>
Organization: Plymouth State College - Plymouth, NH.
References: <C36B8E.9Fp@cs.mcgill.ca> <1ms10rINN6r9@life.ai.mit.edu>
Date: Mon, 1 Mar 93 17:08:43 GMT
Lines: 27

In article <1ms10rINN6r9@life.ai.mit.edu> mycroft@hal.gnu.ai.mit.edu (Charles Hannum) writes:
>
>In article <C36B8E.9Fp@cs.mcgill.ca> storm@cs.mcgill.ca (Marc
>Wandschneider) writes:
>>
>> A couple of programs I've been trying to compile have been bitching
>> that they can't find re_comp and re_exec.  Is there some #define I
>> can use to replace these two, or some quick fix ...?
>
>They are called `regcomp' and `regexec', and are in libc.
>

An easy fix to this would be to add a "define" in the makefile for
each like this:

	CFLAGS = -O -Dre_comp=regcomp -Dre_exec=regexec

It isn't really pretty, but it is quick and easy.


		--> Ted

|   Ted Wisniewski    			INET:  ted@oz.plymouth.edu       |
|   Academic Computing                               or                  |
|   Plymouth State College                     tedw@psc.plymouth.edu     |
|   Plymouth NH, 03264                                                   |