Hello there,
trying the new zabbix i got compile errors:
/usr/local/.aqadmin/home/zabbix-1.4/src/libs/zbxcommon/misc.c(.text+0x5b): undefined reference to `UINT64_C'
Configuration:
Detected OS: freebsd4.7
Install path: /usr/local
Compilation arch: freebsd
Compiler: gcc
Compiler flags: -g -O2
Linker flags: -static
Libraries: -lkvm -lm
Enable server: no
With database: no
Enable agent: yes
Any idea ? last version i tried is 1.1.4 and it compiled fine
Regards,
Ghislain.
trying the new zabbix i got compile errors:
/usr/local/.aqadmin/home/zabbix-1.4/src/libs/zbxcommon/misc.c(.text+0x5b): undefined reference to `UINT64_C'
PHP Code:
Making all in zabbix_agent
source='zabbix_agent.c' object='zabbix_agent.o' libtool=no DEPDIR=.deps depmode=gcc /usr/local/bin/bash ../../depcomp gcc -DHAVE_CONFIG_H -I. -I. -I../../include -g -O2 -c zabbix_agent.c
source='stats.c' object='stats.o' libtool=no DEPDIR=.deps depmode=gcc /usr/local/bin/bash ../../depcomp gcc -DHAVE_CONFIG_H -I. -I. -I../../include -g -O2 -c stats.c
source='cpustat.c' object='cpustat.o' libtool=no DEPDIR=.deps depmode=gcc /usr/local/bin/bash ../../depcomp gcc -DHAVE_CONFIG_H -I. -I. -I../../include -g -O2 -c cpustat.c
source='diskdevices.c' object='diskdevices.o' libtool=no DEPDIR=.deps depmode=gcc /usr/local/bin/bash ../../depcomp gcc -DHAVE_CONFIG_H -I. -I. -I../../include -g -O2 -c diskdevices.c
source='interfaces.c' object='interfaces.o' libtool=no DEPDIR=.deps depmode=gcc /usr/local/bin/bash ../../depcomp gcc -DHAVE_CONFIG_H -I. -I. -I../../include -g -O2 -c interfaces.c
source='zbxconf.c' object='zbxconf.o' libtool=no DEPDIR=.deps depmode=gcc /usr/local/bin/bash ../../depcomp gcc -DHAVE_CONFIG_H -I. -I. -I../../include -g -O2 -c zbxconf.c
gcc -g -O2 -static -o zabbix_agent zabbix_agent.o stats.o cpustat.o diskdevices.o interfaces.o zbxconf.o ../../src/libs/zbxsysinfo/libzbxagentsysinfo.a ../../src/libs/zbxsysinfo/freebsd/libspecsysinfo.a ../../src/libs/zbxsysinfo/common/libcommonsysinfo.a ../../src/libs/zbxsysinfo/simple/libsimplesysinfo.a ../../src/libs/zbxlog/libzbxlog.a ../../src/libs/zbxsys/libzbxsys.a ../../src/libs/zbxnix/libzbxnix.a ../../src/libs/zbxcomms/libzbxcomms.a ../../src/libs/zbxconf/libzbxconf.a ../../src/libs/zbxcommon/libzbxcommon.a ../../src/libs/zbxcrypto/libzbxcrypto.a -lkvm -lm
../../src/libs/zbxcommon/libzbxcommon.a(misc.o): In function `get_nodeid_by_id':
/usr/local/.aqadmin/home/zabbix-1.4/src/libs/zbxcommon/misc.c(.text+0x5b): undefined reference to `UINT64_C'
Configuration:
Detected OS: freebsd4.7
Install path: /usr/local
Compilation arch: freebsd
Compiler: gcc
Compiler flags: -g -O2
Linker flags: -static
Libraries: -lkvm -lm
Enable server: no
With database: no
Enable agent: yes
Any idea ? last version i tried is 1.1.4 and it compiled fine

Regards,
Ghislain.
Comment