naemon / naemon-livestatus

Naemon - Livestatus Eventbroker Module
GNU General Public License v2.0
27 stars 30 forks source link

Fails to build - error: 'RegexMatcher' does not name a type #30

Closed jsteel44 closed 6 years ago

jsteel44 commented 6 years ago

This once worked fine for me, but trying to rebuild recently and it now fails. Maybe due to now using later software packages. For example gcc 7.3.1. I'm running Arch Linux. Let me know what other information you might need. Thanks.

Making all in src
make[3]: Entering directory '/build/naemon/src/naemon-1.0.6/naemon-livestatus/src'
  CXX      livestatus_la-AndingFilter.lo
  CXX      livestatus_la-Column.lo
  CXX      livestatus_la-ColumnsColumn.lo
  CXX      livestatus_la-CustomVarsExplicitColumn.lo
  CXX      livestatus_la-ContactsColumn.lo
  CXX      livestatus_la-CustomVarsColumn.lo
In file included from CustomVarsColumn.cc:28:0:
CustomVarsFilter.h:45:5: error: 'RegexMatcher' does not name a type; did you mean 'uregex_matches'?
     RegexMatcher * _regex_matcher;
     ^~~~~~~~~~~~
     uregex_matches
make[3]: *** [Makefile:798: livestatus_la-CustomVarsColumn.lo] Error 1
make[3]: Leaving directory '/build/naemon/src/naemon-1.0.6/naemon-livestatus/src'
make[2]: *** [Makefile:475: all-recursive] Error 1
make[2]: Leaving directory '/build/naemon/src/naemon-1.0.6/naemon-livestatus'
make[1]: *** [Makefile:385: all] Error 2
make[1]: Leaving directory '/build/naemon/src/naemon-1.0.6/naemon-livestatus'
make: *** [Makefile:24: naemon-livestatus] Error 2