Ad Widget

Collapse

failed to build 1.1beta3 --with-ldap

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vvk_
    Junior Member
    • Dec 2005
    • 1

    #1

    failed to build 1.1beta3 --with-ldap

    %build
    %configure --with-mysql \
    --with-net-snmp \
    --enable-server \
    --enable-agent \
    --with-ldap
    %make

    ...

    make[4]: Entering directory `/home/vvk/RPM/BUILD/zabbix-1.1beta3/src/libs/zbxsysinfo'
    gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -pipe -Wall -O2 -march=i686 -c -o common.o `test -f 'common/common.c' || echo './'`common/common.c
    common/common.c: In function `check_ldap':
    common/common.c:1350: error: `LDAP' undeclared (first use in this function)
    common/common.c:1350: error: (Each undeclared identifier is reported only once
    common/common.c:1350: error: for each function it appears in.)
    common/common.c:1350: error: `ldap' undeclared (first use in this function)
    common/common.c:1351: error: `LDAPMessage' undeclared (first use in this function)
    common/common.c:1351: error: `res' undeclared (first use in this function)
    common/common.c:1352: error: `msg' undeclared (first use in this function)
    common/common.c:1355: error: `LDAP_SCOPE_BASE' undeclared (first use in this function)
    common/common.c:1363: error: `BerElement' undeclared (first use in this function)
    common/common.c:1363: error: `ber' undeclared (first use in this function)
    common/common.c:1369: warning: implicit declaration of function `ldap_init'
    common/common.c:1376: warning: implicit declaration of function `ldap_search_s'
    common/common.c:1383: warning: implicit declaration of function `ldap_first_entry'
    common/common.c:1390: warning: implicit declaration of function `ldap_first_attribute'
    common/common.c:1390: warning: assignment makes pointer from integer without a cast
    common/common.c:1391: warning: implicit declaration of function `ldap_get_values'
    common/common.c:1391: warning: assignment makes pointer from integer without a cast
    common/common.c:1393: warning: implicit declaration of function `ldap_value_free'
    common/common.c:1394: warning: implicit declaration of function `ldap_memfree'
    common/common.c:1396: warning: implicit declaration of function `ber_free'
    common/common.c:1398: warning: implicit declaration of function `ldap_msgfree'
    common/common.c:1399: warning: implicit declaration of function `ldap_unbind'
    make[4]: *** [common.o] Error 1
    make[4]: Leaving directory `/home/vvk/RPM/BUILD/zabbix-1.1beta3/src/libs/zbxsysinfo'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory `/home/vvk/RPM/BUILD/zabbix-1.1beta3/src/libs/zbxsysinfo'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/vvk/RPM/BUILD/zabbix-1.1beta3/src/libs'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/vvk/RPM/BUILD/zabbix-1.1beta3/src'
    make: *** [all-recursive] Error 1
    make: Leaving directory `/home/vvk/RPM/BUILD/zabbix-1.1beta3'


    Any suggestions?
  • sauron
    Senior Member
    • Jan 2005
    • 215

    #2
    Yes. See attach.
    Attached Files

    Comment

    • Alexei
      Founder, CEO
      Zabbix Certified Trainer
      Zabbix Certified SpecialistZabbix Certified Professional
      • Sep 2004
      • 5654

      #3
      Fixed in CVS code.
      Alexei Vladishev
      Creator of Zabbix, Product manager
      New York | Tokyo | Riga
      My Twitter

      Comment

      Working...