on dual opteron fc2 x86_64 host, make produces following output:
Making all in src/zabbix_agent
make[1]: Entering directory `/usr/local/src/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
sysinfo.c: In function `process':
sysinfo.c:430: warning: cast from pointer to integer of different size
../../include/snprintf.c: In function `dopr':
../../include/snprintf.c:174: error: incompatible types in assignment
../../include/snprintf.c: In function `vasprintf':
../../include/snprintf.c:811: error: incompatible types in assignment
../../include/snprintf.c:819: error: incompatible types in assignment
make[1]: *** [all] Error 1
make[1]: Leaving directory `/usr/local/src/zabbix-1.0/src/zabbix_agent'
make: *** [all] Error 1
I haven't found anything in the docs about 32-bit vs. 64-bit. Am I not looking hard enough?
Making all in src/zabbix_agent
make[1]: Entering directory `/usr/local/src/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
sysinfo.c: In function `process':
sysinfo.c:430: warning: cast from pointer to integer of different size
../../include/snprintf.c: In function `dopr':
../../include/snprintf.c:174: error: incompatible types in assignment
../../include/snprintf.c: In function `vasprintf':
../../include/snprintf.c:811: error: incompatible types in assignment
../../include/snprintf.c:819: error: incompatible types in assignment
make[1]: *** [all] Error 1
make[1]: Leaving directory `/usr/local/src/zabbix-1.0/src/zabbix_agent'
make: *** [all] Error 1
I haven't found anything in the docs about 32-bit vs. 64-bit. Am I not looking hard enough?
Comment