-
Incident report
-
Resolution: Fixed
-
Minor
-
3.0.3, 3.0.4
-
gnu linux with custom-compiled software
I have net-snmp located in /usr/local/net-snmp/
Since 3.0.2 discoverer component from zabbix-server does not compile - gcc can't find snmp headers.
gcc -DHAVE_CONFIG_H -I. -I../../../include -O2 -I/usr/local/curl/include -MT discoverer.o -MD -MP -MF .deps/discoverer.Tpo -c -o discoverer.o discoverer.c In file included from discoverer.c:33:0: ../poller/checks_snmp.h:30:39: fatal error: net-snmp/net-snmp-config.h: No such file or directory # include <net-snmp/net-snmp-config.h> ^ compilation terminated. Makefile:401: recipe for target 'discoverer.o' failed make: *** [discoverer.o] Error 1
in Makefile there are required -L flags but -I flag for snmp is missing.
- is duplicated by
-
ZBX-11212 Compile fail on OpenBSD6 amd64
- Closed