Ad Widget

Collapse

Zabbix 1.1Beta1 Compile error on MAC (10.3.9)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chaosloth
    Junior Member
    • Aug 2005
    • 6

    #1

    Zabbix 1.1Beta1 Compile error on MAC (10.3.9)

    Alexei/James,

    The sysinfo libary would not complie on my Mac, turns out that PACKETSZ is defined as NS_PACKETSZ in namser.h

    It's hack but hey maybe you know a better way ...

    Below is a diff of ./src/libs/sysinfo/sysinfo.c

    Code:
    1952,1954d1951
    < #ifdef NS_PACKETSZ
    <       char    respbuf[NS_PACKETSZ];
    < #else
    1956d1952
    < #endif

    Any chance this could be included in furture release ?

    -Ta
    Chris.
Working...