You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jim Gifford <ma...@jg555.com> on 2002/04/21 23:30:49 UTC

regex problem

I have a problem compiling I have noticed a few problems, I was wondering if
others have had the same problem.

Some reason while I compile the hsregex.h file gets included, to my
understanding it is for WIN32, but I'm running linux. Did I miss something
when I configured my apache to cause
this issue. It gets called from the ap_config.h file.

Here is an example of the error I receive.

/usr/include/regex.h:295: parse error before numeric constant
/usr/include/regex.h:396: conflicting types for `regex_t'
/usr/include/hsregex.h:32: previous declaration of `regex_t'
/usr/include/regex.h:399: conflicting types for `regoff_t'
/usr/include/hsregex.h:26: previous declaration of `regoff_t'
/usr/include/regex.h:427: conflicting types for `regmatch_t'
/usr/include/hsregex.h:36: previous declaration of `regmatch_t'
/usr/include/regex.h:540: conflicting types for `regcomp'
/usr/include/hsregex.h:40: previous declaration of `regcomp'
/usr/include/regex.h:545: conflicting types for `regexec'
/usr/include/hsregex.h:74: previous declaration of `regexec'
/usr/include/regex.h:548: conflicting types for `regerror'
/usr/include/hsregex.h:70: previous declaration of `regerror'
/usr/include/regex.h:550: conflicting types for `regfree'
/usr/include/hsregex.h:84: previous declaration of `regfree'

A workaround I have been using is to copy regex.h to hsregex.h