This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: GCC Error Referencing re_comp & re_exec
- From: Ian Lance Taylor <ian at airs dot com>
- To: DimmerMI <dradde at charter dot net>
- Cc: gcc-help at gcc dot gnu dot org
- Date: 27 Sep 2005 15:21:21 -0700
- Subject: Re: GCC Error Referencing re_comp & re_exec
- References: <965007.post@talk.nabble.com>
"DimmerMI \(sent by Nabble.com\)" <lists@nabble.com> writes:
> I've been trying to compile an older network monitoring utility called Rover on a NetBSD system, but keep getting errors about re_comp and re_exec. The errors are as follows:
> display.o: In function `AddFilter':
> display.o(.text+0xd5): undefined reference to `re_comp'
> display.o: In function `CountProblem':
> display.o(.text+0x66b): undefined reference to `re_comp'
> display.o(.text+0x67a): undefined reference to `re_exec'
> display.o: In function `FilterProblem':
> display.o(.text+0x707): undefined reference to `re_comp'
> display.o(.text+0x716): undefined reference to `re_exec'
>
> If someone can help me figure out these errors that would be great.
On NetBSD you need to link with -lcompat to pick up those functions.
See 'man re_comp'.
Ian