Ad Widget

Collapse

Zabbix Make failing on Solaris 10

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • scott_stantive
    Junior Member
    • Oct 2008
    • 4

    #1

    Zabbix Make failing on Solaris 10

    Hi Everyone,

    I'm trying to compile Zabbix on Sun Solaris 10 but checks_snmp.c is failing:

    source='checks_snmp.c' object='checks_snmp.o' libtool=no \
    DEPDIR=.deps depmode=none /bin/bash ../../../depcomp \
    cc -DHAVE_CONFIG_H -I. -I../../../include -g -I/opt/coolstack/mysql_32bit/include/mysql -I/opt/coolstack/include -DHAVE_RWLOCK -DHAVE_RWLOCK_T -DUNIV_SOLARIS -I/usr/local/ssl/include -I/usr/local/include -I/usr/X11R6/include -I/usr/local/ssl/include -I/usr/local/include/ncurses -I/usr/local/BerkeleyDB.4.2/include -I/usr/openwin/include -I/usr/local/cups/include -I/usr/local/rrdtool-1.2.19/include -I/usr/local/mysql/include -I/usr/local/pgsql/include -I. -I/usr/local/include -c checks_snmp.c
    "/opt/coolstack/include/net-snmp/net-snmp-config.h", line 863: warning: macro redefined: PACKAGE_BUGREPORT
    "/opt/coolstack/include/net-snmp/net-snmp-config.h", line 866: warning: macro redefined: PACKAGE_NAME
    "/opt/coolstack/include/net-snmp/net-snmp-config.h", line 869: warning: macro redefined: PACKAGE_STRING
    "/opt/coolstack/include/net-snmp/net-snmp-config.h", line 872: warning: macro redefined: PACKAGE_TARNAME
    "/opt/coolstack/include/net-snmp/net-snmp-config.h", line 875: warning: macro redefined: PACKAGE_VERSION
    "/opt/coolstack/include/net-snmp/library/parse.h", line 32: warning: macro redefined: MAXLABEL
    "checks_snmp.c", line 150: warning: argument mismatch
    "checks_snmp.c", line 174: warning: argument mismatch
    "checks_snmp.c", line 192: warning: argument mismatch
    "checks_snmp.c", line 213: undefined struct/union member: localname
    "checks_snmp.c", line 213: warning: improper pointer/integer combination: op "="
    "checks_snmp.c", line 222: warning: argument mismatch
    "checks_snmp.c", line 287: warning: argument mismatch
    "checks_snmp.c", line 481: warning: argument mismatch
    "checks_snmp.c", line 503: warning: argument mismatch
    "checks_snmp.c", line 521: warning: argument mismatch
    "checks_snmp.c", line 547: undefined struct/union member: localname
    "checks_snmp.c", line 547: warning: improper pointer/integer combination: op "="
    "checks_snmp.c", line 556: warning: argument mismatch
    "checks_snmp.c", line 562: warning: argument mismatch
    "checks_snmp.c", line 576: warning: argument mismatch
    "checks_snmp.c", line 580: warning: argument mismatch
    "checks_snmp.c", line 582: warning: argument mismatch
    "checks_snmp.c", line 587: warning: argument mismatch
    "checks_snmp.c", line 848: warning: argument mismatch
    "checks_snmp.c", line 854: warning: argument mismatch
    cc: acomp failed for checks_snmp.c

    Any help would be appreciated
  • rafael
    Junior Member
    • Sep 2006
    • 11

    #2
    I had the same problem and in one of the blogs was posted to unlink the /opt/coolstack/lib/snmp that is pointing to /usr/sfw.

    Comment

    • scott_stantive
      Junior Member
      • Oct 2008
      • 4

      #3
      Thanks! that was the problem

      Comment

      • Tenzer
        Senior Member
        • Nov 2007
        • 316

        #4
        I also mentioned that solution here: http://www.zabbix.com/forum/showpost...83&postcount=9

        Comment

        Working...