Hey,
I'm new to Zabbix and wanted to try it out. I'm using the last stable release, and I've been about to configure without complaint, but now when I do 'make', I get the following errors:
---------------------------------------------------------------------------------------
sysinfo.c: In function `KERNEL_MAXFILES':
sysinfo.c:1644: warning: passing arg 4 of `sysctl' from incompatible pointer type
sysinfo.c: In function `KERNEL_MAXPROC':
sysinfo.c:1666: warning: passing arg 4 of `sysctl' from incompatible pointer type
sysinfo.c: In function `UPTIME':
sysinfo.c:1702: warning: passing arg 4 of `sysctl' from incompatible pointer type
ld: warning multiple definitions of symbol _asprintf
/var/tmp//cc6P44wK.o definition of _asprintf in section (__TEXT,__text)
/usr/lib/libSystem.dylib(asprintf-LDBL.So) definition of _asprintf
ld: warning multiple definitions of symbol _vsnprintf
/var/tmp//cc6P44wK.o definition of _vsnprintf in section (__TEXT,__text)
/usr/lib/libSystem.dylib(vsnprintf-LDBL.So) definition of _vsnprintf
Making all in src/zabbix_sender
gcc -o ../../bin/zabbix_sender -g -O2 -I../../include ../../include/snprintf.c zabbix_sender.c
ld: warning multiple definitions of symbol _asprintf
/var/tmp//cc3FQTuf.o definition of _asprintf in section (__TEXT,__text)
/usr/lib/libSystem.dylib(asprintf-LDBL.So) definition of _asprintf
Making all in src/zabbix_sucker
gcc -o ../../bin/zabbix_suckerd -g -O2 -I../../include -I/usr/local/mysql-standard-4.1.15-apple-darwin8.2.0-powerpc/include zabbix_sucker.c ../../include/db.c ../../include/functions.c ../../include/expression.c ../../include/cfg.c ../../include/log.c ../../include/security.c ../../include/pid.c ../../include/snprintf.c ../zabbix_agent/sysinfo.c alerter.c pinger.c housekeeper.c -Wall -L/usr/local/mysql-standard-4.1.15-apple-darwin8.2.0-powerpc/lib -lmysqlclient -lz
../zabbix_agent/sysinfo.c: In function `KERNEL_MAXFILES':
../zabbix_agent/sysinfo.c:1644: warning: passing arg 4 of `sysctl' from incompatible pointer type
../zabbix_agent/sysinfo.c: In function `KERNEL_MAXPROC':
../zabbix_agent/sysinfo.c:1666: warning: passing arg 4 of `sysctl' from incompatible pointer type
../zabbix_agent/sysinfo.c: In function `UPTIME':
../zabbix_agent/sysinfo.c:1702: warning: passing arg 4 of `sysctl' from incompatible pointer type
ld: warning multiple definitions of symbol _asprintf
/var/tmp//ccRxXg5B.o definition of _asprintf in section (__TEXT,__text)
/usr/lib/libSystem.dylib(asprintf-LDBL.So) definition of _asprintf
ld: warning multiple definitions of symbol _vsnprintf
/var/tmp//ccRxXg5B.o definition of _vsnprintf in section (__TEXT,__text)
/usr/lib/libSystem.dylib(vsnprintf-LDBL.So) definition of _vsnprintf
ld: Undefined symbols:
_fprintf$LDBLStub
_sprintf$LDBLStub
_printf$LDBLStub
_vsprintf$LDBLStub
make[1]: *** [all] Error 1
make: *** [all] Error 1
---------------------------------------------------------------------------------------
I don't believe this is really a zabbix problem, but I'm not sure. Does anyone have any suggests? Thanks in advance for your help.
Actually, now that I look at it, it's similar to other posts I've seen... I'll go back and look, but I'm going to post this thread anyway...
I'm new to Zabbix and wanted to try it out. I'm using the last stable release, and I've been about to configure without complaint, but now when I do 'make', I get the following errors:
---------------------------------------------------------------------------------------
sysinfo.c: In function `KERNEL_MAXFILES':
sysinfo.c:1644: warning: passing arg 4 of `sysctl' from incompatible pointer type
sysinfo.c: In function `KERNEL_MAXPROC':
sysinfo.c:1666: warning: passing arg 4 of `sysctl' from incompatible pointer type
sysinfo.c: In function `UPTIME':
sysinfo.c:1702: warning: passing arg 4 of `sysctl' from incompatible pointer type
ld: warning multiple definitions of symbol _asprintf
/var/tmp//cc6P44wK.o definition of _asprintf in section (__TEXT,__text)
/usr/lib/libSystem.dylib(asprintf-LDBL.So) definition of _asprintf
ld: warning multiple definitions of symbol _vsnprintf
/var/tmp//cc6P44wK.o definition of _vsnprintf in section (__TEXT,__text)
/usr/lib/libSystem.dylib(vsnprintf-LDBL.So) definition of _vsnprintf
Making all in src/zabbix_sender
gcc -o ../../bin/zabbix_sender -g -O2 -I../../include ../../include/snprintf.c zabbix_sender.c
ld: warning multiple definitions of symbol _asprintf
/var/tmp//cc3FQTuf.o definition of _asprintf in section (__TEXT,__text)
/usr/lib/libSystem.dylib(asprintf-LDBL.So) definition of _asprintf
Making all in src/zabbix_sucker
gcc -o ../../bin/zabbix_suckerd -g -O2 -I../../include -I/usr/local/mysql-standard-4.1.15-apple-darwin8.2.0-powerpc/include zabbix_sucker.c ../../include/db.c ../../include/functions.c ../../include/expression.c ../../include/cfg.c ../../include/log.c ../../include/security.c ../../include/pid.c ../../include/snprintf.c ../zabbix_agent/sysinfo.c alerter.c pinger.c housekeeper.c -Wall -L/usr/local/mysql-standard-4.1.15-apple-darwin8.2.0-powerpc/lib -lmysqlclient -lz
../zabbix_agent/sysinfo.c: In function `KERNEL_MAXFILES':
../zabbix_agent/sysinfo.c:1644: warning: passing arg 4 of `sysctl' from incompatible pointer type
../zabbix_agent/sysinfo.c: In function `KERNEL_MAXPROC':
../zabbix_agent/sysinfo.c:1666: warning: passing arg 4 of `sysctl' from incompatible pointer type
../zabbix_agent/sysinfo.c: In function `UPTIME':
../zabbix_agent/sysinfo.c:1702: warning: passing arg 4 of `sysctl' from incompatible pointer type
ld: warning multiple definitions of symbol _asprintf
/var/tmp//ccRxXg5B.o definition of _asprintf in section (__TEXT,__text)
/usr/lib/libSystem.dylib(asprintf-LDBL.So) definition of _asprintf
ld: warning multiple definitions of symbol _vsnprintf
/var/tmp//ccRxXg5B.o definition of _vsnprintf in section (__TEXT,__text)
/usr/lib/libSystem.dylib(vsnprintf-LDBL.So) definition of _vsnprintf
ld: Undefined symbols:
_fprintf$LDBLStub
_sprintf$LDBLStub
_printf$LDBLStub
_vsprintf$LDBLStub
make[1]: *** [all] Error 1
make: *** [all] Error 1
---------------------------------------------------------------------------------------
I don't believe this is really a zabbix problem, but I'm not sure. Does anyone have any suggests? Thanks in advance for your help.

Actually, now that I look at it, it's similar to other posts I've seen... I'll go back and look, but I'm going to post this thread anyway...
Comment