Hello,
I cannot compile Zabbix 1.0 on Solaris 8.
I've installed opennssl 0.97g, netsnmp 5.1.1.
The compiling hangs up.
./configure --prefix=/zabbix --exec-prefix=/zabbix --with-mysql=/zabbix/mysql --with-net-snmp
make
gcc -o ../../bin/zabbix_suckerd -g -O2 -I../../include -I/zabbix/mysql/include/mysql -I/usr/local/include zabbix_sucker.c ../../include/db.c ../../include/functions.c ../../include/expression.c ../../include/cfg.c ../../include/log.c ../../include/security.c ../../include/pid.c ../../include/snprintf.c ../zabbix_agent/sysinfo.c alerter.c pinger.c housekeeper.c -Wall -lnsl -lkstat -lsocket -L/zabbix/mysql/lib/mysql -lmysqlclient -lm -lz -L/usr/local/lib -lnetsnmp
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
In file included from zabbix_sucker.c:46:
/usr/local/include/net-snmp/net-snmp-config.h:854:1: warning: "PACKAGE_BUGREPORT" redefined
In file included from zabbix_sucker.c:20:
../../include/config.h:223:1: warning: this is the location of the previous definition
In file included from zabbix_sucker.c:46:
/usr/local/include/net-snmp/net-snmp-config.h:857:1: warning: "PACKAGE_NAME" redefined
In file included from zabbix_sucker.c:20:
../../include/config.h:226:1: warning: this is the location of the previous definition
In file included from zabbix_sucker.c:46:
/usr/local/include/net-snmp/net-snmp-config.h:860:1: warning: "PACKAGE_STRING" redefined
In file included from zabbix_sucker.c:20:
../../include/config.h:229:1: warning: this is the location of the previous definition
In file included from zabbix_sucker.c:46:
/usr/local/include/net-snmp/net-snmp-config.h:863:1: warning: "PACKAGE_TARNAME" redefined
In file included from zabbix_sucker.c:20:
../../include/config.h:232:1: warning: this is the location of the previous definition
In file included from zabbix_sucker.c:46:
/usr/local/include/net-snmp/net-snmp-config.h:866:1: warning: "PACKAGE_VERSION" redefined
In file included from zabbix_sucker.c:20:
../../include/config.h:235:1: warning: this is the location of the previous definition
In file included from ../../include/db.h:26,
from zabbix_sucker.c:59:
../../include/config.h:223:1: warning: "PACKAGE_BUGREPORT" redefined
In file included from zabbix_sucker.c:46:
/usr/local/include/net-snmp/net-snmp-config.h:854:1: warning: this is the location of the previous definition
In file included from ../../include/db.h:26,
from zabbix_sucker.c:59:
../../include/config.h:226:1: warning: "PACKAGE_NAME" redefined
In file included from zabbix_sucker.c:46:
/usr/local/include/net-snmp/net-snmp-config.h:857:1: warning: this is the location of the previous definition
In file included from ../../include/db.h:26,
from zabbix_sucker.c:59:
../../include/config.h:229:1: warning: "PACKAGE_STRING" redefined
In file included from zabbix_sucker.c:46:
/usr/local/include/net-snmp/net-snmp-config.h:860:1: warning: this is the location of the previous definition
In file included from ../../include/db.h:26,
from zabbix_sucker.c:59:
../../include/config.h:232:1: warning: "PACKAGE_TARNAME" redefined
In file included from zabbix_sucker.c:46:
/usr/local/include/net-snmp/net-snmp-config.h:863:1: warning: this is the location of the previous definition
In file included from ../../include/db.h:26,
from zabbix_sucker.c:59:
../../include/config.h:235:1: warning: "PACKAGE_VERSION" redefined
In file included from zabbix_sucker.c:46:
/usr/local/include/net-snmp/net-snmp-config.h:866:1: warning: this is the location of the previous definition
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
Undefined first referenced
symbol in file
EVP_md5 /usr/local/lib/libnetsnmp.so
EVP_DigestFinal_ex /usr/local/lib/libnetsnmp.so
EVP_DigestFinal /usr/local/lib/libnetsnmp.so
EVP_DigestUpdate /usr/local/lib/libnetsnmp.so
EVP_MD_CTX_cleanup /usr/local/lib/libnetsnmp.so
DES_ncbc_encrypt /usr/local/lib/libnetsnmp.so
EVP_MD_CTX_init /usr/local/lib/libnetsnmp.so
SSLeay /usr/local/lib/libnetsnmp.so
DES_key_sched /usr/local/lib/libnetsnmp.so
DES_cbc_encrypt /usr/local/lib/libnetsnmp.so
EVP_sha1 /usr/local/lib/libnetsnmp.so
EVP_DigestInit /usr/local/lib/libnetsnmp.so
AES_cfb128_encrypt /usr/local/lib/libnetsnmp.so
RAND_bytes /usr/local/lib/libnetsnmp.so
AES_set_encrypt_key /usr/local/lib/libnetsnmp.so
HMAC /usr/local/lib/libnetsnmp.so
ld: fatal: Symbol referencing errors. No output written to ../../bin/zabbix_suckerd
collect2: ld returned 1 exit status
make: *** [all] Error 1
I have seen the message of "Compiling on Solaris 10" in archive forum, hence i've tried to install openssl and netsnmp with packages from sunfreeware.com, and after i've tried to compile these packages with sources (for openssl ./Configure shared, for netsnmp ./configure --with-openssl=/usr/local/ssl --with-mib-modules=host), but nothing works, the problem remains.
I use gcc 3.2 and GNU make 3.80.
I have the same problem with the latest version of Zabbix 1.1 alpha 10
Can someone help me ?
I cannot compile Zabbix 1.0 on Solaris 8.
I've installed opennssl 0.97g, netsnmp 5.1.1.
The compiling hangs up.
./configure --prefix=/zabbix --exec-prefix=/zabbix --with-mysql=/zabbix/mysql --with-net-snmp
make
gcc -o ../../bin/zabbix_suckerd -g -O2 -I../../include -I/zabbix/mysql/include/mysql -I/usr/local/include zabbix_sucker.c ../../include/db.c ../../include/functions.c ../../include/expression.c ../../include/cfg.c ../../include/log.c ../../include/security.c ../../include/pid.c ../../include/snprintf.c ../zabbix_agent/sysinfo.c alerter.c pinger.c housekeeper.c -Wall -lnsl -lkstat -lsocket -L/zabbix/mysql/lib/mysql -lmysqlclient -lm -lz -L/usr/local/lib -lnetsnmp
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
In file included from zabbix_sucker.c:46:
/usr/local/include/net-snmp/net-snmp-config.h:854:1: warning: "PACKAGE_BUGREPORT" redefined
In file included from zabbix_sucker.c:20:
../../include/config.h:223:1: warning: this is the location of the previous definition
In file included from zabbix_sucker.c:46:
/usr/local/include/net-snmp/net-snmp-config.h:857:1: warning: "PACKAGE_NAME" redefined
In file included from zabbix_sucker.c:20:
../../include/config.h:226:1: warning: this is the location of the previous definition
In file included from zabbix_sucker.c:46:
/usr/local/include/net-snmp/net-snmp-config.h:860:1: warning: "PACKAGE_STRING" redefined
In file included from zabbix_sucker.c:20:
../../include/config.h:229:1: warning: this is the location of the previous definition
In file included from zabbix_sucker.c:46:
/usr/local/include/net-snmp/net-snmp-config.h:863:1: warning: "PACKAGE_TARNAME" redefined
In file included from zabbix_sucker.c:20:
../../include/config.h:232:1: warning: this is the location of the previous definition
In file included from zabbix_sucker.c:46:
/usr/local/include/net-snmp/net-snmp-config.h:866:1: warning: "PACKAGE_VERSION" redefined
In file included from zabbix_sucker.c:20:
../../include/config.h:235:1: warning: this is the location of the previous definition
In file included from ../../include/db.h:26,
from zabbix_sucker.c:59:
../../include/config.h:223:1: warning: "PACKAGE_BUGREPORT" redefined
In file included from zabbix_sucker.c:46:
/usr/local/include/net-snmp/net-snmp-config.h:854:1: warning: this is the location of the previous definition
In file included from ../../include/db.h:26,
from zabbix_sucker.c:59:
../../include/config.h:226:1: warning: "PACKAGE_NAME" redefined
In file included from zabbix_sucker.c:46:
/usr/local/include/net-snmp/net-snmp-config.h:857:1: warning: this is the location of the previous definition
In file included from ../../include/db.h:26,
from zabbix_sucker.c:59:
../../include/config.h:229:1: warning: "PACKAGE_STRING" redefined
In file included from zabbix_sucker.c:46:
/usr/local/include/net-snmp/net-snmp-config.h:860:1: warning: this is the location of the previous definition
In file included from ../../include/db.h:26,
from zabbix_sucker.c:59:
../../include/config.h:232:1: warning: "PACKAGE_TARNAME" redefined
In file included from zabbix_sucker.c:46:
/usr/local/include/net-snmp/net-snmp-config.h:863:1: warning: this is the location of the previous definition
In file included from ../../include/db.h:26,
from zabbix_sucker.c:59:
../../include/config.h:235:1: warning: "PACKAGE_VERSION" redefined
In file included from zabbix_sucker.c:46:
/usr/local/include/net-snmp/net-snmp-config.h:866:1: warning: this is the location of the previous definition
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
Undefined first referenced
symbol in file
EVP_md5 /usr/local/lib/libnetsnmp.so
EVP_DigestFinal_ex /usr/local/lib/libnetsnmp.so
EVP_DigestFinal /usr/local/lib/libnetsnmp.so
EVP_DigestUpdate /usr/local/lib/libnetsnmp.so
EVP_MD_CTX_cleanup /usr/local/lib/libnetsnmp.so
DES_ncbc_encrypt /usr/local/lib/libnetsnmp.so
EVP_MD_CTX_init /usr/local/lib/libnetsnmp.so
SSLeay /usr/local/lib/libnetsnmp.so
DES_key_sched /usr/local/lib/libnetsnmp.so
DES_cbc_encrypt /usr/local/lib/libnetsnmp.so
EVP_sha1 /usr/local/lib/libnetsnmp.so
EVP_DigestInit /usr/local/lib/libnetsnmp.so
AES_cfb128_encrypt /usr/local/lib/libnetsnmp.so
RAND_bytes /usr/local/lib/libnetsnmp.so
AES_set_encrypt_key /usr/local/lib/libnetsnmp.so
HMAC /usr/local/lib/libnetsnmp.so
ld: fatal: Symbol referencing errors. No output written to ../../bin/zabbix_suckerd
collect2: ld returned 1 exit status
make: *** [all] Error 1
I have seen the message of "Compiling on Solaris 10" in archive forum, hence i've tried to install openssl and netsnmp with packages from sunfreeware.com, and after i've tried to compile these packages with sources (for openssl ./Configure shared, for netsnmp ./configure --with-openssl=/usr/local/ssl --with-mib-modules=host), but nothing works, the problem remains.
I use gcc 3.2 and GNU make 3.80.
I have the same problem with the latest version of Zabbix 1.1 alpha 10
Can someone help me ?
Comment