Has anyone successfully compiled version 1.1alpah9 in Solaris 9?
I attempted but I got make error. The configure went fine. If anyone know how I may bypass the make error below in Solaris 9, please let me know. Thanks!!
[root]# make
Making all in src/zabbix_agent
make[1]: Entering directory `/tmp/x/zabbix/zabbix-1.1alpha9/src/zabbix_agent'
gcc -o ../../bin/zabbix_agent -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 -lnsl -lkstat -lsocket
../../include/snprintf.c: In function `vasprintf':
../../include/snprintf.c:823: warning: implicit declaration of function `vsnprintf'
../../include/snprintf.c: At top level:
../../include/snprintf.c:169: warning: 'dopr' defined but not used
gcc -o ../../bin/zabbix_agentd -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 -lnsl -lkstat -lsocket
active.c: In function `parse_list_of_checks':
active.c:158: warning: implicit declaration of function `strtok_r'
../../include/snprintf.c: In function `vasprintf':
../../include/snprintf.c:823: warning: implicit declaration of function `vsnprintf'
../../include/snprintf.c: At top level:
../../include/snprintf.c:169: warning: 'dopr' defined but not used
Undefined first referenced
symbol in file
hstrerror /var/tmp//ccLqXtof.o
ld: fatal: Symbol referencing errors. No output written to ../../bin/zabbix_agentd
collect2: ld returned 1 exit status
make[1]: *** [all] Error 1
make[1]: Leaving directory `/tmp/x/zabbix/zabbix-1.1alpha9/src/zabbix_agent'
make: *** [all] Error 1
I attempted but I got make error. The configure went fine. If anyone know how I may bypass the make error below in Solaris 9, please let me know. Thanks!!
[root]# make
Making all in src/zabbix_agent
make[1]: Entering directory `/tmp/x/zabbix/zabbix-1.1alpha9/src/zabbix_agent'
gcc -o ../../bin/zabbix_agent -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 -lnsl -lkstat -lsocket
../../include/snprintf.c: In function `vasprintf':
../../include/snprintf.c:823: warning: implicit declaration of function `vsnprintf'
../../include/snprintf.c: At top level:
../../include/snprintf.c:169: warning: 'dopr' defined but not used
gcc -o ../../bin/zabbix_agentd -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 -lnsl -lkstat -lsocket
active.c: In function `parse_list_of_checks':
active.c:158: warning: implicit declaration of function `strtok_r'
../../include/snprintf.c: In function `vasprintf':
../../include/snprintf.c:823: warning: implicit declaration of function `vsnprintf'
../../include/snprintf.c: At top level:
../../include/snprintf.c:169: warning: 'dopr' defined but not used
Undefined first referenced
symbol in file
hstrerror /var/tmp//ccLqXtof.o
ld: fatal: Symbol referencing errors. No output written to ../../bin/zabbix_agentd
collect2: ld returned 1 exit status
make[1]: *** [all] Error 1
make[1]: Leaving directory `/tmp/x/zabbix/zabbix-1.1alpha9/src/zabbix_agent'
make: *** [all] Error 1
Comment