Hello I am trying compiling zabbix 1.1alpha10 and the configure step ended ok, as I have got the message to run the make, so I run the make, and end with an error, here is the output:
Making all in src/zabbix_agent
make[1]: Entering directory `/home/zabbix/zabbix-1.1alpha10/src/zabbix_agent'
gcc -o ../../bin/zabbix_agent -static -g -O2 -I../../include zabbix_agent.c sysinfo.c ../../include/log.c ../../include/cfg.c ../../include/security.c ../../include/snprintf.c ../../include/md5.c -Wall
../../include/snprintf.c:169: warning: `dopr' defined but not used
/tmp/ccxd8BNw.o(.text+0xce): En la función `check_ssh':
/home/zabbix/zabbix-1.1alpha10/src/zabbix_agent/sysinfo.c:2877: warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
gcc -o ../../bin/zabbix_agentd -static -g -O2 -I../../include zabbix_agentd.c logfiles.c sysinfo.c stats.c interfaces.c diskdevices.c cpustat.c active.c ../../include/log.c ../../include/cfg.c ../../include/security.c ../../include/pid.c ../../include/snprintf.c ../../include/md5.c -Wall
../../include/snprintf.c:169: warning: `dopr' defined but not used
/tmp/cc1b6GxE.o(.text+0x4e4): En la función `daemon_init':
/home/zabbix/zabbix-1.1alpha10/src/zabbix_agent/zabbix_agentd.c:144: warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp/ccvovl87.o(.text+0xce): En la función `check_ssh':
/home/zabbix/zabbix-1.1alpha10/src/zabbix_agent/sysinfo.c:2877: warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
make[1]: Leaving directory `/home/zabbix/zabbix-1.1alpha10/src/zabbix_agent'
Making all in src/zabbix_sender
make[1]: Entering directory `/home/zabbix/zabbix-1.1alpha10/src/zabbix_sender'
gcc -o ../../bin/zabbix_sender -static -g -O2 -I../../include ../../include/snprintf.c zabbix_sender.c
/tmp/ccNyClIB.o(.text+0x1d): En la función `send_value':
/home/zabbix/zabbix-1.1alpha10/src/zabbix_sender/zabbix_sender.c:70: warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
make[1]: Leaving directory `/home/zabbix/zabbix-1.1alpha10/src/zabbix_sender'
Making all in src/zabbix_server
make[1]: Entering directory `/home/zabbix/zabbix-1.1alpha10/src/zabbix_server'
gcc -o ../../bin/zabbix_server -static -g -O2 -I../../include -I/usr/include/mysql -I/usr/include server.c ../../include/db.c ../../include/functions.c ../../include/expression.c ../../include/cfg.c ../../include/log.c ../../include/security.c ../../include/pid.c ../../include/email.c ../../include/snprintf.c ../zabbix_agent/sysinfo.c ../../include/md5.c ../../include/zlog.c alerter.c pinger.c housekeeper.c checks_simple.c checks_snmp.c checks_agent.c checks_internal.c trapper.c -Wall -L/usr/lib/mysql -lmysqlclient -lm -lz -L/usr/lib -lnetsnmp -lcrypto
../../include/snprintf.c:169: warning: `dopr' defined but not used
/usr/lib/gcc-lib/i586-suse-linux/3.3.5/../../../../i586-suse-linux/bin/ld: no se puede encontrar -lnetsnmp
collect2: ld returned 1 exit status
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/zabbix/zabbix-1.1alpha10/src/zabbix_server'
make: *** [all] Error 1
And I think that I have installed the correct package of netsnmp
(root-lxxx)/etc/zabbix->rpm -qa| grep snmp
net-snmp-5.2.1-5
php4-snmp-4.3.10-14
net-snmp-devel-5.2.1-5
Could you help me, thanks in advance
Making all in src/zabbix_agent
make[1]: Entering directory `/home/zabbix/zabbix-1.1alpha10/src/zabbix_agent'
gcc -o ../../bin/zabbix_agent -static -g -O2 -I../../include zabbix_agent.c sysinfo.c ../../include/log.c ../../include/cfg.c ../../include/security.c ../../include/snprintf.c ../../include/md5.c -Wall
../../include/snprintf.c:169: warning: `dopr' defined but not used
/tmp/ccxd8BNw.o(.text+0xce): En la función `check_ssh':
/home/zabbix/zabbix-1.1alpha10/src/zabbix_agent/sysinfo.c:2877: warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
gcc -o ../../bin/zabbix_agentd -static -g -O2 -I../../include zabbix_agentd.c logfiles.c sysinfo.c stats.c interfaces.c diskdevices.c cpustat.c active.c ../../include/log.c ../../include/cfg.c ../../include/security.c ../../include/pid.c ../../include/snprintf.c ../../include/md5.c -Wall
../../include/snprintf.c:169: warning: `dopr' defined but not used
/tmp/cc1b6GxE.o(.text+0x4e4): En la función `daemon_init':
/home/zabbix/zabbix-1.1alpha10/src/zabbix_agent/zabbix_agentd.c:144: warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp/ccvovl87.o(.text+0xce): En la función `check_ssh':
/home/zabbix/zabbix-1.1alpha10/src/zabbix_agent/sysinfo.c:2877: warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
make[1]: Leaving directory `/home/zabbix/zabbix-1.1alpha10/src/zabbix_agent'
Making all in src/zabbix_sender
make[1]: Entering directory `/home/zabbix/zabbix-1.1alpha10/src/zabbix_sender'
gcc -o ../../bin/zabbix_sender -static -g -O2 -I../../include ../../include/snprintf.c zabbix_sender.c
/tmp/ccNyClIB.o(.text+0x1d): En la función `send_value':
/home/zabbix/zabbix-1.1alpha10/src/zabbix_sender/zabbix_sender.c:70: warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
make[1]: Leaving directory `/home/zabbix/zabbix-1.1alpha10/src/zabbix_sender'
Making all in src/zabbix_server
make[1]: Entering directory `/home/zabbix/zabbix-1.1alpha10/src/zabbix_server'
gcc -o ../../bin/zabbix_server -static -g -O2 -I../../include -I/usr/include/mysql -I/usr/include server.c ../../include/db.c ../../include/functions.c ../../include/expression.c ../../include/cfg.c ../../include/log.c ../../include/security.c ../../include/pid.c ../../include/email.c ../../include/snprintf.c ../zabbix_agent/sysinfo.c ../../include/md5.c ../../include/zlog.c alerter.c pinger.c housekeeper.c checks_simple.c checks_snmp.c checks_agent.c checks_internal.c trapper.c -Wall -L/usr/lib/mysql -lmysqlclient -lm -lz -L/usr/lib -lnetsnmp -lcrypto
../../include/snprintf.c:169: warning: `dopr' defined but not used
/usr/lib/gcc-lib/i586-suse-linux/3.3.5/../../../../i586-suse-linux/bin/ld: no se puede encontrar -lnetsnmp
collect2: ld returned 1 exit status
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/zabbix/zabbix-1.1alpha10/src/zabbix_server'
make: *** [all] Error 1
And I think that I have installed the correct package of netsnmp
(root-lxxx)/etc/zabbix->rpm -qa| grep snmp
net-snmp-5.2.1-5
php4-snmp-4.3.10-14
net-snmp-devel-5.2.1-5
Could you help me, thanks in advance
Comment