Ad Widget

Collapse

Getting errors when compiling on Tru64 V4.0

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • reemala
    Junior Member
    • Apr 2007
    • 1

    #1

    Getting errors when compiling on Tru64 V4.0

    Hello,

    I have downloaded zabbix 1.1.7 and successfully compiled and installed Zabbix Server and Agent in Suse Linux with static option. I tested the the Agent binaries on some other linux system also. It's working fine.

    We have Linux and Tru64 system in our environment. Now I am trying to compile and install agent on Tru64 unix.

    The system where I am compiling is SF1 bwgb550.ts.siemens.de V4.0 878 alpha.

    I am getting the following errors when running the make. Please find the below output:

    I want all your help to successfully compile and install in Tru64 unix.



    $./configure --enable-agent

    (copied only the last few lines)

    Configuration:

    Detected OS: osf4.0d
    Install path: /home/bw1reea0/z117
    Compilation arch: osf

    Compiler: gcc
    Compiler flags: -g -O2
    Linker flags:
    Libraries: -lresolv

    Enable server: no
    With database: no

    Enable agent: yes

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


    $make install

    No suffix list.
    Making install in src
    No suffix list.
    Making install in libs
    No suffix list.
    Making install in zbxcommon
    source='base64.c' object='base64.o' libtool=no DEPDIR=.deps depmode=gcc /bin/bash ../../../depcomp gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -g -O2 -c base64.c
    source='misc.c' object='misc.o' libtool=no DEPDIR=.deps depmode=gcc /bin/bash ../../../depcomp gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -g -O2 -c misc.c
    In file included from ../../../include/sysinc.h:205,
    from ../../../include/common.h:23,
    from misc.c:1:
    /usr/include/net/if.h:184: warning: `struct rtentry' declared inside parameter list
    /usr/include/net/if.h:184: warning: its scope is only this definition or declaration, which is probably not what you want.
    /usr/include/net/if.h:184: warning: `struct mbuf' declared inside parameter list
    In file included from ../../../include/sysinc.h:205,
    from ../../../include/common.h:23,
    from misc.c:1:
    /usr/include/net/if.h:471: warning: `struct rtentry' declared inside parameter list
    In file included from misc.c:1:
    ../../../include/common.h:328: parse error before `uint64_t'
    ../../../include/common.h:328: warning: no semicolon at end of struct or union
    ../../../include/common.h:334: parse error before `}'
    misc.c: In function `set_result_type':
    misc.c:242: dereferencing pointer to incomplete type
    misc.c:242: dereferencing pointer to incomplete type
    misc.c:242: `uint64_t' undeclared (first use in this function)
    misc.c:242: (Each undeclared identifier is reported only once
    misc.c:242: for each function it appears in.)
    misc.c:251: dereferencing pointer to incomplete type
    misc.c:251: dereferencing pointer to incomplete type
    misc.c:259: dereferencing pointer to incomplete type
    misc.c:259: dereferencing pointer to incomplete type
    misc.c:266: dereferencing pointer to incomplete type
    misc.c:266: dereferencing pointer to incomplete type
    misc.c:271: dereferencing pointer to incomplete type
    misc.c:271: dereferencing pointer to incomplete type
    misc.c:276: dereferencing pointer to incomplete type
    misc.c:276: dereferencing pointer to incomplete type
    *** Exit 1
    Stop.
    *** Exit 1
    Stop.
    *** Exit 1
    Stop.
    *** Exit 1
    Stop.
    *** Exit 1
    Stop.


    Thanks & Regards,
    Martin
Working...