Ad Widget

Collapse

make issue --with-net-snmp FreeBSD X

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • marc
    Senior Member
    • Oct 2004
    • 146

    #16
    ok.. i found out that it could be a missing header file for freebsd 4.
    lber.h defines BerElement functions at FreeBSD4.x (if iam right)
    i added an include in work/zabbix-1.1beta1/src/libs/zbxsysinfo/sysinfo.c but still no success. anyone know a bit c and may can tell me if this could be the problem?

    Comment

    • bmc
      Junior Member
      • Sep 2005
      • 5

      #17
      note

      just as a note - on FBSD5.4 with native packages I had the same problem. All i did to fix it is just add @SNMP_LDFLAGS@ in src/zabbix_server/poller/Makefile.[am|in], similar to fix of James Wells for LDAP support: http://www.zabbix.com/forum/attachme...ttachmentid=89

      Comment

      • marc
        Senior Member
        • Oct 2004
        • 146

        #18
        this helped several bugs ago but has nothing to do with this :/

        Comment

        • bmc
          Junior Member
          • Sep 2005
          • 5

          #19
          Full solution:
          1) Add @SNMP_INCLUDE@ to
          1.1) line 2 on src/zabbix_server/poller/Makefile.am
          1.2) line 180 on src/zabbix_server/poller/Makefile.in
          2) Add @SNMP_LFLAGS@ to
          2.1) line 6 on src/zabbix_server/Makefile.am
          2.1) line 182 on src/zabbix_server/Makefile.in

          PS: i don`t use LDAP, so it works for me
          Last edited by bmc; 01-10-2005, 09:50.

          Comment

          • marc
            Senior Member
            • Oct 2004
            • 146

            #20
            as i said earlier. i mixed 2 threads by mistake. i added all this INCLUDES.. its all building and fine on BSD 5.x even ldap is building. on BSD 4 ldap wont build even with this patch.

            Originally posted by marc
            ok.. i found out that it could be a missing header file for freebsd 4.
            lber.h defines BerElement functions at FreeBSD4.x (if iam right)
            i added an include in work/zabbix-1.1beta1/src/libs/zbxsysinfo/sysinfo.c but still no success. anyone know a bit c and may can tell me if this could be the problem?

            Comment

            Working...