Hi
I am getting the following error when I try and make the agent for zabbix vs1.0
Any help would be appreciated
Cheers
Rob
root@linkstation:/opt/zabbix-1.0# make
Making all in src/zabbix_agent
make[1]: Entering directory `/mnt/opt/zabbix-1.0/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 -Wall -lnsl
In file included from sysinfo.c:94:
/usr/include/sys/sysctl.h:26: warning: `_LINUX_KERNEL_H' redefined
/usr/include/linux/kernel.h:2: warning: this is the location of the previous definition
../../include/snprintf.c: In function `dopr':
../../include/snprintf.c:174: incompatible types in assignment
../../include/snprintf.c: In function `vasprintf':
../../include/snprintf.c:811: incompatible types in assignment
../../include/snprintf.c:819: incompatible types in assignment
make[1]: *** [all] Error 1
make[1]: Leaving directory `/mnt/opt/zabbix-1.0/src/zabbix_agent'
make: *** [all] Error 1
I am getting the following error when I try and make the agent for zabbix vs1.0
Any help would be appreciated
Cheers
Rob
root@linkstation:/opt/zabbix-1.0# make
Making all in src/zabbix_agent
make[1]: Entering directory `/mnt/opt/zabbix-1.0/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 -Wall -lnsl
In file included from sysinfo.c:94:
/usr/include/sys/sysctl.h:26: warning: `_LINUX_KERNEL_H' redefined
/usr/include/linux/kernel.h:2: warning: this is the location of the previous definition
../../include/snprintf.c: In function `dopr':
../../include/snprintf.c:174: incompatible types in assignment
../../include/snprintf.c: In function `vasprintf':
../../include/snprintf.c:811: incompatible types in assignment
../../include/snprintf.c:819: incompatible types in assignment
make[1]: *** [all] Error 1
make[1]: Leaving directory `/mnt/opt/zabbix-1.0/src/zabbix_agent'
make: *** [all] Error 1