{"action":"created","issue":{"url":"https://api.github.com/repos/cavaliercoder/libzbxpgsql/issues/68","repository_url":"https://api.github.com/repos/cavaliercoder/libzbxpgsql","labels_url":"https://api.github.com/repos/cavaliercoder/libzbxpgsql/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/cavaliercoder/libzbxpgsql/issues/68/comments","events_url":"https://api.github.com/repos/cavaliercoder/libzbxpgsql/issues/68/events","html_url":"https://github.com/cavaliercoder/libzbxpgsql/issues/68","id":192399249,"number":68,"title":"Error compiling sources v1.0","user":{"login":"dapi","id":31139,"avatar_url":"https://avatars1.githubusercontent.com/u/31139?v=3","gravatar_id":"","url":"https://api.github.com/users/dapi","html_url":"https://github.com/dapi","followers_url":"https://api.github.com/users/dapi/followers","following_url":"https://api.github.com/users/dapi/following{/other_user}","gists_url":"https://api.github.com/users/dapi/gists{/gist_id}","starred_url":"https://api.github.com/users/dapi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dapi/subscriptions","organizations_url":"https://api.github.com/users/dapi/orgs","repos_url":"https://api.github.com/users/dapi/repos","events_url":"https://api.github.com/users/dapi/events{/privacy}","received_events_url":"https://api.github.com/users/dapi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2016-11-29T21:06:53Z","updated_at":"2017-05-24T09:18:48Z","closed_at":null,"body":"```\r\nbin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -I/root/zabbix-3.2.1/include -I/usr/include/postgresql -L/usr/lib/x86_64-linux-gnu -lpq -g -O2 -MT libzbxpgsql_la-pg_bgwriter.lo -MD -MP -MF .deps/libzbxpgsql_la-pg_bgwriter.Tpo -c -o libzbxpgsql_la-pg_bgwriter.lo `test -f 'pg_bgwriter.c' || echo './'`pg_bgwriter.c\r\nlibtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I/root/zabbix-3.2.1/include -I/usr/include/postgresql -L/usr/lib/x86_64-linux-gnu -lpq -g -O2 -MT libzbxpgsql_la-pg_bgwriter.lo -MD -MP -MF .deps/libzbxpgsql_la-pg_bgwriter.Tpo -c pg_bgwriter.c  -fPIC -DPIC -o .libs/libzbxpgsql_la-pg_bgwriter.o\r\nIn file included from /root/zabbix-3.2.1/include/module.h:23:0,\r\n                 from libzbxpgsql.h:32,\r\n                 from pg_bgwriter.c:20:\r\npg_bgwriter.c: In function ‘PG_STAT_BGWRITER’:\r\npg_bgwriter.c:49:40: error: expected ‘)’ before ‘pgsql_bgwriter_stat’\r\n     zbx_snprintf(query, sizeof(query), pgsql_bgwriter_stat, field);\r\n                                        ^\r\n/root/zabbix-3.2.1/include/zbxtypes.h:162:33: note: in definition of macro ‘ZBX_CONST_STRING’\r\n #define ZBX_CONST_STRING(str) \"\"str\r\n                                 ^\r\npg_bgwriter.c:49:5: note: in expansion of macro ‘zbx_snprintf’\r\n     zbx_snprintf(query, sizeof(query), pgsql_bgwriter_stat, field);\r\n     ^\r\npg_bgwriter.c: In function ‘PG_BG_TIME_RATIO’:\r\npg_bgwriter.c:167:40: error: expected ‘)’ before ‘pgsql_bg_time_ratio’\r\n     zbx_snprintf(query, sizeof(query), pgsql_bg_time_ratio, field);\r\n                                        ^\r\n/root/zabbix-3.2.1/include/zbxtypes.h:162:33: note: in definition of macro ‘ZBX_CONST_STRING’\r\n #define ZBX_CONST_STRING(str) \"\"str\r\n                                 ^\r\npg_bgwriter.c:167:5: note: in expansion of macro ‘zbx_snprintf’\r\n     zbx_snprintf(query, sizeof(query), pgsql_bg_time_ratio, field);\r\n     ^\r\nmake[2]: *** [libzbxpgsql_la-pg_bgwriter.lo] Error 1\r\nmake[2]: Leaving directory `/root/libzbxpgsql-1.0.0/src'\r\nmake[1]: *** [all-recursive] Error 1\r\nmake[1]: Leaving directory `/root/libzbxpgsql-1.0.0'\r\nmake: *** [all] Error 2\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/cavaliercoder/libzbxpgsql/issues/comments/303667148","html_url":"https://github.com/cavaliercoder/libzbxpgsql/issues/68#issuecomment-303667148","issue_url":"https://api.github.com/repos/cavaliercoder/libzbxpgsql/issues/68","id":303667148,"user":{"login":"Atem18","id":2875254,"avatar_url":"https://avatars2.githubusercontent.com/u/2875254?v=3","gravatar_id":"","url":"https://api.github.com/users/Atem18","html_url":"https://github.com/Atem18","followers_url":"https://api.github.com/users/Atem18/followers","following_url":"https://api.github.com/users/Atem18/following{/other_user}","gists_url":"https://api.github.com/users/Atem18/gists{/gist_id}","starred_url":"https://api.github.com/users/Atem18/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Atem18/subscriptions","organizations_url":"https://api.github.com/users/Atem18/orgs","repos_url":"https://api.github.com/users/Atem18/repos","events_url":"https://api.github.com/users/Atem18/events{/privacy}","received_events_url":"https://api.github.com/users/Atem18/received_events","type":"User","site_admin":false},"created_at":"2017-05-24T09:18:48Z","updated_at":"2017-05-24T09:18:48Z","body":"@cavaliercoder Have you got the chance to make it work or make a temporary workaround ?"}}
{"actor":{"display_login":"Atem18"}}