Making all in 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
ld: can't locate file for: -lcrt0.o
*** Error code 1
Stop in /usr/local/src/zabbix-1.1alpha7/src/zabbix_agent.
*** Error code 1
Stop in /usr/local/src/zabbix-1.1alpha7.
using make gnumake or bsdmake all the same error.
./configure -with-mysql=/usr/local/mysql -with-net-snmp --enable-static
without snmp, mysql, and static, still the same errors.
any ideas
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
ld: can't locate file for: -lcrt0.o
*** Error code 1
Stop in /usr/local/src/zabbix-1.1alpha7/src/zabbix_agent.
*** Error code 1
Stop in /usr/local/src/zabbix-1.1alpha7.
using make gnumake or bsdmake all the same error.
./configure -with-mysql=/usr/local/mysql -with-net-snmp --enable-static
without snmp, mysql, and static, still the same errors.
any ideas
Comment