Ad Widget

Collapse

Error when trying to compile Zabbix 1.4.5 at HP-UX 10.20

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • piwok
    Junior Member
    • May 2008
    • 2

    #1

    Error when trying to compile Zabbix 1.4.5 at HP-UX 10.20

    Hello.

    I'm trying to compile Zabbix agent 1.4.5 at HP-UX 10.20 using gcc.

    The error I have is:

    Making all in zabbix_agent
    source='zabbix_agent.c' object='zabbix_agent.o' libtool=no \
    DEPDIR=.deps depmode=gcc /bin/sh ../../depcomp \
    gcc -DHAVE_CONFIG_H -I. -I. -I../../include -g -O2 -c zabbix_agent.c
    source='stats.c' object='stats.o' libtool=no \
    DEPDIR=.deps depmode=gcc /bin/sh ../../depcomp \
    gcc -DHAVE_CONFIG_H -I. -I. -I../../include -g -O2 -c stats.c
    source='cpustat.c' object='cpustat.o' libtool=no \
    DEPDIR=.deps depmode=gcc /bin/sh ../../depcomp \
    gcc -DHAVE_CONFIG_H -I. -I. -I../../include -g -O2 -c cpustat.c
    cpustat.c: In function `get_cpustat':
    cpustat.c:332: structure has no member named `psp_cpu_time'
    cpustat.c:333: structure has no member named `psp_cpu_time'
    cpustat.c:334: structure has no member named `psp_cpu_time'
    cpustat.c:335: structure has no member named `psp_cpu_time'
    *** Error exit code 1

    Stop.
    *** Error exit code 1

    Stop.
    *** Error exit code 1

    Stop.

    Any idea?

    Thanks!
Working...