configure --enable-static ran fine
make returns this
tiger002:/usr/local/src/zabbix-1.1alpha10 root# make
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
sysinfo.c: In function 'MD5SUM':
sysinfo.c:588: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness
sysinfo.c:590: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness
sysinfo.c: In function 'FREEMEM':
sysinfo.c:1983: warning: implicit declaration of function 'mach_host_self'
../../include/snprintf.c:169: warning: 'dopr' defined but not used
/usr/bin/ld: can't locate file for: -lcrt0.o
collect2: ld returned 1 exit status
make[1]: *** [all] Error 1
make: *** [all] Error 1
make returns this
tiger002:/usr/local/src/zabbix-1.1alpha10 root# make
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
sysinfo.c: In function 'MD5SUM':
sysinfo.c:588: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness
sysinfo.c:590: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness
sysinfo.c: In function 'FREEMEM':
sysinfo.c:1983: warning: implicit declaration of function 'mach_host_self'
../../include/snprintf.c:169: warning: 'dopr' defined but not used
/usr/bin/ld: can't locate file for: -lcrt0.o
collect2: ld returned 1 exit status
make[1]: *** [all] Error 1
make: *** [all] Error 1
)
Comment