Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-19621

5.2.7: build fails against net-snmp 5.9.1

    XMLWordPrintable

Details

    • Problem report
    • Status: Closed
    • Trivial
    • Resolution: Duplicate
    • None
    • None
    • Server (S)
    • None
    • Linux x96_64, net-snmp 5.9.1
    • Team A
    • Sprint 80 (Sep 2021)

    Description

      Build fails with

      make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.2.7/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/poller'
      /usr/bin/gcc -DHAVE_CONFIG_H -I. -I../../../../src/zabbix_server/poller -I../../../include   -I../../../../include -I../../../../src/libs/zbxsysinfo/simple -I../../../../src/libs/zbxdbcache -I. -I/usr/include -I/usr/include  -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none   -c -o libzbxpoller_a-checks_snmp.o `test -f 'checks_snmp.c' || echo '../../../../src/zabbix_server/poller/'`checks_snmp.c
      ../../../../src/zabbix_server/poller/checks_snmp.c: In function ‘zbx_snmp_open_session’:
      ../../../../src/zabbix_server/poller/checks_snmp.c:572:77: error: ‘usmDESPrivProtocol’ undeclared (first use in this function); did you mean ‘usmAESPrivProtocol’?
        572 |                                                 session.securityPrivProto = usmDESPrivProtocol;
            |                                                                             ^~~~~~~~~~~~~~~~~~
            |                                                                             usmAESPrivProtocol
      ../../../../src/zabbix_server/poller/checks_snmp.c:572:77: note: each undeclared identifier is reported only once for each function it appears in
      make[3]: *** [Makefile:770: libzbxpoller_a-checks_snmp.o] Error 1
      make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.2.7/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/poller'
      make[2]: *** [Makefile:838: all-recursive] Error 1
      make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.2.7/x86_64-redhat-linux-gnu-mysql/src/zabbix_server'
      make[1]: *** [Makefile:523: all-recursive] Error 1
      make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.2.7/x86_64-redhat-linux-gnu-mysql/src'
      
      

       

      Attachments

        Activity

          People

            vso Vladislavs Sokurenko
            kloczek Tomasz Kłoczko
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: