Ad Widget

Collapse

Error running make on Linux ppc64

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • icanbedangerous
    Junior Member
    • Jun 2005
    • 1

    #1

    Error running make on Linux ppc64

    Using zabbix 1.0. Compile the ./configure, after run the make command and get the following error:

    Making all in src/zabbix_agent
    make[1]: Entering directory `/tmp/zabbix-1.0/src/zabbix_agent'
    gcc -o ../../bin/zabbix_agent -g -O2 -I../../include zabbix_agent.c sysinfo.c ../../include/log.c ../../include/cfg.c ../../include/security.c ../../include/snprintf.c -Wall -lnsl
    ../../include/snprintf.c: In function `dopr':
    ../../include/snprintf.c:174: incompatible types in assignment
    ../../include/snprintf.c: In function `vasprintf':
    ../../include/snprintf.c:811: incompatible types in assignment
    ../../include/snprintf.c:819: incompatible types in assignment
    make[1]: *** [all] Error 1
    make[1]: Leaving directory `/tmp/zabbix-1.0/src/zabbix_agent'
    make: *** [all] Error 1

    Is their something missing?
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Try to get the latest snprintf.c from CVS. It should work.

    Also, you may want to search this forum to find workarounds for this problem.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    Working...