Hi,
i try to compile 1.4.2 on RHEL 3 over an IBM POWER5 Server (64 bits).
here is the error i get when compiling :
--------------------------------------------------------------------------
Making install in nodewatcher
make[3]: Entering directory `/u1/zabbix-1.4.2/src/zabbix_server/nodewatcher'
if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -g -O2 -I'/usr/include/mysql' -I/usr/local/include -MT nodewatcher.o -MD -MP -MF ".deps/nodewatcher.Tpo" -c -o nodewatcher.o nodewatcher.c; \
then mv -f ".deps/nodewatcher.Tpo" ".deps/nodewatcher.Po"; else rm -f ".deps/nodewatcher.Tpo"; exit 1; fi
nodewatcher.c:91:1: directives may not be used inside a macro argument
nodewatcher.c:90:83: unterminated argument list invoking macro "zbx_snprintf_alloc"
nodewatcher.c: In function `calculate_checksums':
nodewatcher.c:92: `zbx_snprintf_alloc' undeclared (first use in this function)
nodewatcher.c:92: (Each undeclared identifier is reported only once
nodewatcher.c:92: for each function it appears in.)
nodewatcher.c:92: syntax error before string constant
nodewatcher.c:125:1: directives may not be used inside a macro argument
nodewatcher.c:124:83: unterminated argument list invoking macro "zbx_snprintf_alloc"
nodewatcher.c:126: syntax error before string constant
make[3]: *** [nodewatcher.o] Error 1
make[3]: Leaving directory `/u1/zabbix-1.4.2/src/zabbix_server/nodewatcher'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/u1/zabbix-1.4.2/src/zabbix_server'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/u1/zabbix-1.4.2/src'
make: *** [install-recursive] Error 1
----------------------------------------------------------------------
Any workaround ?
thanks for help
i try to compile 1.4.2 on RHEL 3 over an IBM POWER5 Server (64 bits).
here is the error i get when compiling :
--------------------------------------------------------------------------
Making install in nodewatcher
make[3]: Entering directory `/u1/zabbix-1.4.2/src/zabbix_server/nodewatcher'
if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -g -O2 -I'/usr/include/mysql' -I/usr/local/include -MT nodewatcher.o -MD -MP -MF ".deps/nodewatcher.Tpo" -c -o nodewatcher.o nodewatcher.c; \
then mv -f ".deps/nodewatcher.Tpo" ".deps/nodewatcher.Po"; else rm -f ".deps/nodewatcher.Tpo"; exit 1; fi
nodewatcher.c:91:1: directives may not be used inside a macro argument
nodewatcher.c:90:83: unterminated argument list invoking macro "zbx_snprintf_alloc"
nodewatcher.c: In function `calculate_checksums':
nodewatcher.c:92: `zbx_snprintf_alloc' undeclared (first use in this function)
nodewatcher.c:92: (Each undeclared identifier is reported only once
nodewatcher.c:92: for each function it appears in.)
nodewatcher.c:92: syntax error before string constant
nodewatcher.c:125:1: directives may not be used inside a macro argument
nodewatcher.c:124:83: unterminated argument list invoking macro "zbx_snprintf_alloc"
nodewatcher.c:126: syntax error before string constant
make[3]: *** [nodewatcher.o] Error 1
make[3]: Leaving directory `/u1/zabbix-1.4.2/src/zabbix_server/nodewatcher'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/u1/zabbix-1.4.2/src/zabbix_server'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/u1/zabbix-1.4.2/src'
make: *** [install-recursive] Error 1
----------------------------------------------------------------------
Any workaround ?
thanks for help
Comment