Ad Widget

Collapse

"make" problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • imza72
    Junior Member
    • Oct 2004
    • 3

    #1

    "make" problem

    i've problem when i issued the "make" command. at the beginning it's look fine but at the end, this is the error msg:-

    zabbix_sucker.c:406: warning: implicit declaration of function `snmp_errstring'
    zabbix_sucker.c:406: dereferencing pointer to incomplete type
    zabbix_sucker.c:407: dereferencing pointer to incomplete type
    zabbix_sucker.c:407: `SNMP_ERR_NOSUCHNAME' undeclared (first use in this function)
    zabbix_sucker.c:416: `STAT_TIMEOUT' undeclared (first use in this function)
    zabbix_sucker.c:420: warning: implicit declaration of function `snmp_sess_perror'
    zabbix_sucker.c:434: warning: implicit declaration of function `snmp_free_pdu'
    zabbix_sucker.c:436: warning: implicit declaration of function `snmp_close'
    zabbix_sucker.c:269: warning: unused variable `session'
    zabbix_sucker.c: In function `get_value':
    zabbix_sucker.c:703: `SNMP_VERSION_1' undeclared (first use in this function)
    zabbix_sucker.c:712: `SNMP_VERSION_2c' undeclared (first use in this function)
    zabbix_sucker.c: In function `main':
    zabbix_sucker.c:1201: warning: implicit declaration of function `init_snmp'
    make[1]: *** [all] Error 1
    make[1]: Leaving directory `/home/downloads/zabbix-1.0/src/zabbix_sucker'
    make: *** [all] Error 1


    hope someone will help me. yhanks in adv.
  • cooper
    Senior Member
    • Sep 2004
    • 110

    #2
    what switches/options did you pass to ./configure prior to make?
    Last edited by cooper; 27-10-2004, 05:25.

    Comment

    • imza72
      Junior Member
      • Oct 2004
      • 3

      #3
      i don't get what u mean. i just follow the manual for zabbix-1.0. ok...sorry...i know what u mean....

      here is the switches that i passed....

      ./configure --with-mysql -with-net-snmp # for MySQL

      Comment

      • cooper
        Senior Member
        • Sep 2004
        • 110

        #4
        Ok, so i am guessing you are trying to build the server. What you probably did after un-taring the source was
        Code:
        ./configure -with-mysql –with-net-snmp
        This tells the program to attempt to build in support for snmp. It looks from the errors that you dont have snmp, or at least the libs, installed. This is not a problem. I dont use snmp on my install.

        Just start over and use
        Code:
        ./configure -with-mysql
        instead. make should then complete, assuming it doesnt have any other errors.

        Comment

        • imza72
          Junior Member
          • Oct 2004
          • 3

          #5
          i believe that i've installed the module....

          # rpm -qa | grep net-snmp
          net-snmp-devel-5.1.2-1.rh9
          net-snmp-5.1.2-1.rh9

          any other ideas...??

          TQ

          Comment

          • cooper
            Senior Member
            • Sep 2004
            • 110

            #6
            yes, it does look like you have it. It seems that make cannot find your snmp-libs. They may be in an non-standard place. Check this thread https://www.zabbix.com/forum/node/44 The 1st couple posts might help.

            Comment

            • Puchacz
              Junior Member
              • Oct 2004
              • 1

              #7
              Hi everyone,
              I have similar problem, but not the same (another warning messages and stop by Error). On Slackware 10.0 but also with net-snmp 5.1.2 package.

              I don't know where is the problem, but with net-snmp 5.0.9 work fine.
              Try previous version of snmp.

              Comment

              Working...