Ad Widget

Collapse

1.4.1 --enable-server HP-UX 11.11 GCC 4.2.0 Compilation errors

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • snerge
    Junior Member
    • Jun 2007
    • 7

    #1

    1.4.1 --enable-server HP-UX 11.11 GCC 4.2.0 Compilation errors

    ./configure --enable-server --with-mysql --with-net-snmp && make install

    Results in :

    Code:
    In file included from /usr/include/arpa/nameser.h:430,
                     from ../../../include/sysinc.h:101,
                     from ../../../include/common.h:23,
                     from md5.c:54:
    /usr/include/arpa/nameser_compat.h:134:1: warning: this is the location of the previous definition
    *** Error exit code 1
    
    Stop.
    *** Error exit code 1
    
    Stop.
    *** Error exit code 1
    
    Stop.
    *** Error exit code 1
    
    Stop.
    After replacing every reference to sysinfo.h by unistd.h in configure script :

    ./configure --enable-server --with-mysql --with-net-snmp && make install

    Results in :

    Code:
    In file included from /usr/include/arpa/nameser.h:430,
                     from ../../../include/sysinc.h:101,
                     from ../../../include/common.h:23,
                     from sms.c:33:
    /usr/include/arpa/nameser_compat.h:134:1: warning: this is the location of the previous definition
    sms.c: In function 'send_sms':
    sms.c:162: error: 'CRTSCTS' undeclared (first use in this function)
    sms.c:162: error: (Each undeclared identifier is reported only once
    sms.c:162: error: for each function it appears in.)
    *** Error exit code 1
    
    Stop.
    *** Error exit code 1
    
    Stop.
    *** Error exit code 1
    
    Stop.
    *** Error exit code 1
    
    Stop.
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    As a workaround, try to replace CRTSCTS by 0. It may affect SMS notifications only. It will be properly fixed later.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • snerge
      Junior Member
      • Jun 2007
      • 7

      #3
      Compilation worked without any warnings/errors but when I start zabbix_server, it dies with the following message :

      Code:
        5826:20070704:080255 Starting zabbix_server. ZABBIX 1.4.1.
        5826:20070704:080255 **** Enabled features ****
        5826:20070704:080255 SNMP monitoring:       YES
        5826:20070704:080255 WEB monitoring:         NO
        5826:20070704:080255 Jabber notifications:   NO
        5826:20070704:080255 **************************
        5835:20070704:080255 server #6 started [Trapper]
        5837:20070704:080255 server #7 started [Trapper]
        5838:20070704:080255 server #8 started [Trapper]
        5839:20070704:080255 server #9 started [Trapper]
        5840:20070704:080255 server #10 started [Trapper]
        5841:20070704:080255 server #11 started [ICMP pinger]
        5842:20070704:080255 server #12 started [Alerter]
        5843:20070704:080255 server #13 started [Housekeeper]
        5843:20070704:080255 Executing housekeeper
        5846:20070704:080255 server #16 started [Node watcher. Node ID:0]
        5826:20070704:080255 server #0 started [Watchdog]
        5844:20070704:080255 server #14 started [Timer]
        5843:20070704:080255 Deleted 0 records from history and trends
        5843:20070704:080255 No records in table 'config'.
        5843:20070704:080255 No records in table 'config'.
      cat: Cannot open /tmp/zabbix_server_5841.pinger: No such file or directory
      /usr/lib/dld.sl: Unresolved symbol: SSLeay (code)  from /opt/iexpress/net-snmp/lib//libnetsnmp.sl.10
        5826:20070704:080256 One child process died. Exiting ...

      Comment

      Working...