Ad Widget

Collapse

Mac OS X install

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mspidle
    Junior Member
    • Jun 2006
    • 2

    #1

    Mac OS X install

    I can't get this to compile at all on 10.4.6 server. I am running ./configure --prefix=/usr --with-mysql --with-net-snmp --enable-server --enable-agent this runs ok but when I run make I get the following error(s) then it fails.

    if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -g -O2 -MT common.o -MD -MP -MF ".deps/common.Tpo" -c -o common.o `test -f 'common/common.c' || echo './'`common/common.c; \
    then mv -f ".deps/common.Tpo" ".deps/common.Po"; else rm -f ".deps/common.Tpo"; exit 1; fi
    common/common.c: In function 'CHECK_DNS':
    common/common.c:1960: error: 'PACKETSZ' undeclared (first use in this function)
    common/common.c:1960: error: (Each undeclared identifier is reported only once
    common/common.c:1960: error: for each function it appears in.)
    make[4]: *** [common.o] Error 1
    make[3]: *** [all-recursive] Error 1
    make[2]: *** [all-recursive] Error 1
    make[1]: *** [all-recursive] Error 1
    make: *** [all-recursive] Error 1

    any help is appreciated.

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

    #2
    Change PACKETSZ to NS_PACKETSZ to fix this problem.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • mspidle
      Junior Member
      • Jun 2006
      • 2

      #3
      Change it where?

      Comment

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

        #4
        In file /src/libs/zbxsysinfo/common/common.c.
        Alexei Vladishev
        Creator of Zabbix, Product manager
        New York | Tokyo | Riga
        My Twitter

        Comment

        Working...