Subject: Re: Help with NetBSD port of NFR
To: None <port-sparc@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: port-sparc
Date: 01/05/1999 09:22:45
In article <199812290120.UAA00465@shell.ezy.net> kbethke@shell.ezy.net (Kenneth Scott Bethke) writes:
>Trying to compile Network Flight Recorder under NetBSD 1.3.2 Has anyone
>had any success doing so? I do get the same compile error under OpenBSD
>sparc V2.4.
>
>Here is the error:
>
>Making in
>/usr/dnld/nfr-1.6/nfr/nfrd
>gcc -g -O -I/usr/dnld/nfr-1.6/nfr/include -c parse.c
>In file included from parse.y:16:
>nfrd.h:209: syntax error before `regex_t'
>*** Error code 1
>
>Looking at the code in nfrd.h I see:
>
>typedef struct pattern {
> char * p_str; /* the actual pattern */
> regex_t p_regex; /* the compiled pattern */
>} pattern_t;
>
>Looks fine to me.. is p_str possibly used elsewhere in NetBSD ?
>
>I'd love to keep this app on sparc platform, and not be forced to use
>Solaris 2.5.1..
>
Add #include <regex.h> before that.
christos