[1:13:313]root@p0:/home/zabbix/zabbix-1.1alpha5> make
Making all in 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
sysinfo.c: In function `SHAREDMEM':
sysinfo.c:1733: warning: passing arg 4 of `sysctl' from incompatible pointer type
sysinfo.c: In function `TOTALMEM':
sysinfo.c:1792: warning: passing arg 4 of `sysctl' from incompatible pointer type
sysinfo.c: In function `FREEMEM':
sysinfo.c:1874: warning: passing arg 4 of `sysctl' from incompatible pointer type
sysinfo.c: In function `KERNEL_MAXFILES':
sysinfo.c:1897: warning: dereferencing type-punned pointer will break strict-aliasing rules
sysinfo.c: In function `KERNEL_MAXPROC':
sysinfo.c:1920: warning: dereferencing type-punned pointer will break strict-aliasing rules
sysinfo.c: In function `UPTIME':
sysinfo.c:1958: warning: dereferencing type-punned pointer will break strict-aliasing rules
sysinfo.c: In function `process':
sysinfo.c:320: warning: 'function_str' might be used uninitialized in this function
../../include/snprintf.c: In function `dopr':
../../include/snprintf.c:174: error: incompatible types in assignment
../../include/snprintf.c: At top level:
../../include/snprintf.c:161: warning: 'dopr' defined but not used
*** Error code 1
Stop in /usr/home/zabbix/zabbix-1.1alpha5/src/zabbix_agent.
*** Error code 1
Stop in /usr/home/zabbix/zabbix-1.1alpha5.
[1:14:314]root@p0:/home/zabbix/zabbix-1.1alpha5>
Making all in 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
sysinfo.c: In function `SHAREDMEM':
sysinfo.c:1733: warning: passing arg 4 of `sysctl' from incompatible pointer type
sysinfo.c: In function `TOTALMEM':
sysinfo.c:1792: warning: passing arg 4 of `sysctl' from incompatible pointer type
sysinfo.c: In function `FREEMEM':
sysinfo.c:1874: warning: passing arg 4 of `sysctl' from incompatible pointer type
sysinfo.c: In function `KERNEL_MAXFILES':
sysinfo.c:1897: warning: dereferencing type-punned pointer will break strict-aliasing rules
sysinfo.c: In function `KERNEL_MAXPROC':
sysinfo.c:1920: warning: dereferencing type-punned pointer will break strict-aliasing rules
sysinfo.c: In function `UPTIME':
sysinfo.c:1958: warning: dereferencing type-punned pointer will break strict-aliasing rules
sysinfo.c: In function `process':
sysinfo.c:320: warning: 'function_str' might be used uninitialized in this function
../../include/snprintf.c: In function `dopr':
../../include/snprintf.c:174: error: incompatible types in assignment
../../include/snprintf.c: At top level:
../../include/snprintf.c:161: warning: 'dopr' defined but not used
*** Error code 1
Stop in /usr/home/zabbix/zabbix-1.1alpha5/src/zabbix_agent.
*** Error code 1
Stop in /usr/home/zabbix/zabbix-1.1alpha5.
[1:14:314]root@p0:/home/zabbix/zabbix-1.1alpha5>
Comment