Ad Widget

Collapse

Zabbix 1.4.2 compiling error on AIX 5.2

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yvesd
    Junior Member
    • Jul 2007
    • 13

    #1

    Zabbix 1.4.2 compiling error on AIX 5.2

    I have problems to compile zabbix on AIX 5.2 (using Visual Age Compiler).

    Any help available? Thanks in advance.

    This is the result of the compilation:

    Configuration:

    Detected OS: aix5.2.0.0
    Install path: /opt/zabbix
    Compilation arch: aix

    Compiler: cc -qlanglvl=extc89
    Compiler flags: -g

    Enable server: no

    Enable agent: yes
    Linker flags: -Wl,-bbigtoc
    Libraries: -lm

    LDAP support: no

    ************************************************** *********
    * Now run 'make install' *
    * *
    * Thank you for using ZABBIX! *
    * <http://www.zabbix.com> *
    ************************************************** *********

    Making all in create
    Making all in schema
    Target "all" is up to date.
    Target "all-am" is up to date.
    Target "all" is up to date.
    Making all in misc
    Target "all" is up to date.
    Making all in src
    Making all in libs
    Making all in zbxcrypto
    source='md5.c' object='md5.o' libtool=no DEPDIR=.deps depmode=aix /bin/sh ../../../depcomp cc -qlanglvl=extc89 -DHAVE_CONFIG_H -I. -I. -I../../../include -g -c md5.c
    source='base64.c' object='base64.o' libtool=no DEPDIR=.deps depmode=aix /bin/sh ../../../depcomp cc -qlanglvl=extc89 -DHAVE_CONFIG_H -I. -I. -I../../../include -g -c base64.c
    rm -f libzbxcrypto.a
    ar cru libzbxcrypto.a md5.o base64.o
    ranlib libzbxcrypto.a
    Target "all" is up to date.
    Making all in zbxcommon
    source='misc.c' object='misc.o' libtool=no DEPDIR=.deps depmode=aix /bin/sh ../../../depcomp cc -qlanglvl=extc89 -DHAVE_CONFIG_H -I. -I. -I../../../include -g -c misc.c
    source='regexp.c' object='regexp.o' libtool=no DEPDIR=.deps depmode=aix /bin/sh ../../../depcomp cc -qlanglvl=extc89 -DHAVE_CONFIG_H -I. -I. -I../../../include -g -c regexp.c
    source='xml.c' object='xml.o' libtool=no DEPDIR=.deps depmode=aix /bin/sh ../../../depcomp cc -qlanglvl=extc89 -DHAVE_CONFIG_H -I. -I. -I../../../include -g -c xml.c
    source='comms.c' object='comms.o' libtool=no DEPDIR=.deps depmode=aix /bin/sh ../../../depcomp cc -qlanglvl=extc89 -DHAVE_CONFIG_H -I. -I. -I../../../include -g -c comms.c
    source='str.c' object='str.o' libtool=no DEPDIR=.deps depmode=aix /bin/sh ../../../depcomp cc -qlanglvl=extc89 -DHAVE_CONFIG_H -I. -I. -I../../../include -g -c str.c
    source='zbxgetopt.c' object='zbxgetopt.o' libtool=no DEPDIR=.deps depmode=aix /bin/sh ../../../depcomp cc -qlanglvl=extc89 -DHAVE_CONFIG_H -I. -I. -I../../../include -g -c zbxgetopt.c
    source='alias.c' object='alias.o' libtool=no DEPDIR=.deps depmode=aix /bin/sh ../../../depcomp cc -qlanglvl=extc89 -DHAVE_CONFIG_H -I. -I. -I../../../include -g -c alias.c
    rm -f libzbxcommon.a
    ar cru libzbxcommon.a misc.o regexp.o xml.o comms.o str.o zbxgetopt.o alias.o
    ranlib libzbxcommon.a
    Target "all" is up to date.
    Making all in zbxlog
    source='log.c' object='log.o' libtool=no DEPDIR=.deps depmode=aix /bin/sh ../../../depcomp cc -qlanglvl=extc89 -DHAVE_CONFIG_H -I. -I. -I../../../include -g -c log.c
    "log.c", line 121.63: 1506-041 (E) The invocation of macro zbx_error contains fewer arguments than required by the macro definition.
    "log.c", line 121.25: 1506-046 (S) Syntax error.
    "log.c", line 121.25: 1506-098 (E) Missing argument(s).
    "log.c", line 127.72: 1506-041 (E) The invocation of macro zbx_error contains fewer arguments than required by the macro definition.
    "log.c", line 127.25: 1506-046 (S) Syntax error.
    "log.c", line 127.25: 1506-098 (E) Missing argument(s).
    make: 1254-004 The error code from the last command is 1.


    Stop.
    make: 1254-004 The error code from the last command is 1.


    Stop.
    make: 1254-004 The error code from the last command is 1.


    Stop.
    make: 1254-004 The error code from the last command is 1.


    Stop.
  • Eugene
    Member
    • Feb 2006
    • 57

    #2
    See this thread.

    Comment

    • yvesd
      Junior Member
      • Jul 2007
      • 13

      #3
      OK, by using the information in the previous post, I'm able to compile.

      Thanks

      Comment

      Working...