On 10/11/18 4:44 AM, Bill Fenner wrote:
This is because the prototype is only protected with #ifndef NETSNMP_FEATURE_REMOVE_SWRUN_COUNT_PROCESSES_BY_REGEX and doesn't have the "#ifdef HAVE_PCRE_H" added to it, so if you compile without HAVE_PCRE_H, the definition of netsnmp_regex_ptr is omitted, and the definition of the function itself is omitted, but the header still declares the prototype.

Ah, I hadn't thought of trying to build Net-SNMP on a system without <pcre.h>. The build failure should have been fixed by the patch that I checked in about twelve hours ago.

Thanks,

Bart.


_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to