Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I get errors with zabbix-3.4.4 #8

Open
hillbun opened this issue Apr 9, 2019 · 0 comments
Open

I get errors with zabbix-3.4.4 #8

hillbun opened this issue Apr 9, 2019 · 0 comments

Comments

@hillbun
Copy link

hillbun commented Apr 9, 2019

make all-recursive
make[1]: Entering directory /usr/local/src/download/zabbix-module-sockets-1.1.0' Making all in src/modules/sockets make[2]: Entering directory /usr/local/src/download/zabbix-module-sockets-1.1.0/src/modules/sockets'
/bin/sh ../../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../.. -I/usr/local/src/download/zabbix-3.4.4/include -g -O2 -MT libzbxsockets_la-tcp.lo -MD -MP -MF .deps/libzbxsockets_la-tcp.Tpo -c -o libzbxsockets_la-tcp.lo test -f 'tcp.c' || echo './'tcp.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../.. -I/usr/local/src/download/zabbix-3.4.4/include -g -O2 -MT libzbxsockets_la-tcp.lo -MD -MP -MF .deps/libzbxsockets_la-tcp.Tpo -c tcp.c -fPIC -DPIC -o .libs/libzbxsockets_la-tcp.o
In file included from libzbxsockets.h:13:0,
from tcp.c:1:
tcp.c: In function 'tcp_stat':
tcp.c:124:63: error: expected ')' before 'path'
SET_MSG_RESULT(result, zbx_dsprintf("Error reading %s: %s", path, zbx_strerror(errno)));
^
/usr/local/src/download/zabbix-3.4.4/include/module.h:141:24: note: in definition of macro 'SET_MSG_RESULT'
(res)->msg = (char *)(val)
^
/usr/local/src/download/zabbix-3.4.4/include/common.h:1044:64: note: in expansion of macro 'ZBX_CONST_STRING'

define zbx_dsprintf(dest, fmt, ...) __zbx_zbx_dsprintf(dest, ZBX_CONST_STRING(fmt), ##VA_ARGS)

                                                            ^

tcp.c:124:26: note: in expansion of macro 'zbx_dsprintf'
SET_MSG_RESULT(result, zbx_dsprintf("Error reading %s: %s", path, zbx_strerror(errno)));
^
make[2]: *** [libzbxsockets_la-tcp.lo] Error 1
make[2]: Leaving directory /usr/local/src/download/zabbix-module-sockets-1.1.0/src/modules/sockets' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory /usr/local/src/download/zabbix-module-sockets-1.1.0'
make: *** [all] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant