[ZBX-11073] Problem with compiling zabbix against custom snmp libs Created: 2016 Aug 09 Updated: 2017 May 30 Resolved: 2016 Aug 11 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Installation (I), Proxy (P), Server (S) |
Affects Version/s: | 3.0.3, 3.0.4 |
Fix Version/s: | 3.0.5rc1, 3.2.0alpha2 |
Type: | Incident report | Priority: | Minor |
Reporter: | Artur W, | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | compilation | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
gnu linux with custom-compiled software |
Attachments: | ZBX-11073.patch | ||||||||
Issue Links: |
|
Description |
I have net-snmp located in /usr/local/net-snmp/ 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. |
Comments |
Comment by Glebs Ivanovskis (Inactive) [ 2016 Aug 09 ] |
Regression from |
Comment by Glebs Ivanovskis (Inactive) [ 2016 Aug 09 ] |
Fix for version 3.0 is available in development branch svn://svn.zabbix.com/branches/dev/ZBX-11073 revision 61528. |
Comment by Glebs Ivanovskis (Inactive) [ 2016 Aug 09 ] |
Patch attached. MrLuke, I will be glad to hear your feedback. |
Comment by Artur W, [ 2016 Aug 09 ] |
no more errors while compiling. Thanx |
Comment by Andris Zeila [ 2016 Aug 10 ] |
Successfully tested |
Comment by Glebs Ivanovskis (Inactive) [ 2016 Aug 10 ] |
Fixed in pre-3.0.5rc1 r61557, pre-3.2.0alpha2 (trunk) r61558. |