Hi...
I'm trying to compile the zabbix-1.1beta6 release of the zabbix_agent on my OS X 10.4.3 system. I have installed the Apples Xcode development tools (Includes gcc).
Edit:
Also tried unsucessfully compiling on a 10.3.x system.
In the zabbix-1.1beta6 directory I run the command:
./configure --enable-agent --enable-static
This results in:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Configuration:
Detected OS: darwin8.3.0
Install path: /usr/local
Compiler: gcc
Compiler flags: -static -g -O2
Linker flags:
Compilation arch: osx
Enable server: no
With database: no
Enable agent: yes
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Then i run:
make
This results in:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Making all in src
Making all in libs
Making all in zbxcommon
make[4]: Nothing to be done for `all-am'.
Making all in zbxlog
make[4]: Nothing to be done for `all-am'.
Making all in zbxcrypto
make[4]: Nothing to be done for `all-am'.
Making all in zbxpid
make[4]: Nothing to be done for `all-am'.
Making all in zbxnet
make[4]: Nothing to be done for `all-am'.
Making all in zbxconf
make[4]: Nothing to be done for `all-am'.
Making all in zbxsysinfo
Making all in osx
make[5]: Nothing to be done for `all-am'.
if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -static -g -O2 -MT common.o -MD -MP -MF ".deps/common.Tpo" -c -o common.o `test -f 'common/common.c' || echo './'`common/common.c; \
then mv -f ".deps/common.Tpo" ".deps/common.Po"; else rm -f ".deps/common.Tpo"; exit 1; fi
common/common.c: In function 'CHECK_DNS':
common/common.c:1800: error: 'PACKETSZ' undeclared (first use in this function)
common/common.c:1800: error: (Each undeclared identifier is reported only once
common/common.c:1800: error: for each function it appears in.)
make[4]: *** [common.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Any ideas?
I'm trying to compile the zabbix-1.1beta6 release of the zabbix_agent on my OS X 10.4.3 system. I have installed the Apples Xcode development tools (Includes gcc).
Edit:
Also tried unsucessfully compiling on a 10.3.x system.
In the zabbix-1.1beta6 directory I run the command:
./configure --enable-agent --enable-static
This results in:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Configuration:
Detected OS: darwin8.3.0
Install path: /usr/local
Compiler: gcc
Compiler flags: -static -g -O2
Linker flags:
Compilation arch: osx
Enable server: no
With database: no
Enable agent: yes
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Then i run:
make
This results in:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Making all in src
Making all in libs
Making all in zbxcommon
make[4]: Nothing to be done for `all-am'.
Making all in zbxlog
make[4]: Nothing to be done for `all-am'.
Making all in zbxcrypto
make[4]: Nothing to be done for `all-am'.
Making all in zbxpid
make[4]: Nothing to be done for `all-am'.
Making all in zbxnet
make[4]: Nothing to be done for `all-am'.
Making all in zbxconf
make[4]: Nothing to be done for `all-am'.
Making all in zbxsysinfo
Making all in osx
make[5]: Nothing to be done for `all-am'.
if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -static -g -O2 -MT common.o -MD -MP -MF ".deps/common.Tpo" -c -o common.o `test -f 'common/common.c' || echo './'`common/common.c; \
then mv -f ".deps/common.Tpo" ".deps/common.Po"; else rm -f ".deps/common.Tpo"; exit 1; fi
common/common.c: In function 'CHECK_DNS':
common/common.c:1800: error: 'PACKETSZ' undeclared (first use in this function)
common/common.c:1800: error: (Each undeclared identifier is reported only once
common/common.c:1800: error: for each function it appears in.)
make[4]: *** [common.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Any ideas?
Comment